The OLS t-statistic is Student’s t.

This is a machine-checked proof that the usual t-test in linear regression follows a t distribution.

tj = β̂j βj s [ ( X X ) 1 ] jj tnp

with s2 the residual mean square on np degrees of freedom.

Applied work uses the result constantly. A complete proof is rare. The nodes below are green only when Lean compiled them.

1 proved · 0 stated · 24 remaining of 25

build 771d45c · mathlib 8f9d9cf · sorry 0 · 2026-08-12