Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

3 Solved Problems on the Random Samples - Midterm Exam | STAT 3502, Exams of Statistics

Material Type: Exam; Class: Statistical Inference I; Subject: Statistics; University: California State University-East Bay; Term: Spring 2005;

Typology: Exams

Pre 2010

Uploaded on 08/19/2009

koofers-user-zmb
koofers-user-zmb 🇺🇸

10 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Stat 3502/4612 Spring 2005 Jaimie Kwon Name____________________
Midterm 2005-05-09 8:00-10:00 PM
Closed book, closed note. One two-sided, letter-sized, hand-written formula sheet allowed. A simple calculator is
allowed. Work all problems. Print your answer legibly on separate sheets of paper. Express numbers as
fractions reduced to lowest terms or as decimals correct to three places (or significant digits). Show your work.
To evaluate the success of a 1-year experimental program designed to increase the mathematical
achievement of underprivileged high school seniors, a random sample of participants in the program will be
selected and their math scores will be compared with the previous year’s statewide average of 525 for
underprivileged seniors. The researchers want to determine whether the experimental program has
increased the mean achievement level μ over the previous year’s statewide average. Suppose a random
sample of 100 students is selected yielding the sample mean 542 and s=76.
a) Is there a sufficient evidence to conclude that the mean math achievement level has been increased?
Set up the null and alternative hypotheses, H0 and Ha. Test it at 5% significance level.
b) Compute the P-value for the above hypotheses.
c) What’re the advantages of using P-value in place of reporting the results as in a)?
d) Suppose the true μ is 540. What is the power of the test in a) for this particular alternative?
e) Other things being equal, what would happen to the power you computed above in d) if the true μ is
less than 540 (but larger than 525)? Will it increase or decrease? Explain why.
f) Other things being equal, what would happen to the power you computed above in d) if the sample
size is smaller than 100? Will it increase or decrease? Explain why.
g) Construct 95% confidence interval on μ.
h) You want the 95% confidence interval above to have width less than 30. Other things being equal,
what is the smallest sample size you need?
i) Suppose the study above was a pilot study. Now, in designing the main study, for the test at level
α=.05, what sample size is needed to have a probability of Type II error of at most .025 if the actual
mean is increased to 550?
j) Can you still apply above tests and confidence intervals if sample size is small, say less than 30? What
further condition(s) do you need to check to apply them and how do you check the condition(s)?
k) Suppose, instead of the above, we want to detect the change (either increase or decrease) in the
mean math score compared to the previous year’s score. How does the P-value in b) change?
For a one-sided statistical hypothesis testing (of the form H0:μ≤ μ0 vs. Ha:μ> μ0) in a certain hypothesis
testing, you obtain the P-value of 0.02. Answer the following questions.
a) Write down a 1-sentence definition/interpretation of the P-value in statistical hypothesis testing.
b) Can you reject this hypothesis at 5% significance level? How about 1% significance level?
c) What will be the P-value for the two-sided hypothesis (of the form H0:μ= μ0 vs. Ha:μ≠ μ0)?
(Over, please)
pf3
pf4
pf5

Partial preview of the text

Download 3 Solved Problems on the Random Samples - Midterm Exam | STAT 3502 and more Exams Statistics in PDF only on Docsity!

Midterm 2005-05-09 8:00-10:00 PM

Closed book, closed note. One two-sided, letter-sized, hand-written formula sheet allowed. A simple calculator is allowed. Work all problems. Print your answer legibly on separate sheets of paper. Express numbers as fractions reduced to lowest terms or as decimals correct to three places (or significant digits). Show your work.

1 To evaluate the success of a 1-year experimental program designed to increase the mathematical achievement of underprivileged high school seniors, a random sample of participants in the program will be selected and their math scores will be compared with the previous year’s statewide average of 525 for underprivileged seniors. The researchers want to determine whether the experimental program has increased the mean achievement level μ over the previous year’s statewide average. Suppose a random sample of 100 students is selected yielding the sample mean 542 and s=76.

a) Is there a sufficient evidence to conclude that the mean math achievement level has been increased? Set up the null and alternative hypotheses, H 0 and H a. Test it at 5% significance level. b) Compute the P-value for the above hypotheses. c) What’re the advantages of using P-value in place of reporting the results as in a)? d) Suppose the true μ is 540. What is the power of the test in a) for this particular alternative? e) Other things being equal, what would happen to the power you computed above in d) if the true μ is less than 540 (but larger than 525)? Will it increase or decrease? Explain why. f) Other things being equal, what would happen to the power you computed above in d) if the sample size is smaller than 100? Will it increase or decrease? Explain why. g) Construct 95% confidence interval on μ. h) You want the 95% confidence interval above to have width less than 30. Other things being equal, what is the smallest sample size you need? i) Suppose the study above was a pilot study. Now, in designing the main study, for the test at level α=.05, what sample size is needed to have a probability of Type II error of at most .025 if the actual mean is increased to 550? j) Can you still apply above tests and confidence intervals if sample size is small, say less than 30? What further condition(s) do you need to check to apply them and how do you check the condition(s)? k) Suppose, instead of the above, we want to detect the change (either increase or decrease) in the mean math score compared to the previous year’s score. How does the P-value in b) change?

