The hat matrix is an orthogonal projection of rank , so is an orthogonal projection of rank . Because is a standard multivariate normal distribution vector, Cochran's theorem gives
Thus . Substituting this into the preceding formula gives the Distribution of the Akaike information criterion in a normal linear model: