Quant Memo
Statistics/●●●●●

Why divide by n − p in regression residual variance?

In a linear regression with pp fitted coefficients (intercept included), the residual variance is estimated as σ^2=1npie^i2\hat\sigma^2 = \frac{1}{n-p}\sum_i \hat{e}_i^2, where e^i\hat e_i are the residuals.

Why the divisor npn - p, and what does it become for simple linear regression? How does this relate to the sample-variance n1n - 1?

Your answer

This one is open-ended. Work it through, then check your reasoning against the full solution.

More Statistics questions