<?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: Should I consider the correlation when calculate Odds ratio and Relative Risk in Crossover desig in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Should-I-consider-the-correlation-when-calculate-Odds-ratio-and/m-p/293334#M15603</link>
    <description>&lt;PRE&gt;
"Question: I can't calculate the relative risk under this case, right?"
You can get that as long as it is 2x2 contingency table.
tables drgdsc1a*swaevl2C/relrisk(col=2) ;


If it was square table , why not use AGREE ?


tables drgdsc1a*swaevl2C/agree ;

&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Aug 2016 04:36:57 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-08-23T04:36:57Z</dc:date>
    <item>
      <title>Should I consider the correlation when calculate Odds ratio and Relative Risk in Crossover design?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Should-I-consider-the-correlation-when-calculate-Odds-ratio-and/m-p/293304#M15600</link>
      <description>&lt;P&gt;Dear ALL,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just a 2 by 2 crosser design with two treatments at each period;&lt;/P&gt;
&lt;P&gt;Sequence 1: Period 1 --Treatment A; Period 2--Treatment B;&lt;/P&gt;
&lt;P&gt;Sequence 2: Period 1 --Treatment B;&amp;nbsp; Period 2-- Treatment A;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Subject will be randomized to sequence 1 or 2;&lt;/P&gt;
&lt;P&gt;Each sequence will have 5 subjects;&lt;/P&gt;
&lt;P&gt;The variable we want to analyze is a Response binary variable ( with values 0 (No) or 1 (Yes));&lt;/P&gt;
&lt;P&gt;The pupose is to check whether the response between two Treatments are same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perperty of this design: Each subject will be assessed two times (each for one treatment).&lt;/P&gt;
&lt;P&gt;Result have below two cases:&lt;/P&gt;
&lt;P&gt;Case I:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Treatment A: Response=Yes (10 subjects, i.e. all response to Yes for treatment A); Response=No (0 subjects);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Treatment B: Response=Yes (10 subjects, ie. all response to Yes for Treatment B as well); Response=NO (0 Subjects);&lt;/P&gt;
&lt;P&gt;Per the posts I raised earlier, the odds ratio for this case is not defined as the cells under Response=0 for both treatments are 0;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Question: I can't calculate the relative risk under this case, right? &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Case II:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Treatment A: Response=Yes (9 subjects, i.e.&amp;nbsp;9 response to Yes for treatment A); Response=No (1 subjects);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Treatment B: Response=Yes (9 subjects, ie. 9 response to Yes for Treatment B as well); Response=NO (1 Subjects);&lt;/P&gt;
&lt;P&gt;Wired thing came out:&lt;/P&gt;
&lt;P&gt;When I use below code with the consideration of each subject as stratum, both the odds ratio and relative risk can't be produced.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=dar_s(where=(group=5));
     tables drgdsc1a*swaevl2C;
run;

proc freq data=dar_s (where=(group=5)) order=data;
        BY Group;
        table SBJ1N*drgdsc1a*SWAEVL2C /alpha=0.1 cmh noprint;
				output out=ODDS CMH;/*This table is used to calculate the p-value so as to make a commparison with the value produced from PROC LOGISTIC**/
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;IMG title="Q1.jpg" alt="Q1.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/4680i8C36F8EF00355970/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG title="Q2.jpg" alt="Q2.jpg" src="https://communities.sas.com/t5/image/serverpage/image-id/4681iF64807223B49E1B7/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;What is your suggestion? Should I not to consider the dependence?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Only use McNemar Test to assess whether the resposne results to two treatments are consistent and test whether the proportion between two treatment for Response=yes is equal?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Highly appreciated for your help .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;JACK&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 03:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Should-I-consider-the-correlation-when-calculate-Odds-ratio-and/m-p/293304#M15600</guid>
      <dc:creator>Jack2012</dc:creator>
      <dc:date>2016-08-23T03:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Should I consider the correlation when calculate Odds ratio and Relative Risk in Crossover desig</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Should-I-consider-the-correlation-when-calculate-Odds-ratio-and/m-p/293334#M15603</link>
      <description>&lt;PRE&gt;
"Question: I can't calculate the relative risk under this case, right?"
You can get that as long as it is 2x2 contingency table.
tables drgdsc1a*swaevl2C/relrisk(col=2) ;


If it was square table , why not use AGREE ?


tables drgdsc1a*swaevl2C/agree ;

&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Aug 2016 04:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Should-I-consider-the-correlation-when-calculate-Odds-ratio-and/m-p/293334#M15603</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-08-23T04:36:57Z</dc:date>
    </item>
  </channel>
</rss>