2 For a one-sided statistical hypothesis testing (of the form H 0 :μ≤ μ 0 vs. Ha :μ> μ 0 ) in a certain hypothesis testing, you obtain the P-value of 0.02. Answer the following questions. a) Write down a 1-sentence definition/interpretation of the P-value in statistical hypothesis testing. b) Can you reject this hypothesis at 5% significance level? How about 1% significance level? c) What will be the P-value for the two-sided hypothesis (of the form H 0 :μ= μ 0 vs. H (^) a :μ≠ μ 0 )?

(Over, please)

3 You want to inspect whether a die is fair, in particular, whether the probability of getting six-dots is larger than 1/6. You toss it 100 times to check it out. a) Let Y be the number of six-dots you get in 100 tosses. If the die was indeed fair, what is the distribution of Y? Specify the name of the distribution and values of parameters. b) Approximate the distribution in a) by a normal distribution, again assuming the die was fair. Specify the mean and standard deviation. c) At the end of the experiment, you have observed 20 six-dots. If the true probability of six-dots were 1/6, what would be the chance that the observed number of six-dots is greater than or equal to 20? Use the approximate distribution you gave in b) to answer this. d) The quantity you computed above is the P-value for the following hypotheses: H 0 : P(observing six- dots) ≤ 1/6 vs. H a : P(observing six-dots) > 1/6. Test the hypothesis at 5% significance level using the computed P-value. e) (20 pt; Bonus question, required for 4612 students) Consider a similar experiment but assume you tossed 1,000 times (instead of 100) and observed 200 six-dots. Compute the P-value for the same hypotheses, following similar steps as above. Can you reject the null hypothesis at 1% significance level?

Use the formula 2 ( )^2

2 α β

n σ^ z + z

= = 76^2/(550-525)^2 * (z0.05 + z 0.025)^

= 76^2/(550-525)^2 * (1.64 +1.96)^2 = 119.

So, we need sample size of at least 120. j) Can you still apply above tests and confidence intervals if sample size is small, say less than 30? What further condition(s) do you need to check to apply them and how do you check the condition(s)? We can apply them if the distribution of the sample is close to normal. Need to use the normal probability plot and check if data points form a straight line. k) Suppose, instead of the above, we want to detect the change (either increase or decrease) in the mean math score compared to the previous year’s score. How does the P-value in b) change? The P-value becomes 2P(z>|computed z|, given H 0 is true) = 2P(z>2.23) = 2* 0.0129=0.

2 For a one-sided statistical hypothesis testing (of the form H 0 :μ≤ μ 0 vs. Ha :μ> μ 0 ) in a certain hypothesis testing, you obtain the P-value of 0.02. Answer the following questions. a) Write down a 1-sentence definition/interpretation of the P-value in statistical hypothesis testing. P-value is the probability that the test statistic shows evidence that is as much or more against the null hypothesis as the observed test statistic. b) Can you reject this hypothesis at 5% significance level? How about 1% significance level? Cannot reject at 5%. Can reject at 1%. (P-value is the smallest significance level at which you can REJECT the null) c) What will be the P-value for the two-sided hypothesis (of the form H 0 :μ= μ 0 vs. H (^) a :μ≠ μ 0 )? In many situations, two-sided P-values are twice the one-sided P-value. The answer is 2*0.02 = 0.04. You can also observe this in problem 1- k) above.

3 You want to inspect whether a die is fair, in particular, whether the probability of getting six-dots is larger than 1/6. You toss it 100 times to check it out. a) Let Y be the number of six-dots you get in 100 tosses. If the die was indeed fair, what is the distribution of Y? Specify the name of the distribution and values of parameters. n=100, p=1/6. Y~bin(100, 1/6) b) Approximate the distribution in a) by a normal distribution, again assuming the die was fair. Specify the mean and standard deviation. The mean is np=100/6 = 16.7 and SD=sqrt(1001/65/6) = 3.73. Y~N(16.7, 3.73 2 ). c) At the end of the experiment, you have observed 20 six-dots. If the true probability of six-dots were 1/6, what would be the chance that the observed number of six-dots is greater than or equal to 20? Use the approximate distribution you gave in b) to answer this. The Z-score is z=(20-16.7)/3.73 = 0.885. Thus P(Z>0.885) = 1-pnorm(0.885) = 0. d) The quantity you computed above is the P-value for the following hypotheses: H 0 : P(observing six- dots) ≤ 1/6 vs. H (^) a : P(observing six-dots) > 1/6. Test the hypothesis at 5% significance level using the computed P-value. Cannot reject the null hypothesis since P-value > .05.

e) (20 pt; Bonus question, required for 4612 students) Consider a similar experiment but assume you tossed 1,000 times (instead of 100) and observed 200 six-dots. Compute the P-value for the same hypotheses, following similar steps as above. Can you reject the null hypothesis at 1% significance level? The distribution is Y~bin(1000, 1/6). The mean is np=1000/6 = 167 and SD=sqrt(10001/65/6) = 11.8. Y~N(167, 11.8 2 ). The Z-score is z=(200-167)/11.8 = 2.80. Thus P(Z>2.80) = 1-pnorm(2.80) = 0. Can reject the null hypothesis since P-value < .01.