<?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: PROC MIXED Degrees of Freedom Options in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195687#M10443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the relevant part of the code that uses PROC MIXED to fit a model to each iteration of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed data = SimulatedData;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by Size Iter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods output CovParms = CovParms_&amp;amp;ddfm SolutionF = SolutionF_&amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Response = Time /s ddfm = &amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeated / subject = Subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random int Time / subject = Subject type = &amp;amp;CovStructure.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;amp;ddfm is a macro variable defined by the user and is one of the possible degrees of freedom method options in PROC MIXED. Further, &amp;amp;CovStructure is also a macro variable defined by the user and is one of the possible covariance structures for repeated measures data. I'm assuming AR(1) for my simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 06:32:21 GMT</pubDate>
    <dc:creator>tbanh</dc:creator>
    <dc:date>2015-08-19T06:32:21Z</dc:date>
    <item>
      <title>PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195683#M10439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently running a simulation study exploring the degrees of freedom options in SAS PROC MIXED. I noticed that when running the simulation, my fixed effects and standard errors are the same for a given sample size regardless of which degrees of freedom method I use (Kenward Roger, Satterthwaite, Containment, Between-Within, and Residual). From my understanding, shouldn't these parameters be different depending on which method I use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 15:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195683#M10439</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2015-08-10T15:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195684#M10440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They could all be the same for SOME models. In general, however, they will differ substantially. You didn't say what model you are using. What random effects, etc.&lt;/P&gt;&lt;P&gt;Only KR affects standard errors and fixed effect estimates. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 16:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195684#M10440</guid>
      <dc:creator>lvm</dc:creator>
      <dc:date>2015-08-10T16:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195685#M10441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a linear mixed model for repeated measures data with four time points. There is a fixed intercept/slope and a random intercept/slope. I'm assuming that the G matrix is VC structured and that the R matrix is autoregressive. Is there anything else I'm missing? For my study, I hypothesized that the different methods would produce different parameter estimates for the fixed effects and the standard errors. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 18:57:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195685#M10441</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2015-08-14T18:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195686#M10442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the code?&amp;nbsp; I am guessing that there are no CLASS variables other than for time, so that between-within and containment would yield the same df, and that the data are completely balanced, so that the Satterthwaite and KR degrees of freedom are unchanged from the defaults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 12:10:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195686#M10442</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-17T12:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195687#M10443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the relevant part of the code that uses PROC MIXED to fit a model to each iteration of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed data = SimulatedData;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by Size Iter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods output CovParms = CovParms_&amp;amp;ddfm SolutionF = SolutionF_&amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Response = Time /s ddfm = &amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeated / subject = Subject;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random int Time / subject = Subject type = &amp;amp;CovStructure.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &amp;amp;ddfm is a macro variable defined by the user and is one of the possible degrees of freedom method options in PROC MIXED. Further, &amp;amp;CovStructure is also a macro variable defined by the user and is one of the possible covariance structures for repeated measures data. I'm assuming AR(1) for my simulation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 06:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195687#M10443</guid>
      <dc:creator>tbanh</dc:creator>
      <dc:date>2015-08-19T06:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIXED Degrees of Freedom Options</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195688#M10444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see now.&amp;nbsp; It is a smooth linear regression on time, not with time as a class variable.&amp;nbsp; I think I would approach this a little differently:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc mixed data = SimulatedData;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by Size Iter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; class Subject Time; /* Add time as a class variable, so that covariance structures are more easily fit */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods output CovParms = CovParms_&amp;amp;ddfm SolutionF = SolutionF_&amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Response = Time /s ddfm = &amp;amp;ddfm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; repeated Time / subject = Subject type=&amp;amp;CovStructure;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; random int&amp;nbsp; / subject = Subject .;/* I would only include this for covariance structures that model a correlation between time points, such as AR(1), ARH(1), ARMA, SP(POW), and not for UN, CS or CSH */&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you truly need a single degree of freedom test in the MODEL statement, you will probably have to shift over to GLIMMIX and use the EFFECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 12:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-MIXED-Degrees-of-Freedom-Options/m-p/195688#M10444</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-08-19T12:01:35Z</dc:date>
    </item>
  </channel>
</rss>

