<?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 Proc freq non-inferiority test result of 95%CI and P value is inconsistent in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883572#M43735</link>
    <description>&lt;P&gt;here is my code:&lt;/P&gt;&lt;PRE&gt;proc freq data=table3_3_a;
    tables treat*DU1ORRES3 / riskdiff(margin=0.1 noninf) alpha=0.025;
run;&lt;/PRE&gt;&lt;P&gt;and here is the result of the freq&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1688564367302.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85567iEC2B343A56827B57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1688564367302.png" alt="_0-1688564367302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;as i know, if the lower 95% cl is smaller than the&amp;nbsp; non-inferiority margin(-0.1161&amp;lt;-0.1), then the p value will be bigger than 0.05 and the null hypothesis should be rejected, but the p value here is smaller than 0.05, i think i might missing something, &lt;SPAN&gt;could you help me understand better?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jul 2023 13:51:53 GMT</pubDate>
    <dc:creator>杨润煌</dc:creator>
    <dc:date>2023-07-05T13:51:53Z</dc:date>
    <item>
      <title>Proc freq non-inferiority test result of 95%CI and P value is inconsistent</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883572#M43735</link>
      <description>&lt;P&gt;here is my code:&lt;/P&gt;&lt;PRE&gt;proc freq data=table3_3_a;
    tables treat*DU1ORRES3 / riskdiff(margin=0.1 noninf) alpha=0.025;
run;&lt;/PRE&gt;&lt;P&gt;and here is the result of the freq&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="_0-1688564367302.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/85567iEC2B343A56827B57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="_0-1688564367302.png" alt="_0-1688564367302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;as i know, if the lower 95% cl is smaller than the&amp;nbsp; non-inferiority margin(-0.1161&amp;lt;-0.1), then the p value will be bigger than 0.05 and the null hypothesis should be rejected, but the p value here is smaller than 0.05, i think i might missing something, &lt;SPAN&gt;could you help me understand better?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 13:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883572#M43735</guid>
      <dc:creator>杨润煌</dc:creator>
      <dc:date>2023-07-05T13:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq non-inferiority test result of 95%CI and P value is inconsistent</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883598#M43738</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440661"&gt;@杨润煌&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440661"&gt;@杨润煌&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;here is my code:&lt;/P&gt;
&lt;PRE&gt;proc freq data=table3_3_a;
    tables treat*DU1ORRES3 / riskdiff(margin=0.1 noninf) alpha=0.025;
run;&lt;/PRE&gt;
&lt;P&gt;(...)&lt;/P&gt;
&lt;P&gt;as i know, if the lower 95% cl is smaller than the&amp;nbsp; non-inferiority margin(-0.1161&amp;lt;-0.1), then the p value will be bigger than 0.05 and the null hypothesis should be rejected, but the p value here is smaller than 0.05, i think i might missing something, &lt;SPAN&gt;could you help me understand better?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You specified alpha=0.025 in your TABLES statement. Therefore, the correct conclusion is:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;if the lower 95% cl is smaller than the&amp;nbsp; non-inferiority margin(-0.1161&amp;lt;-0.1), then the p value will be bigger than &lt;FONT size="4"&gt;&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;0.025&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt; and the null hypothesis should be rejected &lt;FONT color="#3366FF"&gt;(at that significance level)&lt;/FONT&gt;.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The confidence coefficient for the test-based confidence limits is 100(1-&lt;FONT color="#3366FF"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="symbol"&gt;a&lt;/FONT&gt;)% according to the &lt;A href="https://support.sas.com/documentation/cdl/en/procstat/65544/HTML/default/viewer.htm#procstat_freq_details49.htm" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 16:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883598#M43738</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-07-05T16:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq non-inferiority test result of 95%CI and P value is inconsistent</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883667#M43741</link>
      <description>&lt;P&gt;thanks for you information, I'd checked the document and it said the confidence limits of noninferiority is 100(1-2α)%, if i calculate the 95% CL in noninferiority test, i should compare p value with alpha=0.025 and in this case, the null hypothesis shouldn't be rejected, is this correct?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 04:21:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883667#M43741</guid>
      <dc:creator>杨润煌</dc:creator>
      <dc:date>2023-07-06T04:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq non-inferiority test result of 95%CI and P value is inconsistent</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883679#M43742</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/440661"&gt;@杨润煌&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks for you information, I'd checked the document and it said the confidence limits of noninferiority is 100(1-2α)%, if i calculate the 95% CL in noninferiority test, i should compare p value with alpha=0.025 and in this case, the null hypothesis shouldn't be rejected, is this correct?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In your example, p=0.0432&amp;gt;alpha, so this is correct. However, the default (and most commonly used) significance level is alpha=0.05. I assume you have good reasons to choose a different value.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 07:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883679#M43742</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2023-07-06T07:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc freq non-inferiority test result of 95%CI and P value is inconsistent</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883680#M43743</link>
      <description>thanks for your help, i set alpha=0.025 since it is one-side test</description>
      <pubDate>Thu, 06 Jul 2023 07:19:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-freq-non-inferiority-test-result-of-95-CI-and-P-value-is/m-p/883680#M43743</guid>
      <dc:creator>杨润煌</dc:creator>
      <dc:date>2023-07-06T07:19:55Z</dc:date>
    </item>
  </channel>
</rss>

