<?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 odds ratio and 95% CI in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822685#M40722</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to figure out the prevalence of MDROs in urban and rural communities in my state. My professors say I need the proportion with 95% CI for which I am using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;proc freq data=thesis order=data;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;tables RUCA_3CAT*mdro_res / chisq relrisk;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;exact pchi or;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;title 'RUCA MDRO RES';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;***ruca_3cat is the variable for where the participants live and mdro_res is for MDRO results &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am not sure I am using the right thing for this, specially as this is not giving me odds ratios. Can someone help with this?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks,&amp;nbsp;&lt;BR /&gt;LSAK&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 21:23:28 GMT</pubDate>
    <dc:creator>lsak</dc:creator>
    <dc:date>2022-07-11T21:23:28Z</dc:date>
    <item>
      <title>odds ratio and 95% CI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822685#M40722</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to figure out the prevalence of MDROs in urban and rural communities in my state. My professors say I need the proportion with 95% CI for which I am using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;proc freq data=thesis order=data;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;tables RUCA_3CAT*mdro_res / chisq relrisk;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;exact pchi or;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;title 'RUCA MDRO RES';&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial black,avant garde"&gt;run;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;***ruca_3cat is the variable for where the participants live and mdro_res is for MDRO results &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I am not sure I am using the right thing for this, specially as this is not giving me odds ratios. Can someone help with this?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks,&amp;nbsp;&lt;BR /&gt;LSAK&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 21:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822685#M40722</guid>
      <dc:creator>lsak</dc:creator>
      <dc:date>2022-07-11T21:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio and 95% CI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822695#M40723</link>
      <description>That should certainly give you odds ratios but only if the both variables have only two levels.</description>
      <pubDate>Mon, 11 Jul 2022 21:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822695#M40723</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-07-11T21:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio and 95% CI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822696#M40724</link>
      <description>&lt;P&gt;What does the LOG show when you run that code?&lt;/P&gt;
&lt;P&gt;I suspect you are getting something like:&lt;/P&gt;
&lt;PRE&gt;NOTE: OR estimates are computed only for 2x2 tables.
&lt;/PRE&gt;
&lt;P&gt;Which means that if you want confidence limits of the odds ratios then Proc Freq is not appropriate. Which if you want confidence limits on odds ratios likely points to Proc Logistic.&lt;/P&gt;
&lt;P&gt;One suspects that a variable with the bit _3CAT in the name may refer to a variable with 3 category levels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 21:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822696#M40724</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-07-11T21:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio and 95% CI</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822704#M40725</link>
      <description>&lt;P&gt;And if you do have more than two categories, you need to use PROC LOGISTIC instead.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings12/427-2012.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings12/427-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=9_Zh-tal7Og" target="_blank"&gt;https://www.youtube.com/watch?v=9_Zh-tal7Og&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 22:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/odds-ratio-and-95-CI/m-p/822704#M40725</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-07-11T22:42:13Z</dc:date>
    </item>
  </channel>
</rss>

