Inference for regression coefficients
Each coefficient has a standard error, a t-test of β = 0 and a confidence interval on n − p degrees of freedom.
- estimated coefficient
- standard error,
- number of coefficients including the intercept
- t critical value with n − p df
- residual standard error, √(RSS/(n − 2))
When to use
- Deciding whether the data give evidence of a (linear, adjusted) association between a predictor and y, and how large it plausibly is.
Assumptions
Independent errors with constant variance around a correct linear mean; normal errors (less important for large n). Check residual diagnostics before trusting p-values.
How to interpret
- A small p-value: the data are hard to reconcile with a zero coefficient given the other predictors in the model.
- The CI is the range of coefficient values compatible with the data at the chosen level; report it alongside the p-value.
- More spread in x (larger ) and more data give a smaller SE.
Common mistakes
- Saying a large p-value proves "no effect"; it means the data cannot rule zero out.
- Testing the intercept when it has no meaning.
- Using normal critical values instead of t with n − p df in small samples.
- Running many coefficient tests and reporting only the significant ones.
Example
Spend–sales data (n = 6): , , .
- , on 4 df, p = 0.0039.
- 95% CI: sales units per thousand SAR.