Warm-up
Three quick questions from earlier lessons.
Discover
If x is no help in predicting y, what is the population slope?
- 0
- 1
Key idea
Test whether the slope is zero.
(no linear relationship), (or one-sided). Use , df . A small P-value is convincing evidence of a linear relationship in the population. Read , , and P from the output.
Worked example
Output: b = 0.30, t = 6.0, P < 0.001.
t = b/SE_b.
Reject H₀
Very small P.
Convincing evidence of a linear relationship
In context.
Your turn, guided
Your turn: b = 0.8 and t = 4. Find .
0.8/4.
Practice ★
- To test whether x is useful for predicting y (from 51 pairs), what is the null hypothesis?
- H₀: β₁ = 0, no linear relationship in the population
- H₀: b = 0
- H₀: r = 1
- Output shows slope b = 6/10 and t = 9 for H₀: β₁ = 0. Find SE_b.
- Output shows slope b = 3/10 and t = 9 for H₀: β₁ = 0. Find SE_b.
Watch out!
Practice ★★
- An observational study tests H₀: β₁ = 0 for hours of sleep (x) and test score (y). The P-value is 0.006. What can you conclude?
- Convincing evidence of a linear association between sleep and scores in the population sampled
- More sleep causes higher scores
- The correlation must be close to 1
Exit ticket
Three questions to check you have got it.
- Output shows slope b = 6/10 and t = 9 for H₀: β₁ = 0. Find SE_b.
- Output shows slope b = 3/10 and t = 9 for H₀: β₁ = 0. Find SE_b.
- Output shows slope b = 3/10 and t = 6 for H₀: β₁ = 0. Find SE_b.
Summary card
Testing the slope
H₀: β₁ = 0; , df .
Watch out: a significant slope is not proof of causation.