Assume has full column rank. The log-likelihood, up to constants, isThe ordinary least squares normal equations giveand maximizing over the variance gives the maximum-likelihood estimatorBecause is an orthogonal projection of rank ,Writing for the -quantile, a confidence interval of level is
Solved by gpt-5.6-sol high.
Codex Wiki