A slope estimate is −6 with SE 2. For a zero-slope null, t equals:
Inference for a regression slope
Move from a fitted sample trend to a population slope and its uncertainty.
Key ideas
- Population slope
The change in the population mean response associated with a one-unit increase in the predictor in the specified linear model.
- Slope test
The coefficient row tests a population slope, usually against zero. A two-sided test asks about any nonzero linear association.
- Slope interval
Estimate ± t multiplier × slope standard error gives plausible population slopes, in response units per predictor unit.
- Regression conditions
Check linear mean structure, independent errors, approximately normal errors for small-sample inference, and constant error variance. Residual plots help assess shape and spread; study design addresses independence.
Formulas
Which procedure?
Machine age and repair time
A random sample of 22 machines is used to model repair minutes by age in years. Give the slope test and an approximate 95% interval using t* = 2.086. This is an original example with composed R output.
summary(lm(minutes ~ age, data = machines))$coefficients
Estimate Std. Error t value Pr(>|t|)
(Intercept) 18.00 4.00 4.5 0.000219
age 1.20 0.40 3.0 0.007076
# Residual df: 20Define beta_1 as the population mean repair-time change per additional year of machine age.
For H0: beta_1 = 0 versus a nonzero slope, t = 1.20/0.40 = 3.
The interval is 1.20 ± 2.086(0.40), approximately (0.37, 2.03).
The test is two-sided, so the conclusion is two-sided: p = 0.007076 provides very strong evidence that the population slope is not 0 (a linear association between age and repair time). The sample slope is positive. Age was observed, not assigned.
We are 95% confident that the population mean repair time increases by between about 0.37 and 2.03 minutes per additional year of age under this model. This is an association, not a causal effect.
Three-question check
A 95% slope CI is (−1.8,−0.4). It estimates:
Residuals show a clear U-shaped pattern against x. What is the concern?