A regression residual is the observed response minus its fitted value. Residual plots diagnose failures of assumptions such as constant variance, linear mean structure, and independent errors.
If observed responses satisfy , their regression residuals necessarily obey the displayed inequalities. Subtracting the corresponding fitted values proves both bounds, without a normal distribution or a fitted-model assumption. On a residual-versus-fitted plot, all points must lie between two parallel lines of slope . This is also a consistency check when are merely the reported observed minimum and maximum, rather than theoretical response limits. A bounded response does not itself prove that a straight conditional mean is inappropriate.
For a finite sample, let , , and . The regression residuals are . Every residual is at least and at most . At an observation attaining , its residual is at most , so . At an observation attaining , its residual is at least , so . These observations prove all four bounds. Merely knowing theoretical response limits, without attainment, would not justify the two inner bounds.
A residual plot displays regression residuals against fitted responses, predictor values or observation order. Curvature can suggest an incorrect regression function; changing spread can suggest unequal error variances; ordered runs can suggest dependence. A plot is a diagnostic, not a proof of independence. Dependence confined to higher moments, as for adjacent products of independent Gaussian variables, may call for lagged squared regression residuals rather than a basic scatter plot. Fitting also induces dependence among regression residuals even under independent original errors.
A systematic curved pattern in regression residuals plotted against fitted values suggests a misspecified conditional mean. Positive residuals at both ends and negative residuals in the middle motivate trying quadratic regression. The diagnostic does not by itself identify the error probability distribution or prove heteroscedasticity.
In an additive mean model, the partial residual for component subtracts every fitted term except that component. It equals the full regression residual plus the fitted component. Plotting it against that component's predictor shows the conditional pattern after accounting for other fitted effects, and supplies the response for a backfitting update.
In a normal linear model, the th regression residual has variance , where is a diagonal entry of the hat matrix. Replacing by the residual standard deviation gives the standardized residual used in the normal Q-Q plot of R's linear-model diagnostic plots.
In a normal linear model with residual degrees of freedom , an internally studentized residual satisfies and , provided its leverage is less than one. Choose an orthonormal basis of the residual space with its first direction proportional to the projection of the th coordinate vector. The Gaussian coordinates in this basis are independent standard normal random variables , and . The beta distribution follows from the independent chi-squared distributions of and . The bounded residual is not exactly distributed according to Student's t-distribution; it approaches the standard normal distribution as .
Articles by others on the same topic
There are currently no matching articles.