<?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: How do I show a table of studentized residual and cooks distance values? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684715#M24233</link>
    <description>&lt;P&gt;How do I do the same procedure in logistic regression?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 17:31:12 GMT</pubDate>
    <dc:creator>mintbit</dc:creator>
    <dc:date>2020-09-17T17:31:12Z</dc:date>
    <item>
      <title>How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512035#M2287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New SAS user here. In my linear regression class we are learning about outlier/high leverage point detection using studentized residuals and cook's distances. I know how to show these values on a plot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg data= data plots (only label) = RstudentByLeverage;&lt;/P&gt;&lt;P&gt;model y=x&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc reg data= data plots (only label) = CooksD;&lt;/P&gt;&lt;P&gt;model y=x&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is simply how do I show these values in a table rather than on a graph/plot? I want to know the exact cook's distance and studentized residual of an observation but I can only approximate by looking at the plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 21:07:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512035#M2287</guid>
      <dc:creator>DoctorShemp</dc:creator>
      <dc:date>2018-11-11T21:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512037#M2288</link>
      <description>&lt;P&gt;Welcome to the SAS community. As suggested by the &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_reg_syntax08.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;PROC REG Documentation&lt;/A&gt;, you can specify &lt;STRONG&gt;r&amp;nbsp;&lt;/STRONG&gt;in the model statement options as in this small example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=sashelp.class;
   model weight=height / r;
run;quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This gives you the table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 329px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/24807iDBF5B835939DF58D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 21:33:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512037#M2288</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-11-11T21:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512042#M2289</link>
      <description>&lt;P&gt;Worked perfect, so simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 22:01:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/512042#M2289</guid>
      <dc:creator>DoctorShemp</dc:creator>
      <dc:date>2018-11-11T22:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/513115#M2489</link>
      <description>&lt;P&gt;Anytime, glad to help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 21:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/513115#M2489</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-11-14T21:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684715#M24233</link>
      <description>&lt;P&gt;How do I do the same procedure in logistic regression?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684715#M24233</guid>
      <dc:creator>mintbit</dc:creator>
      <dc:date>2020-09-17T17:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684718#M24234</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/318282"&gt;@mintbit&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;How do I do the same procedure in logistic regression?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What do you mean by "same procedure"? There are no studentized residuals or Cook's distance in logistic regression.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:38:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684718#M24234</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-17T17:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684730#M24235</link>
      <description>&lt;P&gt;Oh, They are listed in my power point from school, only it is written in spss? There you can choose all these options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wich statistic should I look at to isolate points that&lt;/P&gt;&lt;P&gt;1: for wich the model fits poorly&lt;/P&gt;&lt;P&gt;2:that exert an undue influence on the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not recognice the terms in sas compared to spss. In my power point it says to check that studenized, standardized and deviance should be 99%below 2.58 and 95% below 1.96.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The options I have found are plots for deviance and standardized deviance, is this sufficient?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 17:57:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684730#M24235</guid>
      <dc:creator>mintbit</dc:creator>
      <dc:date>2020-09-17T17:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show a table of studentized residual and cooks distance values?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684807#M24244</link>
      <description>&lt;P&gt;So, I don't know what you see in your Powerpoint from school.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are different types of residuals available from &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=statug_logistic_overview.htm&amp;amp;locale=en" target="_self"&gt;PROC LOGISTIC&lt;/A&gt;, including some of the ones you mentioned. There is no such thing (as far as I know) as Cook's D for Logistic regression.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;There are many goodness-of-fit statistics computed by PROC LOGISTIC, including Akaike's Information criterion (AIC), the Gini statistic and the C statistic. You can compute high leverage points by creating fake (continuous) Y values and then running the data through PROC REG.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 21:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-show-a-table-of-studentized-residual-and-cooks-distance/m-p/684807#M24244</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-09-17T21:28:14Z</dc:date>
    </item>
  </channel>
</rss>

