<?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 Degrees of Freedom in Proc Mixed with Repeated and Random Statements in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Degrees-of-Freedom-in-Proc-Mixed-with-Repeated-and-Random/m-p/627619#M30179</link>
    <description>&lt;P&gt;I am running a repeated measures in Proc Mixed using a repeated statement. I also have a random effect that I would like to include. When I run the model without the random effect, my den. df reflects the number of subjects (as it should). However, as soon as I add in a random statement, my df nearly triples. Why? Is there a way to include a random effect with a repeated measures that doesn't inflate my df?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code with both the random and repeated statements:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed Data=Flux_Devo method=ml;&lt;BR /&gt;class id family trt stage;&lt;BR /&gt;model CO2lograte= temp|trt|stage mass_start;&lt;/P&gt;&lt;P&gt;random family;&lt;BR /&gt;repeated / type=un subject=id r;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 18:48:54 GMT</pubDate>
    <dc:creator>AW_Carter</dc:creator>
    <dc:date>2020-02-26T18:48:54Z</dc:date>
    <item>
      <title>Degrees of Freedom in Proc Mixed with Repeated and Random Statements</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Degrees-of-Freedom-in-Proc-Mixed-with-Repeated-and-Random/m-p/627619#M30179</link>
      <description>&lt;P&gt;I am running a repeated measures in Proc Mixed using a repeated statement. I also have a random effect that I would like to include. When I run the model without the random effect, my den. df reflects the number of subjects (as it should). However, as soon as I add in a random statement, my df nearly triples. Why? Is there a way to include a random effect with a repeated measures that doesn't inflate my df?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code with both the random and repeated statements:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc mixed Data=Flux_Devo method=ml;&lt;BR /&gt;class id family trt stage;&lt;BR /&gt;model CO2lograte= temp|trt|stage mass_start;&lt;/P&gt;&lt;P&gt;random family;&lt;BR /&gt;repeated / type=un subject=id r;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 18:48:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Degrees-of-Freedom-in-Proc-Mixed-with-Repeated-and-Random/m-p/627619#M30179</guid>
      <dc:creator>AW_Carter</dc:creator>
      <dc:date>2020-02-26T18:48:54Z</dc:date>
    </item>
  </channel>
</rss>

