<?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 Relative risk, one sided in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Relative-risk-one-sided/m-p/880370#M43547</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;As part of a superiority trial, the hypotheses are as follows:&lt;/P&gt;&lt;P&gt;H0:PT = P0 ,&lt;BR /&gt;H1: PT &amp;gt; P0.&lt;BR /&gt;where PT and P0 denote the proportion of patients with alleviation in the treatment group (test medication, T) and in the placebo group (P), respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to provide RRs for a 2x2 table with 95% confidence intervals (α = 0.05, one-sided).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this program:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;	Proc Freq data= table;
		Tables treat * outcome /  relrisk(sup) alpha = 0.025 cmh;
		output out=rout relrisk cmh;
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I'd like confirmation that my code is correct, and secondly, how to define 'margin':&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;RELRISK(sup margin=)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Indeed, by not defining a margin, it automatically sets it for me&lt;/P&gt;&lt;P&gt;Also, does the p-value obtained in the 'Superiority Analysis for the Relative Risk' table correspond to the RR p-value?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exemple.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84935i542B182D29195F0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="exemple.JPG" alt="exemple.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, with the output, I can't obtain the values for the Superiority Analysis for the Relative Risk in a data file. Do you have a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2023 10:53:55 GMT</pubDate>
    <dc:creator>julie_AF</dc:creator>
    <dc:date>2023-06-13T10:53:55Z</dc:date>
    <item>
      <title>Relative risk, one sided</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Relative-risk-one-sided/m-p/880370#M43547</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;As part of a superiority trial, the hypotheses are as follows:&lt;/P&gt;&lt;P&gt;H0:PT = P0 ,&lt;BR /&gt;H1: PT &amp;gt; P0.&lt;BR /&gt;where PT and P0 denote the proportion of patients with alleviation in the treatment group (test medication, T) and in the placebo group (P), respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to provide RRs for a 2x2 table with 95% confidence intervals (α = 0.05, one-sided).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this program:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;	Proc Freq data= table;
		Tables treat * outcome /  relrisk(sup) alpha = 0.025 cmh;
		output out=rout relrisk cmh;
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, I'd like confirmation that my code is correct, and secondly, how to define 'margin':&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;RELRISK(sup margin=)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Indeed, by not defining a margin, it automatically sets it for me&lt;/P&gt;&lt;P&gt;Also, does the p-value obtained in the 'Superiority Analysis for the Relative Risk' table correspond to the RR p-value?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="exemple.JPG" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84935i542B182D29195F0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="exemple.JPG" alt="exemple.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Finally, with the output, I can't obtain the values for the Superiority Analysis for the Relative Risk in a data file. Do you have a solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Julie&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 10:53:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Relative-risk-one-sided/m-p/880370#M43547</guid>
      <dc:creator>julie_AF</dc:creator>
      <dc:date>2023-06-13T10:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Relative risk, one sided</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Relative-risk-one-sided/m-p/880403#M43549</link>
      <description>&lt;P&gt;You are doing superiority/noninferiority test which indeed are one-sided test.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ksharp_0-1686660432412.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/84938iBD88234EC0DBEA85/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ksharp_0-1686660432412.png" alt="Ksharp_0-1686660432412.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you want more detail info check the attachment I posted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;About&amp;nbsp;&lt;SPAN&gt;defining/selecting a margin,once you know the distribution of the difference between risk, you know how to do.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Check&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt;&amp;nbsp; very good blog .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://blogs.sas.com/content/iml/2023/03/01/distribution-difference-beta.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2023/03/01/distribution-difference-beta.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 12:51:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Relative-risk-one-sided/m-p/880403#M43549</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-13T12:51:02Z</dc:date>
    </item>
  </channel>
</rss>

