<?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: Specify non-inferiority margin using mixed model for repeated measurement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Specify-non-inferiority-margin-using-mixed-model-for-repeated/m-p/927325#M46142</link>
    <description>&lt;P&gt;Use an ODS OUTPUT statement to get the ESTIMATE value into a dataset, and then postprocess that dataset, comparing the result of the ESTIMATE statement to -1. This might be easier if you use LSMESTIMATE as you don"t need all of the terms that refer to anything except the lsmeans for visit*baseline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 15:02:03 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2024-05-07T15:02:03Z</dc:date>
    <item>
      <title>Specify non-inferiority margin using mixed model for repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Specify-non-inferiority-margin-using-mixed-model-for-repeated/m-p/926203#M46071</link>
      <description>&lt;P&gt;I have a dataset structured as repeated measurement and Mixed model for repeated measurement is used for analysis. The standard code to get average change from baseline (note that here we are comparing baseline with the mean of the last 4 visits) and the associated p-value has been posted below. I wonder based on this, how can I test the non-inferiority using a margin of -1, e.g., change from baseline is greater than -1. The null hypothesis is that this change will be smaller or equal to -1. Can anyone suggest how to write SAS for this test?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="sas"&gt;proc mixed data=mydata;
  class id visit sex(ref='F');
  model change = age sex baseline visit*baseline/ ddfm=kr fullx;
  repeated visit / subject = id type = un;
  lsmeans visit ;
  estimate 'Average' Intercept 1 age 1 sex 0.5 0.5 
           visit 0 0 0 0 0 0.25 0.25 0.25 0.25 base &amp;amp; basemean 
           visit*base 0 0 0 0 0 &amp;amp;basemean1 &amp;amp;basemean1 &amp;amp;basemean1 &amp;amp;basemean1 / cl;
run;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 06:15:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Specify-non-inferiority-margin-using-mixed-model-for-repeated/m-p/926203#M46071</guid>
      <dc:creator>DingTao</dc:creator>
      <dc:date>2024-04-28T06:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Specify non-inferiority margin using mixed model for repeated measurement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Specify-non-inferiority-margin-using-mixed-model-for-repeated/m-p/927325#M46142</link>
      <description>&lt;P&gt;Use an ODS OUTPUT statement to get the ESTIMATE value into a dataset, and then postprocess that dataset, comparing the result of the ESTIMATE statement to -1. This might be easier if you use LSMESTIMATE as you don"t need all of the terms that refer to anything except the lsmeans for visit*baseline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 15:02:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Specify-non-inferiority-margin-using-mixed-model-for-repeated/m-p/927325#M46142</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2024-05-07T15:02:03Z</dc:date>
    </item>
  </channel>
</rss>

