Friday, October 19, 2007

How to export the residuals in SAS

proc reg data=hartnagl;
model ftheft = fertil labor postsec mtheft/dw;
output out=hartreg p=p r=r; /* We import this to hartreg with p is prediction
r is the OLS residual*/
run;
quit;

No comments: