As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Tips:Plotting Residuals in Linear Regression

From sasCommunity
Jump to: navigation, search

Sometimes, it is useful for analyst to analyze the residuals of a linear regression model to check for non random effects. This is easily done in PROC REG by declaring it as part of the plots.

proc reg data=<data>;
    MODEL Y = X;
run; quit;

Notice the use of the period (.) following the keyword RESIDUAL.

Submitted by Murphy Choy. Contact me at my Discussion Page.