<?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: How to test the interaction between strata and treatment groups in a mmrm model? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-the-interaction-between-strata-and-treatment-groups/m-p/927317#M46141</link>
    <description>&lt;P&gt;You may need to simplify your model, as I see 3 variables that are functions of one another:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chg = observed value - base&lt;/P&gt;
&lt;P&gt;Base&lt;/P&gt;
&lt;P&gt;Strata = median function determined by Base,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so the induced collinearity between base and strata may well be driving the similarity of the estimates between the strata groups. What happens if you remove strata from the model, and (perhaps) post-process the predicted values obtained from an OUTP= option in your MODEL statement into quintiles, terciles or two groups? Does that address your research question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 14:00:54 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2024-05-07T14:00:54Z</dc:date>
    <item>
      <title>How to test the interaction between strata and treatment groups in a mmrm model?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-the-interaction-between-strata-and-treatment-groups/m-p/926210#M46059</link>
      <description>&lt;P&gt;I constructed a mmrm model as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt; proc mixed data = have;
 class id treatment week strata;
 model chg = base treatment week treatment*week treatment*strata/ ddfm = KR;
 repeated week/ subject = id type = UN;
 lsmeans treatment*week/ cl alpha = 0.05 diff
 ods output Tests3=tests3 lsmeans=lsmeans diffs=diffs;
 run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;(1) id: represents the patient id;&lt;/P&gt;&lt;P&gt;(2) treatment: contains 2 group, "drug" and "placebo";&lt;/P&gt;&lt;P&gt;(3) chg: change from baseline of hba1c;&lt;/P&gt;&lt;P&gt;(4) base: the value of hba1c at baseline;&lt;/P&gt;&lt;P&gt;(5) week: contains 3 levels: "week8", "week16" and "week24"&lt;/P&gt;&lt;P&gt;(6 )strata: stratification based on the median of baseline hba1c, ie&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; group1=patients of those who have baseline hba1c &amp;lt;= median of baseline hba1c;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; group2=patients of those who have baseline hba1c &amp;gt; median of baseline hba1c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In general, I'd like to know how to the test the interaction between strata and treatment groups. I am not sure if I constructed the model in a right way because I looked at the results (as below), the values of Diffs in LS means were pretty close between strata, but p for interaction was significant. (The Diffs in LS means were got from the output file diffs, and the p for interaction were got from the output file test3.)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="interaction.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/95980i9BD39C2E31893048/image-size/large?v=v2&amp;amp;px=999" role="button" title="interaction.PNG" alt="interaction.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also checked the Diffs in LS means of week8 and week16, the diffs in LS means were all pretty close between 2 strata, but the p for interaction were all significant (p-value &amp;lt; 0.0001). So I am not sure if I interpret the result in the right way. What data should look quite different if the p for interaction is statistically significant? Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 09:22:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-the-interaction-between-strata-and-treatment-groups/m-p/926210#M46059</guid>
      <dc:creator>Robin_moon</dc:creator>
      <dc:date>2024-04-28T09:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to test the interaction between strata and treatment groups in a mmrm model?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-the-interaction-between-strata-and-treatment-groups/m-p/927317#M46141</link>
      <description>&lt;P&gt;You may need to simplify your model, as I see 3 variables that are functions of one another:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chg = observed value - base&lt;/P&gt;
&lt;P&gt;Base&lt;/P&gt;
&lt;P&gt;Strata = median function determined by Base,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so the induced collinearity between base and strata may well be driving the similarity of the estimates between the strata groups. What happens if you remove strata from the model, and (perhaps) post-process the predicted values obtained from an OUTP= option in your MODEL statement into quintiles, terciles or two groups? Does that address your research question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 14:00:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-test-the-interaction-between-strata-and-treatment-groups/m-p/927317#M46141</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-05-07T14:00:54Z</dc:date>
    </item>
  </channel>
</rss>

