dfresidual
dfresidual, often written df.residual in statistical software, refers to the residual degrees of freedom of a fitted model, most commonly a linear model. It measures the amount of information left for estimating the random error after the model has been fitted.
In a dataset with n observations and a design matrix X of rank p, the residual degrees
Residual degrees of freedom are used to estimate the error variance: sigma_hat^2 equals the residual sum of
Software note: in R, df.residual(object) returns the residual degrees of freedom for a fitted model object such
See also: degrees of freedom, residuals, RSS, model diagnostics.