Warm-up
Three quick questions from earlier lessons.
Discover
A coin lands heads 60 times in 100 tosses. If it were fair, would have SD 0.05. How many SDs above 0.5 is 0.6?
- 2
- 0.1
Key idea
How surprising is the data if H₀ is true?
One-proportion z test: (the SE uses the null value ). The P-value is the probability, assuming H₀ is true, of a result at least as extreme as the one observed, in the direction(s) of Hₐ.
Worked example
H₀: , , .
√(0.25 × 0.75/300).
(0.30 − 0.25)/0.025.
P-value
Upper tail for Hₐ: p > 0.25.
Your turn, guided
Your turn: SE = 0.04, . Find .
0.06/0.04.
Practice ★
- Test H₀: p = 0.5 with a random sample of 100 in which p̂ = 52/100. Find the z statistic.
- Test H₀: p = 0.5 with a random sample of 100 in which p̂ = 58/100. Find the z statistic.
- Test H₀: p = 0.2 with n = 400 and p̂ = 28/100. Find the z statistic.
Watch out!
Practice ★★
- A test gives a P-value of 0.05. What does it mean?
- If H₀ were true, a result at least as extreme as ours would happen with probability 0.05
- There is a 0.05 probability that H₀ is true
- The result is due to chance with probability 0.05
- Boss problem. A coin is tossed 100 times and lands heads 52 times. Test H₀: p = 0.5 against Hₐ: p > 0.5.
Exit ticket
Three questions to check you have got it.
- Test H₀: p = 0.5 with a random sample of 100 in which p̂ = 52/100. Find the z statistic.
- Test H₀: p = 0.5 with a random sample of 100 in which p̂ = 58/100. Find the z statistic.
- Test H₀: p = 0.5 with a random sample of 100 in which p̂ = 56/100. Find the z statistic.
Summary card
z test for p
; P-value assumes H₀.
Watch out: use in the SE.
End of the lesson
Next lesson: Conclusions, errors and power Back to the chapter