<?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: Outlier Detection using Studentized Residuals in Different Alphas in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/530046#M26756</link>
    <description>&lt;P&gt;By definition, a Studentized residual is formed by dividing each residual by an estimate of its standard error. Therefore the Studentized residuals are normalized to have mean 0 and unit variance. Under the usual OLS assumptions that the errors are normally distributed, the normal quantile is computed as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alpha = 0.05;&lt;BR /&gt;q = quantile("Normal", 1 - alpha/2);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;which is 1.96, which is usually rounded to 2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want alpha=0.01, then the analogous computation&amp;nbsp;is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alpha = 0.01;&lt;BR /&gt;q = quantile("Normal", 1 - alpha/2);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which gives 2.58.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Student;
alpha = 0.05;
q = quantile("Normal", 1 - alpha/2);
output;
alpha = 0.01;
q = quantile("Normal", 1 - alpha/2);
output;
run;

proc print; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jan 2019 13:20:10 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2019-01-25T13:20:10Z</dc:date>
    <item>
      <title>Outlier Detection using Studentized Residuals in Different Alphas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/529611#M26745</link>
      <description>&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I watched videos on detecting outliers by using studentized residuals on proc reg, which has a default alpha=0.05 (95% confidence level), thus it tells that if the studentized residual is greater than 3, then it is considered an outlier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I were to change the alpha into 0.01 (99% confidence level), at what least value for studentized residual can I consider to be an outlier?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 04:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/529611#M26745</guid>
      <dc:creator>J6</dc:creator>
      <dc:date>2019-01-24T04:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Detection using Studentized Residuals in Different Alphas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/530046#M26756</link>
      <description>&lt;P&gt;By definition, a Studentized residual is formed by dividing each residual by an estimate of its standard error. Therefore the Studentized residuals are normalized to have mean 0 and unit variance. Under the usual OLS assumptions that the errors are normally distributed, the normal quantile is computed as&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alpha = 0.05;&lt;BR /&gt;q = quantile("Normal", 1 - alpha/2);&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;which is 1.96, which is usually rounded to 2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want alpha=0.01, then the analogous computation&amp;nbsp;is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alpha = 0.01;&lt;BR /&gt;q = quantile("Normal", 1 - alpha/2);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which gives 2.58.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data Student;
alpha = 0.05;
q = quantile("Normal", 1 - alpha/2);
output;
alpha = 0.01;
q = quantile("Normal", 1 - alpha/2);
output;
run;

proc print; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2019 13:20:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/530046#M26756</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-01-25T13:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Detection using Studentized Residuals in Different Alphas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/530921#M26786</link>
      <description>&lt;P&gt;Thanks Rick.&lt;/P&gt;&lt;P&gt;here's the data i'm trying to studentized:&lt;/P&gt;&lt;P&gt;ASSET:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-4.506&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;5.169&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-2.57&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.068&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.703&lt;/TD&gt;&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EQ /r;&lt;BR /&gt;output out=Data_A2 student=studASSETS;&lt;BR /&gt;by TYPE;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(does this code have an alpha of 0.05 or does it not? I was just basing on the videos i watched: &lt;FONT face="Helvetica Neue, Helvetica, Arial, sans-serif"&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;A href="https://youtu.be/IiGPEPDyC4I" target="_blank" rel="noopener"&gt;https://youtu.be/IiGPEPDyC4I&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this bear these results under student residuals column:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-1.301&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.787&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.744&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1.094&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.14&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-2.207&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.192&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.766&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3.075&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.087&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.451&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.656&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.703&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.451&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.053&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.222&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.084&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.39&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.23&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;0.176&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.736&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-0.252&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried specifying the alpha into 0.01 and it produced the same outputs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to determine, if these set represents alpha=0.05 and it brought one result which is greater than 3, if I am to use alpha=0.01, what is the least value i need to consider as an outlier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 11:47:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/530921#M26786</guid>
      <dc:creator>J6</dc:creator>
      <dc:date>2019-01-29T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Outlier Detection using Studentized Residuals in Different Alphas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/531150#M26794</link>
      <description>&lt;P&gt;&lt;SPAN&gt;The Studentized residuals are standardized. You said, "I tried specifying the alpha into 0.01 and it produced the same outputs" That statement is correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Your question appears to be related to detecting outliers. A studentized residual (SR) represents the residual in units of the standard deviation of the residuals. If |SR| &amp;gt; 3, then the residual is more than 3 SD away from the OLS line. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In terms of confidence intervals, the following is true:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the data satisfy the assumption of OLS and the sample size is large, then the studentized residuals are approximately normally distributed. Therefore you would expect 95% of the studentized residuals to have abs values less than 1.96. You would expect 99% of the studentized residuals to have abs value less than&amp;nbsp;2.58.&amp;nbsp;You would expect 99.9% of the studentized residuals to have abs value less than&amp;nbsp;3.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 19:57:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Outlier-Detection-using-Studentized-Residuals-in-Different/m-p/531150#M26794</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-01-29T19:57:33Z</dc:date>
    </item>
  </channel>
</rss>

