Significance test for the slope of a regression line
Test whether a population regression slope is zero and interpret the result within the study’s design.
It opens on
Does the rising typing line give convincing evidence that more practice goes with faster typing in the population?
Why it matters
A rising sample line can occur even when the population slope is zero.
Good to know first
- Sampling distribution of the slope and the confidence interval for beta: b is the sample slope, β is the population slope, SE_b (from the coefficient row) estimates the spread of sample slopes, and df = n − 2
Step by step
Set the claim
Choose slope inference and state hypotheses about the population slope.
For typing, write H₀: β = 0 and Hₐ: β > 0.
A common mix-up
A positive b proves β > 0.
In fact: A sample slope varies from sample to sample.
Measure slope
Calculate the signed t-statistic and degrees of freedom for a slope test.
The typing coefficient row gives n = 25, b = +2.30, SE_b = 0.60 words/min per practice hour.
A common mix-up
Use n − 1 degrees of freedom.
In fact: Fitting both slope and intercept leaves n − 2.
Decide and interpret
Obtain the correct tail probability and give a conclusion within the design’s scope.
Typing has two-sided P ≈ 0.00085; the positive slope matches Hₐ, so p ≈ 0.00085/2 ≈ 0.0004.
A common mix-up
Printed P always equals the requested p-value.
In fact: Printed P includes both tails; the matching directional test uses one.
Try it
For 18 used phones, capacity is plotted against age. State hypotheses for a decline.Answer
H₀: βphone = 0; Hₐ: βphone < 0 (hint: a decline has negative slope).
A new typing sample has n = 25, b = 1.80, and SE_b = 0.60. Find t and df.Answer
t = 3.00; df = 23 (hint: divide first, then subtract two from n).
Keep the typing output but change Hₐ to β ≠ 0. Decide at α = 0.05.Answer
p ≈ 0.00085; reject H₀ (hint: “either direction” uses both tails).
What is the new Hₐ?Answer
Hₐ: β ≠ 0.
What are the phone t and df?Answer
t = −0.84/0.31 ≈ −2.71; df = 16.
Significance test for the slope of a regression line
30 minutes every month. No card.
