<?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: What consititutes a non-normal distribution of residuals? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304661#M16185</link>
    <description>&lt;P&gt;Regarding your friend's suggestion to subsample, I think that would not be helpful. If the subsamples are size 100,000, all subsamples will reject normality.&amp;nbsp;If the subsamples are size 5, every subsample will accept&amp;nbsp;normality. &amp;nbsp;For some value in between (500?) you might get 50% of samples reject and 50% accept. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot.html" target="_self"&gt;Look at the normal Q-Q plot&lt;/A&gt;, which will graphially indicate whether the data are approximately normal:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc univariate normal;&lt;/P&gt;
&lt;P&gt;QQPLOT x / normal;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Oct 2016 13:25:28 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-10-14T13:25:28Z</dc:date>
    <item>
      <title>Re: What consititutes a non-normal distribution of residuals?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304562#M16183</link>
      <description>&lt;P&gt;Thanks for the advice, I will give this a go. A colleague of mine also suggested subsampling the large distribution of residuals, and testing the smaller subsamples for normality. Perhaps if subsamples also failed the KS&amp;nbsp;and/or other tests this might be a stronger&amp;nbsp;indication of an undiagnosed problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 07:37:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304562#M16183</guid>
      <dc:creator>Piers_C</dc:creator>
      <dc:date>2016-10-14T07:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: What consititutes a non-normal distribution of residuals?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304659#M16184</link>
      <description>&lt;P&gt;How are you conducting this analysis? GLM? GLIMMIX?&amp;nbsp;Suppose you determine that the errors are slightly heavy-tailed?&amp;nbsp;How will that change the way you conduct the analysis?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you just "verifying assumptions" or is there a real problem that you are trying to resolve?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 13:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304659#M16184</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-14T13:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: What consititutes a non-normal distribution of residuals?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304661#M16185</link>
      <description>&lt;P&gt;Regarding your friend's suggestion to subsample, I think that would not be helpful. If the subsamples are size 100,000, all subsamples will reject normality.&amp;nbsp;If the subsamples are size 5, every subsample will accept&amp;nbsp;normality. &amp;nbsp;For some value in between (500?) you might get 50% of samples reject and 50% accept. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot.html" target="_self"&gt;Look at the normal Q-Q plot&lt;/A&gt;, which will graphially indicate whether the data are approximately normal:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc univariate normal;&lt;/P&gt;
&lt;P&gt;QQPLOT x / normal;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 13:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304661#M16185</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-10-14T13:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: What consititutes a non-normal distribution of residuals?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304677#M16186</link>
      <description>&lt;P&gt;I am using proc mixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My model code is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;'TOTAL Hi frequency HI v LO FULL MLM'&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;mixed&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=mlm_hi &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;covtest&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; sub sess fbin tbin;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; t_diff=tbin|fbin sess / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;solution&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;outpredm&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; = pred_hi;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;repeated&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;subject&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=sub(sess) &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;type&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=sp(gau) (tbin fbin);&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;lsmeans&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; tbin*fbin;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;Rather than trying to solve a known problem, I am really trying to check that I have not violated any assumptions, hence chencking the residuals. And also your suggestion of plotting the predicted versus the residual outputs, which defninitely do not have a fan structure. I will also try the QQplots. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 14:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-What-consititutes-a-non-normal-distribution-of-residuals/m-p/304677#M16186</guid>
      <dc:creator>Piers_C</dc:creator>
      <dc:date>2016-10-14T14:13:26Z</dc:date>
    </item>
  </channel>
</rss>

