Quantitative Methods
advancedt-Test of a Regression Slope
Builds onSimple Regression: Slope, Intercept and Prediction · Regression Fit: R², Standard Error of Estimate and F-statistic — if this page feels steep, start there.
- the test statistic: how many standard errors the estimated slope sits away from the hypothesised value
- the slope estimated from the sample — what the data say the true slope is
- the slope claimed by the null hypothesis. Usually 0 (no relationship) but 1 when testing whether a beta differs from the market's
- the standard error of the slope: how much the estimate would bounce around from sample to sample
- degrees of freedom: observations less the two coefficients estimated. Use it to look up the critical value
- the decision rule: if the statistic is bigger in size than the critical value, the estimate is too far from the null to be luck, so reject it
Reading the notation
Why it must be true
An estimated slope is a number from one sample. Draw another sample and you would get a slightly different slope. So "is the slope really different from zero?" needs a yardstick for how much slopes wobble — that yardstick is the standard error .
The t-statistic simply measures the gap between what you found and what the null claims, in units of that wobble: . A gap of 0.2 sounds small, but if the standard error is 0.05 it is four standard errors — extremely unlikely to be chance. Compare with the critical value (about 2 for a 5% two-tailed test with plenty of data) and you have your decision.
The derivation
Under the regression assumptions, the estimator is normally distributed around the true slope, with spread estimated by . Because that spread is itself estimated from the data, the standardised gap follows a t-distribution with degrees of freedom:
Under the null , so we can compute:
and reject at the 5% level (two-tailed) when exceeds the critical value . In simple regression this test is equivalent to the test of the correlation: when .
When to reach for it
You must decide whether an estimated regression slope (or intercept) differs from a hypothesised value, given its standard error and the sample size.
Listen for
Back-of-the-envelope
Estimate it in your head first — then the calculator only confirms.
- ≈
Rule of thumb: with more than about 30 observations the 5% two-tailed critical value is roughly 2, so means 'significant' at a glance.
- ≈
t ÷ slope = 1 ÷ standard error: if the estimate is more than twice its standard error away from the null, you can reject without a table.
- ≈
When testing against zero, the sign of t is the sign of the slope — a quick eliminator of wrong-signed answer choices.
Traps in applying it
- ✗Forgetting to subtract the hypothesised slope when it is not zero (e.g. testing beta = 1).
- ✗Dividing the standard error by the slope (inverted) instead of the slope's distance from the null by the standard error.
- ✗Using $n$ degrees of freedom when looking up the critical value — it is $n - 2$ in simple regression.
- ✗Reading 'statistically significant' as 'economically large': a tiny slope can be significant in a huge sample.
Limits & criticisms
The t-test leans on the regression assumptions — linearity, constant error variance, independent errors and approximately normal residuals. Heteroskedasticity or autocorrelation (common in financial returns) make the reported standard error too small and the t-statistic too generous. And testing many slopes until one passes at 5% is a recipe for false discoveries: significance is a statement about one pre-specified test, not a licence to data-mine.
Where it came from
William Sealy Gosset, a brewer-statistician at Guinness in Dublin, derived the t-distribution in 1908 to judge small batches of barley and beer, publishing under the pseudonym "Student" because Guinness barred employees from publishing under their own names. Ronald Fisher later showed how it applies to regression coefficients.
Today every regression printout includes a t-statistic next to each coefficient. Analysts use it to decide whether a fund's alpha is distinguishable from zero, whether a beta differs from one, and whether a factor deserves a place in a model.
One identity, 2 questions
The exam can hide any variable. Each face below is the same equation solved for a different unknown — drill them separately.
Test statistic for the slope
The distance between the estimated slope and the null, measured in standard errors; compare its size with the critical value to decide.
Slope implied by a t-statistic
Run the test backwards: a reported t and standard error pin down the estimated slope, useful for reading regression printouts.
On the BA II Plus
Worked example: In a regression of a stock's returns on the market's using 12 observations, the slope estimate is 0.3 and its standard error is 0.25. Testing whether the slope differs from zero, the t-statistic is closest to:
- 1.0.3 [−] 0 [=]estimated slope minus the hypothesised slope (0 or 1)
- 2.[÷] 0.25 [=]÷ standard error of the slope: this is t
→ 1.2