


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Let the null hypothesis be that the patient's blood pressure is µ = 120, and the alternative hypothesis H1 : µ > 120 with.
Typology: Slides
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Thu 4/18/
Thu 4/18/
(a) you get 7 heads in 8 flips Solution: Assuming the null is true, the p−value in this case is
8
8
(b) you get 6 heads in 8 flips
Solution: Assuming the null is true, the p − value in this case is
8
7 8
8
(^12 )^8 = 0. 14453125 > 0 .05. Thus, not sufficient evidence to reject the null.
(a) Explain why, if you flip the coin three times, then no matter how the three flips turn out, you will NOT have enough evidence to reject the null hypothesis “p = 12 ” in favor of the alternative hypothesis “p > 12 at significance level α = 0.05. Hint: calclute the p − values if you have 3, 2 , 1 , 0 heads and compare with α.
Thu 4/18/
Solution: If H 0 were true (i.e. p =
), for H 0 to be true and Ha to be false, there is nothing more extreme than flipping a coin n times and getting n heads. So if one flips a coin n times and get n heads, the p-value for your data is:
P (X ≥ n) = P (X = n) =
n n
)n( 1 −
)n−n = 1 ·
2 n^
2 n^
We would like to know the smallest positive integer n for which
2 n^ < 0 .05. If n = 4,
1 2 n^
but if n = 5, 1 2 n^
So 5 is the minimum number of flips one needs to reject “p =
”” in favor of “p >
at a significance level of α = 0.05.