Finance Formulas

Quantitative Methods

advanced

t-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.

t=b^1−b1,H0sb^1,df=n−2t = \frac{\hat{b}_1 - b_{1,H_0}}{s_{\hat{b}_1}}, \qquad df = n - 2

Reading the notation

tt
the test statistic: how many standard errors the estimated slope sits away from the hypothesised value
b^1\hat{b}_1
the slope estimated from the sample — what the data say the true slope is
b1,H0b_{1,H_0}
the slope claimed by the null hypothesis. Usually 0 (no relationship) but 1 when testing whether a beta differs from the market's
sb^1s_{\hat{b}_1}
the standard error of the slope: how much the estimate would bounce around from sample to sample
df=n−2df = n-2
degrees of freedom: observations less the two coefficients estimated. Use it to look up the critical value
∣t∣>tcrit|t| > t_{crit}
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

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 sb^1s_{\hat{b}_1}.

The t-statistic simply measures the gap between what you found and what the null claims, in units of that wobble: t=(b^1−b1,H0)/sb^1t = (\hat{b}_1 - b_{1,H_0})/s_{\hat{b}_1}. 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 ∣t∣|t| 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 b^1\hat{b}_1 is normally distributed around the true slope, with spread estimated by sb^1s_{\hat{b}_1}. Because that spread is itself estimated from the data, the standardised gap follows a t-distribution with n−2n - 2 degrees of freedom:

t=b^1−b1sb^1∼tn−2t = \frac{\hat{b}_1 - b_1}{s_{\hat{b}_1}} \sim t_{n-2}

Under the null b1=b1,H0b_1 = b_{1,H_0}, so we can compute:

t=b^1−b1,H0sb^1t = \frac{\hat{b}_1 - b_{1,H_0}}{s_{\hat{b}_1}}

and reject H0H_0 at the 5% level (two-tailed) when ∣t∣|t| exceeds the critical value t0.025, n−2t_{0.025,\,n-2}. In simple regression this test is equivalent to the test of the correlation: t=rn−21−r2t = \frac{r\sqrt{n-2}}{\sqrt{1-r^2}} when b1,H0=0b_{1,H_0} = 0.

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

“test whether the slope coefficient is significantly different from zero”“standard error of the slope coefficient”“at the 5% significance level, two-tailed”“is the fund's beta different from 1”

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 ∣t∣>2|t| > 2 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

t=b^1−b1,H0sb^1t = \frac{\hat{b}_1 - b_{1,H_0}}{s_{\hat{b}_1}}

The distance between the estimated slope and the null, measured in standard errors; compare its size with the critical value to decide.

Drill this face →

Slope implied by a t-statistic

b^1=b1,H0+t⋅sb^1\hat{b}_1 = b_{1,H_0} + t \cdot s_{\hat{b}_1}

Run the test backwards: a reported t and standard error pin down the estimated slope, useful for reading regression printouts.

Drill this face →

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. 1.0.3 [−] 0 [=]estimated slope minus the hypothesised slope (0 or 1)
  2. 2.[÷] 0.25 [=]÷ standard error of the slope: this is t

→ 1.2