<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Standardized residuals in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/439147#M23151</link>
    <description>&lt;P&gt;What's your definition of standardized residual?&lt;BR /&gt;SAS calculates a studentized residual as residual/ stderr, which appears the same by some definitions:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.r-tutor.com/elementary-statistics/simple-linear-regression/standardized-residual" target="_blank"&gt;http://www.r-tutor.com/elementary-statistics/simple-linear-regression/standardized-residual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glm_syntax17.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glm_syntax17.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get that using the OUTPUT statement, STUDENT option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/169765"&gt;@sasnewbie12&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am comparing the effects of four treatments, x1,x2,x3,x4 on an outcome, y. I am using proc&amp;nbsp;GLM to run this analysis. I need to calculate the standardized residuals for the model, how can I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2018 01:28:59 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-22T01:28:59Z</dc:date>
    <item>
      <title>Standardized residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/439132#M23150</link>
      <description>&lt;P&gt;I am comparing the effects of four treatments, x1,x2,x3,x4 on an outcome, y. I am using proc&amp;nbsp;GLM to run this analysis. I need to calculate the standardized residuals for the model, how can I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 00:43:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/439132#M23150</guid>
      <dc:creator>sasnewbie12</dc:creator>
      <dc:date>2018-02-22T00:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Standardized residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/439147#M23151</link>
      <description>&lt;P&gt;What's your definition of standardized residual?&lt;BR /&gt;SAS calculates a studentized residual as residual/ stderr, which appears the same by some definitions:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.r-tutor.com/elementary-statistics/simple-linear-regression/standardized-residual" target="_blank"&gt;http://www.r-tutor.com/elementary-statistics/simple-linear-regression/standardized-residual&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glm_syntax17.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_glm_syntax17.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can get that using the OUTPUT statement, STUDENT option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/169765"&gt;@sasnewbie12&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I am comparing the effects of four treatments, x1,x2,x3,x4 on an outcome, y. I am using proc&amp;nbsp;GLM to run this analysis. I need to calculate the standardized residuals for the model, how can I do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 01:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/439147#M23151</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-22T01:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Standardized residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/627943#M30192</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the OUTPUT statement and STUDENT option, but I'm not sure how to print the standardized residuals. Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg data=work.'chp 14 # 50'n;&lt;/P&gt;&lt;P&gt;model y=x&lt;/P&gt;&lt;P&gt;output residual=yresid&lt;/P&gt;&lt;P&gt;predicted=yhat&lt;/P&gt;&lt;P&gt;student=stdres;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;-Travis&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:39:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/627943#M30192</guid>
      <dc:creator>travis945</dc:creator>
      <dc:date>2020-02-27T15:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Standardized residuals</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/627948#M30194</link>
      <description>&lt;P&gt;You could use the R option in the MODEL statement. Or:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you should probably give the output data set a name&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;output OUT=RESIDUALS&amp;nbsp;residual=yresid&amp;nbsp;predicted=yhat&amp;nbsp;student=stdres;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then you could use PROC PRINT or VIEWTABLE or many other procedures to see the residuals.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A side question ... why would you want to PRINT residuals or standardized residuals? I see no benefit there ... rather your ought to be PLOTTING residuals, and there are many ways to do that.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2020 15:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Standardized-residuals/m-p/627948#M30194</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-27T15:57:13Z</dc:date>
    </item>
  </channel>
</rss>

