Programming the statistical procedures from SAS

Standardized residuals

Reply
Contributor
Posts: 35

Standardized residuals

I am comparing the effects of four treatments, x1,x2,x3,x4 on an outcome, y. I am using proc GLM to run this analysis. I need to calculate the standardized residuals for the model, how can I do that?

 

Thank You

Super User
Posts: 23,662

Re: Standardized residuals

Posted in reply to sasnewbie12

What's your definition of standardized residual?
SAS calculates a studentized residual as residual/ stderr, which appears the same by some definitions:

http://www.r-tutor.com/elementary-statistics/simple-linear-regression/standardized-residual

 

http://documentation.sas.com/?docsetId=statug&docsetTarget=statug_glm_syntax17.htm&docsetVersion=14....

 

You can get that using the OUTPUT statement, STUDENT option. 

 


sasnewbie12 wrote:

I am comparing the effects of four treatments, x1,x2,x3,x4 on an outcome, y. I am using proc GLM to run this analysis. I need to calculate the standardized residuals for the model, how can I do that?

 

Thank You


 

 

 

 

Ask a Question
Discussion stats
  • 1 reply
  • 170 views
  • 0 likes
  • 2 in conversation