Variance of a fitted regression mean

ID: variance-of-a-fitted-regression-mean

For a full-column-rank design matrix in a normal linear model, a fitted mean at covariate vector is . The covariance matrix of the least-squares estimator immediately gives the displayed variance. Replacing by the independent unbiased residual variance gives its squared standard error and a Student t confidence interval on statistical degrees of freedom. A future response instead contributes an additional error variance when its error is independent of the fitted data.

New to topics? Read the docs here!