<?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: Two-sample proportions test in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41902#M1811</link>
    <description>I think rather than %, calculate freq/counts and then you can use a proc freq to get the difference between cohorts for the different ratios and calculate odds ratio between the two. &lt;BR /&gt;
&lt;BR /&gt;
Hopefully someone can verify that's correct...</description>
    <pubDate>Thu, 31 Mar 2011 23:53:51 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2011-03-31T23:53:51Z</dc:date>
    <item>
      <title>Two-sample proportions test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41901#M1810</link>
      <description>I have 2 cohorts with counts of an event for each.  But I've calculated 3 different relative percentages - % of the overall cohort, % of all those patients who have evidence of the event and % of patients in a similar age group.  So the denominator in the % changes for each.&lt;BR /&gt;
&lt;BR /&gt;
I've done a chi-squared test but I don't think that's entirely what I want.  Basically I want to test the 2-sample proportion values for each type of proportion to test whether p(cohort1)=p(cohort2) and I'm just not thinking clearly.&lt;BR /&gt;
&lt;BR /&gt;
What am I missing???  Or doesn't it matter?&lt;BR /&gt;
&lt;BR /&gt;
Sue</description>
      <pubDate>Thu, 31 Mar 2011 19:14:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41901#M1810</guid>
      <dc:creator>SusieQ324</dc:creator>
      <dc:date>2011-03-31T19:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Two-sample proportions test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41902#M1811</link>
      <description>I think rather than %, calculate freq/counts and then you can use a proc freq to get the difference between cohorts for the different ratios and calculate odds ratio between the two. &lt;BR /&gt;
&lt;BR /&gt;
Hopefully someone can verify that's correct...</description>
      <pubDate>Thu, 31 Mar 2011 23:53:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41902#M1811</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2011-03-31T23:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Two-sample proportions test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41903#M1812</link>
      <description>How about:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc freq data=data;&lt;BR /&gt;
 tables a*b /chisq riskdiff;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
riskdiff will give difference in proportion and its limited interval.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Mon, 04 Apr 2011 04:13:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Two-sample-proportions-test/m-p/41903#M1812</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-04-04T04:13:36Z</dc:date>
    </item>
  </channel>
</rss>

