<?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: SAS Linear Mixed Modeling in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915667#M45433</link>
    <description>&lt;P&gt;Mr. Google was my friend today. Searching on "Kenward roger approximation" led to this: &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_details40.htm" target="_self"&gt;https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_details40.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From this you will see that the denominator degrees of freedom is a solution to an equation, rather than the (n-1) or (n-1)(m-1) you think of as the design denominator degrees of freedom. If they happen to come out to the same value, it is because the data are balanced and the covariance matrices associated do not result in any shrinkage of the standard errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if the KR ddfm values are not completely inappropriate (such as ddf =1 in a repeated measures design), they represent a less biased approach to the analysis. Even better for controlling bias would be KR2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 19:52:08 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2024-02-12T19:52:08Z</dc:date>
    <item>
      <title>SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/914943#M45414</link>
      <description>&lt;P&gt;I am using SAS for linear mixed modeling in my dataset.&amp;nbsp; The model also consists of three covariates. During the modeling process, I am also checking on whether there is an interaction between covariates and a group variable (one of the other fixed effect variables). For this, I included three interaction terms in the model between three covariates and the group variable. However, the addition of interaction terms inflates the denominator degree of freedom more than what is expected. Without interaction terms, the denominator degrees of freedom look fine. Any thoughts or suggestions on this?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 20:42:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/914943#M45414</guid>
      <dc:creator>KushalKC</dc:creator>
      <dc:date>2024-02-07T20:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915052#M45415</link>
      <description>&lt;P&gt;what happens if you add ddfm=kr option in your MODEL statement in PROC MIXED?&lt;/P&gt;
&lt;P&gt;Jill&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 14:12:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915052#M45415</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2024-02-08T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915125#M45418</link>
      <description>&lt;P&gt;Or even just ddfm=bw, especially if you have a REPEATED statement and a RANDOM statement. The default in that case is the containment method, which can end up with some very large df for whole plot comparisons. I agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp; - try ddfm=kr or ddfm=kr2. If the degrees of freedom look approximately like what you expect, it turns into a win-win, as the standard errors will have the proper shrinkage.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 18:14:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915125#M45418</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-02-08T18:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915195#M45420</link>
      <description>&lt;P&gt;Actually, I was fitting the model with kenward-roger degree of freedom adjustment. And the resulted denominator freedom does not match what is expected. What could be the possible reasons for incorrect ddf computation?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 04:54:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915195#M45420</guid>
      <dc:creator>KushalKC</dc:creator>
      <dc:date>2024-02-09T04:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915277#M45422</link>
      <description>&lt;P&gt;If you can post the code you are using, with and without the interactions, and the output from both then that would give us a better understanding of what is happening here.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 15:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915277#M45422</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2024-02-09T15:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915285#M45423</link>
      <description>&lt;P&gt;Here are the codes and results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Model without interaction&lt;/P&gt;&lt;P&gt;SAS code&lt;/P&gt;&lt;PRE&gt;proc glimmix data=MY_DATA_soy plots=(residualpanel studentpanel);
	class Group Time Field Field_Group GroupTime;
	model logbiomass =  CC_percent Blue_Green_ratio SR_RE Group|Time/ ddfm = kenwardroger solution;
	random intercept Time / subject = Field(Group);
	
	output out=DiagnGLIMMIX student=Student predicted=Predicted; 
	
run;&lt;/PRE&gt;&lt;P&gt;Type III test result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KushalKC_0-1707491678364.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93486i82BFEA4B57E83CD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KushalKC_0-1707491678364.png" alt="KushalKC_0-1707491678364.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Model with interaction&lt;/P&gt;&lt;PRE&gt;proc glimmix data=MY_DATA_soy plots=(residualpanel studentpanel);
	class Group Time Field Field_Group GroupTime;
	model logbiomass =  CC_percent Blue_Green_ratio SR_RE Group*CC_percent Group*SR_RE Group*Blue_Green_ratio Group|Time/ ddfm = kenwardroger solution;
	random intercept Time / subject = Field(Group);
	
	output out=DiagnGLIMMIX student=Student predicted=Predicted; 
	
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type III test result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KushalKC_1-1707491791429.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93487i6B24F802663BC5E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KushalKC_1-1707491791429.png" alt="KushalKC_1-1707491791429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 16:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915285#M45423</guid>
      <dc:creator>KushalKC</dc:creator>
      <dc:date>2024-02-09T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Linear Mixed Modeling</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915667#M45433</link>
      <description>&lt;P&gt;Mr. Google was my friend today. Searching on "Kenward roger approximation" led to this: &lt;A href="https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_details40.htm" target="_self"&gt;https://documentation.sas.com/doc/en/statug/15.2/statug_glimmix_details40.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From this you will see that the denominator degrees of freedom is a solution to an equation, rather than the (n-1) or (n-1)(m-1) you think of as the design denominator degrees of freedom. If they happen to come out to the same value, it is because the data are balanced and the covariance matrices associated do not result in any shrinkage of the standard errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if the KR ddfm values are not completely inappropriate (such as ddf =1 in a repeated measures design), they represent a less biased approach to the analysis. Even better for controlling bias would be KR2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:52:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Linear-Mixed-Modeling/m-p/915667#M45433</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-02-12T19:52:08Z</dc:date>
    </item>
  </channel>
</rss>

