<?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: Noninferiority hypothesis test from PROC FREQ using commonriskdiff in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834651#M41331</link>
    <description>Clever idea .&lt;BR /&gt;But that is still  risk difference test , NOT non-inferiority test.</description>
    <pubDate>Thu, 22 Sep 2022 12:15:00 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-09-22T12:15:00Z</dc:date>
    <item>
      <title>Noninferiority hypothesis test from PROC FREQ using commonriskdiff</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834479#M41322</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have data in a series of stratified 2x2 tables, I want to calculate a p-value for a non-inferiority hypothesis test based on the common risk difference.&amp;nbsp;There appears to be a way to do this using the riskdiff option, but not using the commonriskdiff option as far as I can see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My proc freq tables statement looks like this:&lt;/P&gt;
&lt;P&gt;tables site*trt*outcome / commonriskdiff(column=1 cl=(mh) printwts=(mh)&amp;nbsp; test=(mh)) alpha=0.1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The test=(mh) option is testing whether the common risk difference is different from 0, but in a non-inferioity setting we want to know if it is below a margin of non-inferiority, not 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If using the riskdiff option there are additional options (noninf margin=0.1 method=wald), which are used to define the margin of non-inferiority. But those options apply to the risk difference from each of the 2x2 tables, not the common risk difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone know who to test a non-inferiority hypothesis on a common risk difference?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834479#M41322</guid>
      <dc:creator>DGrint</dc:creator>
      <dc:date>2022-09-21T14:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Noninferiority hypothesis test from PROC FREQ using commonriskdiff</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834645#M41329</link>
      <description>&lt;P&gt;That is totally two different method.&lt;BR /&gt;"commonriskdiff" is like CMH test for nx2x2 table(combine n riskdiff into one riskdiff).&lt;BR /&gt;But for Noninferiority test,you cann't do that ,Noninferiority is ONLY for 2x2 table.&lt;BR /&gt;Maybe &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; knew the solution ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 11:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834645#M41329</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-09-22T11:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Noninferiority hypothesis test from PROC FREQ using commonriskdiff</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834650#M41330</link>
      <description>&lt;P&gt;Exactly, I want a non-inferiority hypothesis p-value from a common risk difference (CMH). It appears there isn't a way to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've found a workaround, but it would be good if there were a simple option to calculate the non-inferiority test p-value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Workaround: alter the level of significance (alpha) for the common risk difference until the limit of the CI matches the non-inferiorty margin. The p-value can then be calculated based on the alpha value.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834650#M41330</guid>
      <dc:creator>DGrint</dc:creator>
      <dc:date>2022-09-22T12:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Noninferiority hypothesis test from PROC FREQ using commonriskdiff</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834651#M41331</link>
      <description>Clever idea .&lt;BR /&gt;But that is still  risk difference test , NOT non-inferiority test.</description>
      <pubDate>Thu, 22 Sep 2022 12:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834651#M41331</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-09-22T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Noninferiority hypothesis test from PROC FREQ using commonriskdiff</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834652#M41332</link>
      <description>&lt;P&gt;I disagree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Non-inferiority in this case is determined at the upper bound of the 95% CI for the common risk difference. If the CI for the risk difference is below a certain threshold (non-inferiority margin) then the experimental treatment is considtered non-inferior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Risk difference and non-inferiority are not mutually exclusive. (Common) risk difference is the outcome, non-inferiority is hypothesis, rather than the standard scenario where this would be superiority (a comparison against the null of no difference).&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 12:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Noninferiority-hypothesis-test-from-PROC-FREQ-using/m-p/834652#M41332</guid>
      <dc:creator>DGrint</dc:creator>
      <dc:date>2022-09-22T12:20:54Z</dc:date>
    </item>
  </channel>
</rss>

