Memra

Standard error of the slope and the t-test

◈ 7 cards

SE(β̂₁) = s/√SS_xx; t = β̂₁/SE(β̂₁) on n − 2 df tests H₀: β₁ = 0 — no linear relationship in the population — by the critical value or a bracketed p.

The slope has a standard error

Eight different clients would have given a slightly different line. is a statistic with a sampling distribution, and under the model of L13.1 it is normal around with

Two things make the slope precise: a small (the points hug the line) and a large (the values are spread out — a slope measured across a wide income range is pinned down better than one measured across a narrow one). Because replaced , the reference distribution is on df.

The question the test asks

says the population line is flat: income carries no linear information about score. unless the question names a direction. The statistic is Module 10’s shape with the null value zero:

Worked example — is income linearly related to credit score?

Northfield Credit, : , , . Test at .

Step 1. , , where is the change in mean credit score per $1,000 of income among all Northfield clients.

Step 2.

Step 3 — critical value. Two-sided at 1 %: . Step 3 — p-value. is beyond the last column of row 6 (3.707 at 0.005), so the one-sided tail is below 0.005 and the two-sided . The table cannot say more; R will (L13.6: ).

Step 4. , equivalently : reject at the 1 % level. There is strong evidence, at the 1 % level, of a linear relationship between income and credit score among Northfield’s clients; each additional $1,000 of income is associated with about 2.07 more points.

What a significant slope does and does not say

It says the slope is distinguishable from zero — a flat line would very rarely produce from eight points with this scatter. It does not say the relationship is large (that is the slope’s size, in units), tight (that is ), or causal (these are observational clients; Module 2’s confounders — age, years of credit history — sit behind both variables). Nor does it license predictions outside : the line was tested where it was fitted.

The intercept row

R prints a for too (). It tests — whether the line passes through the origin — which is rarely a question anyone asks; the paper wants the slope row.

√(SSE/6)÷ √SS_xxβ̂₁ ÷ SErow 614.42 > 3.707SSE557.8s9.642SE(β̂₁)0.1432t14.42, df 6t₀.₀₀₅;₆3.707reject H₀at 1 %SS_xx =4,531.875.Two-sided p <0.01 from thetable; R prints6.96e-06.
From SSE to the decision. Every box is a number the paper can ask for; the last two are the marks for the table and the conclusion.
NORMAL ~/memra/learn/afm-113/standard-error-of-the-slope-and-the-t-test utf-8 LF