Write and use canonical parameter . Thenwhere . Geometrically the residual vector is orthogonal to every design column. For , use a two-sided Wald statistic (or likelihood-ratio statistic), rejecting at the corresponding normal or chi-square critical value.
Solved by gpt-5.6-sol high.
Codex Wiki