<?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: Externally conditionally studentized residual from proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Externally-conditionally-studentized-residual-from-proc-mixed/m-p/452675#M23648</link>
    <description>&lt;P&gt;Based on my reading of the MIXED documentation, it does not&amp;nbsp;look like you can obtain externally studentized &lt;EM&gt;conditional&lt;/EM&gt; residuals. The INFLUENCE option produces internally and externally studentized &lt;EM&gt;marginal&lt;/EM&gt; residuals.&amp;nbsp;&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_mixed_details24.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;The MIXED Procedure | Details | Residuals and Influence Diagnostics&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;the output dataset "resid" includes the internally conditional studentized residual which is dissimilar from internally conditional studentized residual returned by output dataset "studres" from Influence. I expected to see the same result. Why difference in the result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because they are different kinds of residuals. The output dataset "studres" from INFLUENCE contains internally studentized &lt;EM&gt;marginal&lt;/EM&gt;&amp;nbsp;(not conditional) residuals; those will match the internally studentized marginal residuals in the output dataset from OUTPM= , but are of course different than internally studentized conditional residuals from OUTP= .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From a practical point of view, if I couldn't obtain externally studentized conditional residuals, I would use internally studentized conditional residuals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 Apr 2018 22:07:17 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2018-04-09T22:07:17Z</dc:date>
    <item>
      <title>Externally conditionally studentized residual from proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Externally-conditionally-studentized-residual-from-proc-mixed/m-p/452286#M23617</link>
      <description>&lt;P&gt;I am trying to use influence diagnostic tool of PROC MIXED to extract out externally conditional studentized residual. Each data point is replicated four times and I expected the leverage to be 1/4 = 0.25 but I have 0.0208. My script is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class rep gen;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model rtwt =/ddfm=kr outp=resid residual influence(iter = 10);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random rep gen;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods output Influence = studres;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the output dataset "resid" includes the internally conditional studentized residual which is dissimilar from internally conditional studentized residual returned by output dataset "studres" from Influence. I expected to see the same result. Why difference in the result?&lt;/P&gt;&lt;P&gt;Secondly, for an outlier detection, which is much better to use between internally and externally conditional studentized residual?&lt;/P&gt;&lt;P&gt;I attached sample of output from output dataset "studres".&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 04:28:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Externally-conditionally-studentized-residual-from-proc-mixed/m-p/452286#M23617</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2018-04-08T04:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Externally conditionally studentized residual from proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Externally-conditionally-studentized-residual-from-proc-mixed/m-p/452675#M23648</link>
      <description>&lt;P&gt;Based on my reading of the MIXED documentation, it does not&amp;nbsp;look like you can obtain externally studentized &lt;EM&gt;conditional&lt;/EM&gt; residuals. The INFLUENCE option produces internally and externally studentized &lt;EM&gt;marginal&lt;/EM&gt; residuals.&amp;nbsp;&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_mixed_details24.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;The MIXED Procedure | Details | Residuals and Influence Diagnostics&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;the output dataset "resid" includes the internally conditional studentized residual which is dissimilar from internally conditional studentized residual returned by output dataset "studres" from Influence. I expected to see the same result. Why difference in the result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because they are different kinds of residuals. The output dataset "studres" from INFLUENCE contains internally studentized &lt;EM&gt;marginal&lt;/EM&gt;&amp;nbsp;(not conditional) residuals; those will match the internally studentized marginal residuals in the output dataset from OUTPM= , but are of course different than internally studentized conditional residuals from OUTP= .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From a practical point of view, if I couldn't obtain externally studentized conditional residuals, I would use internally studentized conditional residuals.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 22:07:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Externally-conditionally-studentized-residual-from-proc-mixed/m-p/452675#M23648</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-04-09T22:07:17Z</dc:date>
    </item>
  </channel>
</rss>

