A block of memory contains 40 random words of data. Assume that the values are in two’s
complement representations and are stored in the Read/Write memory area. You need to provide the
40 random words and to include them in an initialization file: assign.ini. Write a program using the
ARM assembly programming language to do the following:
a) You are required to reverse the word order in a block of 40 random words (Hint: the last word
stored in the memory becomes the first and vice versa).
b) Next, find the minimum value in the 40 random words of data.
In: Statistics and Probability
Assume a standard customer, Johnny Rose, at a shop will spend 20 mins in the shop. The shop has 4 customers on average and service time is random with known distribution. The shop has 4 customers on average and service time is random with known distribution. How many customers does the shop serve during a typical open hour?
Now let's say the shop would like to decrease the average number of customers at any point, but assume it cannot control/influence arrival patterns of customers or service rate. How can this be achieved? Support with calculations and clear principles.
In: Statistics and Probability
A statistics professor claims that the average score on the
Final Exam was 83. A group of students believes that the average
grade was lower than that. They wish to test the professor's claim
at the α=0.05α=0.05 level of significance. (Round
your results to three decimal places)
Which would be correct hypotheses for this test?
A random sample of statistics students had the Final Exam scores
shown below. Assuming that the test scores are normally
distributed, use this sample to find the test statistic:
Final Exam scores
97 | 82 | 102 | 77 |
54 | 94 | 80 | 92 |
98 | 83 | 67 | 85 |
87 | 88 | 53 | 55 |
test statistic:
Give the P-value:
Which is the correct result:
Which would be the appropriate conclusion?
In: Statistics and Probability
Q13. Twelve different video games showing substance use were observed and the duration of times of game play (in seconds) are listed below. The design of the study justifies the assumption that the sample can be treated as a simple random sample. Use the sample data to construct an 80%
confidence interval estimate of
sigma σ,
the standard deviation of the duration times of game play. Assume that this sample was obtained from a population with a normal distribution.
4015 |
3995 |
4344 | 4981 |
4516 |
3971 | |
3939 |
4236 |
4895 |
4146 |
3890 |
4971 |
The confidence interval estimate is nothing __?_sec less than
sec.
(Round to one decimal place as needed.)
In: Statistics and Probability
1. A probability experiment is conducted. Which of the following cannot be considered a probability of an outcome? 1) 0.23 2) 1.00 3) - 0.34 4) 0.05
b- In a scientific study there are eight guinea pigs, five of which are pregnant. If three are selected at random without replacement, find the probability that all three are pregnant. P(all three are pregnant) =
In: Statistics and Probability
1- In a large shopping mall, a marketing agency conducted a survey on credit cards. 100 people
were surveyed. The results are shown in the table.
Employment status |
Owns a credit card |
Does not own a credit card |
Total |
Employed |
18 |
26 |
44 |
Unemployed |
25 |
31 |
56 |
Total |
43 |
57 |
100 |
If a person is selected at random, find the following.
a) The probability a person owns a credit card and the person is employed.
b) The probability a person is unemployed or owns a credit card.
c) The odds in favor of a person being unemployed.
d) The odds against a person owning a credit card.
e) The probability a person is unemployed given they own a credit card.
In: Statistics and Probability
With a standard deck of 52 playing cards, are your chances of drawing an ace and then a king better with or without "replacement"? Illustrate with computations.
In: Statistics and Probability
Think of an instance when the health administrator might use a hypothesis for quantitative analysis. State the hypothesis, null hypothesis, variables, and how the analysis would be done.
In: Statistics and Probability
Allen's hummingbird (Selasphorus sasin) has been studied by zoologist Bill Alther.† Suppose a small group of 10 Allen's hummingbirds has been under study in Arizona. The average weight for these birds is x = 3.15 grams. Based on previous studies, we can assume that the weights of Allen's hummingbirds have a normal distribution, with σ = 0.38 gram.
(a) Find an 80% confidence interval for the average weights of Allen's hummingbirds in the study region. What is the margin of error? (Round your answers to two decimal places.)
lower limit | |
upper limit | |
margin of error |
(b) What conditions are necessary for your calculations? (Select
all that apply.)
normal distribution of weightsn is largeσ is unknownσ is knownuniform distribution of weights
(c) Interpret your results in the context of this problem.
The probability that this interval contains the true average weight of Allen's hummingbirds is 0.20.There is an 80% chance that the interval is one of the intervals containing the true average weight of Allen's hummingbirds in this region. There is a 20% chance that the interval is one of the intervals containing the true average weight of Allen's hummingbirds in this region.The probability to the true average weight of Allen's hummingbirds is equal to the sample mean.The probability that this interval contains the true average weight of Allen's hummingbirds is 0.80.
(d) Find the sample size necessary for an 80% confidence level with
a maximal margin of error E = 0.13 for the mean weights of
the hummingbirds. (Round up to the nearest whole number.)
hummingbirds
In: Statistics and Probability
The Salk Vaccine Trials of 1954 included a randomized control double blind study in which elementary school children of consenting parents were assigned at random to injection with the Salk Vaccine or a placebo. Both treatment and control group were set at 200,000 because the target disease , infantile paralysis (POLIO) was uncommon, but in many cases deadly. The number in the control group ended up to be 199,858 and the number in the treatment group ended up to be 199,944. Dropouts for various reasons in field trials are common for various reasons. At the end of the study there were 142 polio cases in the control group and 56 polio cases in the treatment group. The actual study is more interesting than this because there were degrees of severity of polio cases ranging from mild cold symptons to death (sounds like a virus going around now but less contagious).
a) This study is:
a) Retrospective experiment
b) Retrospective observational study
c) Retrospective observational study
d) Prospective experiment
b) Test the hypothesis that the proportion of polio cases is less in the treatment group than in the control group and state your conclusion
c) Use a test to determine whether there is any relationship between the cases of polio and the treatment (vaccine or control). State your hypothesis, test statistic, p-value , and conclusion.
d) How are the hypotheses tested in b) and c) related?
In: Statistics and Probability
In: Statistics and Probability
Four cards are dealt from a deck of 52 cards.
(a) What is the probability that the ace of spades is one of the 4 cards?
(b) Suppose one of the 4 cards is chosen at random and found not to be the ace of spades. What is the probability that none of the 4 cards is the ace of spades?
(c) Suppose the experiment in part (b) is repeated a total of 10 times (replacing the card looked at each time), and the ace of spades is not seen. What is the probability that the ace of spades actually is one of the 4 cards?
In: Statistics and Probability
The waiting period from the time a book is ordered until it is received is a random variable with the mean value 7 days and the standard deviation 2 days. If Helen wants to be 95% sure that she receives a book by the certain date, how many days in advance should she order the book. Hint: Use Chebyshev’s inequality.
In: Statistics and Probability
A psychology instructor wants to find out a suitable predictor of the Final examination marks of his students. He thinks that the Assignment marks or the Mid-term test marks can be used for this purpose. However he is not sure which of those is more suitable. The following table shows the Assignment marks (out of 20), Mid-term test marks (out of 20) and the Final examination marks (out of 40) of 5 randomly selected students of his psychology class last year. The data in a given row are related to the same student.
student number | marks | mid term test marks | final exam marks |
1 | 14 | 11 | 23 |
2 | 17 | 15 | 40 |
3 | 20 | 20 | 40 |
4 | 10 | 11 | 29 |
5 | 16 | 13 | 35 |
Assuming that there is a linear relationship between the Assignment marks and the Final examination marks, calculate the Pearson’s correlation coefficient. Round your answer to 3 decimal places
Assuming that there is a linear relationship between the Mid-term test marks and the Final examination marks,
i. Derive the least squares prediction line to predict the Final examination marks based on the Mid-term test marks. (9 points)
ii. Calculate the coefficient of determination for the least squares prediction line. (3 points)
iii. Interpret the value of the coefficient of determination in relation to this situation. (2 points)
Out of the two variables ‘Assignment marks’ and ‘Mid-term test marks’, which variable is more suitable to use as the independent variable in a least squares prediction line to predict the Final examination marks? Explain the reason for your answer. (
In: Statistics and Probability
A random sample of 49 measurements from one population had a sample mean of 10, with sample standard deviation 3. An independent random sample of 64 measurements from a second population had a sample mean of 12, with sample standard deviation 4. Test the claim that the population means are different. Use level of significance 0.01.
(a) What distribution does the sample test statistic follow? Explain.
(b) State the hypotheses.
(c) Compute x1 2 x2 and the corresponding sample test statistic.
(d) Estimate the P-value of the sample test statistic.
(e) Conclude the test.
(f) Interpret the results.
A random sample of 49 measurements from one population had a sample mean of 10, with sample standard deviation 3. An independent random sample of 64 measurements from a second population had a sample mean of 12, with sample standard deviation 4. Test the claim that the population means are different. Use level of significance 0.01.
(a) What distribution does the sample test statistic follow? Explain.
(b) State the hypotheses.
(c) Compute x1 2 x2 and the corresponding sample test statistic.
(d) Estimate the P-value of the sample test statistic.
(e) Conclude the test.
(f) Interpret the results.
In: Statistics and Probability