Unbiased prediction-error identity for ordinary least squares
= Unbiased prediction-error identity for ordinary least squares
If $H$ is the rank-$p$ orthogonal projection onto a normal linear model's column space, then
$$
\mathbb E\|(I-H)Y\|^2
=\|(I-H)\mu\|^2+(n-p)\sigma^2.
$$
Adding $2p\sigma^2$ gives $\|(I-H)\mu\|^2+(n+p)\sigma^2$, so Mallows' $C_p$ is unbiased for independent-copy prediction error even when the projection model is misspecified.