Warm-up
Three quick questions from earlier lessons.
- A company claims that 80% of customers are satisfied. A researcher suspects fewer are. Which is the null hypothesis?
- H₀: p = 0.80
- H₀: p < 0.80
- H₀: p̂ = 0.80
- The mean wait at a clinic used to be 81 minutes. A manager wants to know whether it has changed, in either direction. Which alternative?
- Hₐ: μ ≠ 81
- Hₐ: μ > 81
- Hₐ: x̄ ≠ 81
- Why are hypotheses written about parameters such as p, not statistics such as p̂ (sample of 445)?
- Because we know p̂ exactly; the question is about the unknown population value
- Because statistics are harder to compute
- There is no difference between p and p̂
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?
Worked example
H₀: , , .
Your turn, guided
Your turn: SE = 0.04, . Find .
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
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.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
- Test H₀: p = 0.5 with a random sample of 2,500 in which p̂ = 60/100. Find the z statistic.
End of the lesson
Next lesson: Conclusions, errors and power Back to the chapter