(SAS 9.4) Is any functions in SAS which can extract residual from regression equation? -
i need know function can extract residual regression equation.
i need function make 2-stage credit model. want extract residual first stage model(regression) , apply residual second stage model(y value).
it helpful if there proper function in sas 9.4.
thank you
look @ documentation around proc reg.
proc reg data=indata; model y = x1 x2 x3; output out=oudata r=resid; run; quit; this takes data indata data set, regresses y on x1, x2, , x3, , outputs residuals in outdata.
Comments
Post a Comment