<?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 95% CI for ratios in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/95-CI-for-ratios/m-p/49531#M2197</link>
    <description>what is the correct method and SAS procedure to calculate the 95% confidence interval of the difference of rates in 2 groups? &lt;BR /&gt;
&lt;BR /&gt;
For example, group A has 28 subjects and 20 improved, group B has 14 subjects and 8 improved. So the improvement rate for group A is 20/28=71.4%, improvement rate for group B is 8/14=57.1%. The difference of rates is 0.14. what is the right way to calculate 95% CI for that?</description>
    <pubDate>Sun, 31 Jan 2010 05:32:09 GMT</pubDate>
    <dc:creator>abdullala</dc:creator>
    <dc:date>2010-01-31T05:32:09Z</dc:date>
    <item>
      <title>95% CI for ratios</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/95-CI-for-ratios/m-p/49531#M2197</link>
      <description>what is the correct method and SAS procedure to calculate the 95% confidence interval of the difference of rates in 2 groups? &lt;BR /&gt;
&lt;BR /&gt;
For example, group A has 28 subjects and 20 improved, group B has 14 subjects and 8 improved. So the improvement rate for group A is 20/28=71.4%, improvement rate for group B is 8/14=57.1%. The difference of rates is 0.14. what is the right way to calculate 95% CI for that?</description>
      <pubDate>Sun, 31 Jan 2010 05:32:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/95-CI-for-ratios/m-p/49531#M2197</guid>
      <dc:creator>abdullala</dc:creator>
      <dc:date>2010-01-31T05:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: 95% CI for ratios</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/95-CI-for-ratios/m-p/49532#M2198</link>
      <description>Set it up as a 2 x 2  table in PROC FREQ and use the RISKDIFF option:&lt;BR /&gt;
&lt;BR /&gt;
data a;&lt;BR /&gt;
  do group='A','B';&lt;BR /&gt;
  do response='Improved','Unimproved';&lt;BR /&gt;
    input f @@;&lt;BR /&gt;
    output;&lt;BR /&gt;
  end;&lt;BR /&gt;
  end;&lt;BR /&gt;
  datalines;&lt;BR /&gt;
20 8&lt;BR /&gt;
8  6&lt;BR /&gt;
;&lt;BR /&gt;
proc freq;&lt;BR /&gt;
  weight f;&lt;BR /&gt;
  table group*response / riskdiff;&lt;BR /&gt;
  run;</description>
      <pubDate>Fri, 05 Feb 2010 21:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/95-CI-for-ratios/m-p/49532#M2198</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2010-02-05T21:09:29Z</dc:date>
    </item>
  </channel>
</rss>

