Warm-up
Three quick questions from earlier lessons.
- Computer output gives slope b = 8/10 with standard error SE_b = 3/100. Find the t statistic for H₀: β₁ = 0.
- A regression uses 20 data pairs. How many degrees of freedom does the t test for the slope have?
- In regression output, the row for x reads: Coef 0.97, SE Coef 0.08, and a t value. Which number is the slope's standard error?
- The SE Coef in the x row
- The Coef in the x row
- The value s (the SD of the residuals)
Discover
If x is no help in predicting y, what is the population slope?
- 0
- 1
Key idea
Test whether the slope is zero.
Worked example
Output: b = 0.30, t = 6.0, P < 0.001.
Your turn, guided
Your turn: b = 0.8 and t = 4. Find .
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.
One more step is optional: a challenge. Try it, or finish the lesson now.
Challenge ★★★
- The t statistic for H₀: β₁ = 0 leaves an area of 0.008 in one tail. Find the two-sided P-value.