<?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: Non-normal blood serum data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328933#M17356</link>
    <description>&lt;P&gt;First, I would add the residual option to the random statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;RANDOM DAY/SUBJECT=ID TYPE = CSH residual;&lt;/PRE&gt;
&lt;P&gt;and see what happens. I suspect the model is overparameterized because it is trying to essentially estimate variances for the residual twice. Hence the very small residual variance that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My experience has been that if the G matrix is not positive definite, you can see this sort of pattern in the plot of residual versus linear predictor.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Adding "residual" to the random statement is necessary if you are using a normal distribution. If the distribution is non-normal (other than lognormal), then I don't add "residual" because for distributions where the variance is a function of the mean, there are &lt;EM&gt;residuals&lt;/EM&gt;, but there is no such thing as &lt;EM&gt;residual variance&lt;/EM&gt;. Stroup (2013) &lt;EM&gt;Generalized Linear Mixed Models&lt;/EM&gt; is a good resource on this topic.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Feb 2017 17:31:38 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2017-02-01T17:31:38Z</dc:date>
    <item>
      <title>Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328445#M17315</link>
      <description>&lt;P&gt;Some of the data is attached. Lambs were fed 1 of 6 treatment diets in individual pens.&lt;/P&gt;
&lt;P&gt;Blood serum collected/analyzed on days 0, 14, 57.&lt;/P&gt;
&lt;P&gt;Analysis was done by a machine (some serum variables look like count data, but are not).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of the serum variables have funky distributions (see below): ALT, TP, and a few others (stairs), AST (long tail), .&lt;/P&gt;
&lt;P&gt;I'll be using GLIMMIX, but not sure how to appropriately handle these distributions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7004iD4777DC12697D3DE/image-size/medium?v=1.0&amp;amp;px=-1" alt="ALT1.jpg" title="ALT1.jpg" border="0" /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7005i61A5729C6EED5BB3/image-size/original?v=1.0&amp;amp;px=-1" alt="ALT.jpg" title="ALT.jpg" border="0" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7006i4D19972C1176D475/image-size/original?v=1.0&amp;amp;px=-1" alt="tp.jpg" title="tp.jpg" border="0" /&gt;&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 14:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328445#M17315</guid>
      <dc:creator>AgReseach7</dc:creator>
      <dc:date>2017-01-30T14:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328453#M17316</link>
      <description>&lt;P&gt;There is no law that says that the explanatory variables need to&amp;nbsp;be normally distributed, so you might be worrying prematurely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Clearly, these are rounded data. As such they will never follow any continuous distribution. If you were to jitter the data and compute a KDE, you would probably see density estimates that look more like what you are expecting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you post the syntax for the model, we might be able to weigh in as to whether we think these data will present problems in the analysis. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 15:11:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328453#M17316</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-30T15:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328477#M17317</link>
      <description>&lt;P&gt;PROC GLIMMIX;&lt;/P&gt;
&lt;P&gt;CLASS TRT DAY ID;&lt;/P&gt;
&lt;P&gt;MODEL x = TRT|DAY / DDFM=KR SOLUTION;&lt;/P&gt;
&lt;P&gt;RANDOM DAY/SUBJECT=ID TYPE = CSH;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. others'&amp;nbsp;&amp;nbsp; &amp;nbsp; TRT&amp;nbsp; &lt;STRONG&gt;5&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. BLU'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRT&amp;nbsp; &lt;STRONG&gt;1&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. ERC' &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRT &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. MESQ' &amp;nbsp;&amp;nbsp;&amp;nbsp; TRT &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. ONE' &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRT &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;Contrast 'CNTL vs. RED' &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRT &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; -&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;LSMEANS TRT|DAY / DIFF ADJUST=SIMULATE (REPORT SEED=&lt;STRONG&gt;121211&lt;/STRONG&gt;) cl adjdfe=row&amp;nbsp; SLICEDIFF=DAY;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;;&lt;STRONG&gt;QUIT&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 15:52:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328477#M17317</guid>
      <dc:creator>AgReseach7</dc:creator>
      <dc:date>2017-01-30T15:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328758#M17342</link>
      <description>&lt;P&gt;Hate to say this on a discussion board, but I am thoroughly confused.&lt;/P&gt;
&lt;P&gt;Each blood serum varibable (e.g., ALT, glucose, urea nitrogen) is a dependant variable.&lt;/P&gt;
&lt;P&gt;I thought that if the variable didn't have a normal distribution of resuduals (Q-Q plots, etc.), then you had to try &amp;amp; fit distributions (in GLIMMIX) such as lognormal, Weibull, beta, gamma, etc...&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:10:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328758#M17342</guid>
      <dc:creator>AgReseach7</dc:creator>
      <dc:date>2017-01-31T15:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328778#M17346</link>
      <description>&lt;P&gt;Sorry, I did not realize that the variable were all dependent. But as you say, it is the distribution of the RESIDUALS that is important, not the distribution of the variables themselves. &amp;nbsp;Unless you have a reason to suspect that the errors are non-nornal, you might&lt;/P&gt;
&lt;P&gt;start out with DIST=NORMAL and see what happens. &amp;nbsp;Some of the long tails you see might be&amp;nbsp;fit by the explanatory variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you run the regressions, add&lt;/P&gt;
&lt;P&gt;plots=residualpanel&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the PROC GLMMIX statement. Your syntax looks similar to the example in the GLIMMIX documentation, so see the section&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glimmix_details83.htm" target="_self"&gt;"Diagnostic Plots."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328778#M17346</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-31T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328781#M17347</link>
      <description>&lt;P&gt;Thanks, Rick. I'll read the info. in your link, to try and figure out the plots below.&lt;/P&gt;
&lt;P&gt;I ran the plot as suggested and got the following. Thoughts?&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/7038i549F32EAAECEA735/image-size/original?v=1.0&amp;amp;px=-1" alt="Conditional residuals for ALT.jpg" title="Conditional residuals for ALT.jpg" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328781#M17347</guid>
      <dc:creator>AgReseach7</dc:creator>
      <dc:date>2017-01-31T15:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328791#M17348</link>
      <description>&lt;P&gt;1. Your residuals are very tiny ~1E-6, so this is almost a perfect fit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Your residuals show a linear pattern, so there appears to be unexplained structure. Perhaps by another variable that is not in the model.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 15:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328791#M17348</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-01-31T15:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Non-normal blood serum data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328933#M17356</link>
      <description>&lt;P&gt;First, I would add the residual option to the random statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;RANDOM DAY/SUBJECT=ID TYPE = CSH residual;&lt;/PRE&gt;
&lt;P&gt;and see what happens. I suspect the model is overparameterized because it is trying to essentially estimate variances for the residual twice. Hence the very small residual variance that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp;notes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My experience has been that if the G matrix is not positive definite, you can see this sort of pattern in the plot of residual versus linear predictor.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Adding "residual" to the random statement is necessary if you are using a normal distribution. If the distribution is non-normal (other than lognormal), then I don't add "residual" because for distributions where the variance is a function of the mean, there are &lt;EM&gt;residuals&lt;/EM&gt;, but there is no such thing as &lt;EM&gt;residual variance&lt;/EM&gt;. Stroup (2013) &lt;EM&gt;Generalized Linear Mixed Models&lt;/EM&gt; is a good resource on this topic.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 17:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-normal-blood-serum-data/m-p/328933#M17356</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-02-01T17:31:38Z</dc:date>
    </item>
  </channel>
</rss>

