<?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 How to show degrees of feedom for random components of a mixed model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240508#M12723</link>
    <description>&lt;P&gt;How do I show the degrees of freedom for random components of a mixed model in proc mixed?&lt;/P&gt;&lt;P&gt;Is there a way to show them in the table of the output of the covariance parameter estimates? Does anyone know????&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data = work.import method=reml;&lt;BR /&gt;class ID&amp;nbsp;A&amp;nbsp;B&amp;nbsp;C D E;&lt;BR /&gt;model&amp;nbsp;outcome = A B C D A*B /s ddfm = kr;&lt;BR /&gt;random intercept&amp;nbsp;A B E&amp;nbsp; / subject = ID v = 1;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;repeated / subject = ID r = 1;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2015 18:05:43 GMT</pubDate>
    <dc:creator>Antoine37</dc:creator>
    <dc:date>2015-12-22T18:05:43Z</dc:date>
    <item>
      <title>How to show degrees of feedom for random components of a mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240508#M12723</link>
      <description>&lt;P&gt;How do I show the degrees of freedom for random components of a mixed model in proc mixed?&lt;/P&gt;&lt;P&gt;Is there a way to show them in the table of the output of the covariance parameter estimates? Does anyone know????&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my syntax:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed data = work.import method=reml;&lt;BR /&gt;class ID&amp;nbsp;A&amp;nbsp;B&amp;nbsp;C D E;&lt;BR /&gt;model&amp;nbsp;outcome = A B C D A*B /s ddfm = kr;&lt;BR /&gt;random intercept&amp;nbsp;A B E&amp;nbsp; / subject = ID v = 1;&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;repeated / subject = ID r = 1;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 18:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240508#M12723</guid>
      <dc:creator>Antoine37</dc:creator>
      <dc:date>2015-12-22T18:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to show degrees of feedom for random components of a mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240513#M12724</link>
      <description>&lt;P&gt;There are no degrees of freedom for an estimated variance or covariance based on likelihood (restricted likelihood) analysis. That's the short answer. It can be more complicated (for different purposes). An estimated variance asymptotically has a normal distribution (i.e., a t distribution with infinite df). But asymptotic results kick in here only for VERY large sample size. It is rare that one can rely on large-sample theory to use the normal approximation (although you can request this with a COVTEST statement in GLIMMIX). One can also test an estimated variance based on a likelihood ratio test. This still relies on asymptotic theory, but simulations generally show that one can use this approach at much smaller and more reasonable sample sizes. If you have one variance term (in addition to a residual), you can use:&lt;/P&gt;
&lt;P&gt;COVTEST 0;&lt;/P&gt;
&lt;P&gt;to test for the equality of the variance to 0. The df nominally is 1 for this (basically 1 for the numerator df and infinity for the denominator df), and a chi-squared test statistic (with 1 df) is used. However, for certain common situations, other work shows that the test statistic is more complicated than that, being a mixture of two chi-squared distributions (with 1 df and 0 df for the two components). The COVTEST statement figures this out automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, I go back to the start of the message. I would not report any df for your estimated variances.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 18:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240513#M12724</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-12-22T18:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to show degrees of feedom for random components of a mixed model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240519#M12725</link>
      <description>&lt;P&gt;Thank you very much for your support in helping me.&amp;nbsp;I think your answer is very clear !&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 18:48:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-show-degrees-of-feedom-for-random-components-of-a-mixed/m-p/240519#M12725</guid>
      <dc:creator>Antoine37</dc:creator>
      <dc:date>2015-12-22T18:48:37Z</dc:date>
    </item>
  </channel>
</rss>

