<?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: Testing proportions from 2 different samples. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-proportions-from-2-different-samples/m-p/155540#M8095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could use PROC FREQ and the CHISQ?&lt;/P&gt;&lt;P&gt;Chi-sq will tell you that at least two of the proportions differ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:you may need to re-arrange your data something like:&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input sample $ ethnicity $;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;A white&lt;/P&gt;&lt;P&gt;A white&lt;/P&gt;&lt;P&gt;B black&lt;/P&gt;&lt;P&gt;B white&lt;/P&gt;&lt;P&gt;B asian&lt;/P&gt;&lt;P&gt;A asian&lt;/P&gt;&lt;P&gt;A asian&lt;/P&gt;&lt;P&gt;B black&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data = have;&lt;/P&gt;&lt;P&gt;tables sample*ethnicity/chisq;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Message was edited by: Anca Tilea&#xD;
&#xD;
And this link actually offers more details and probably what you need:&#xD;
&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/22/565.html"&gt;http://support.sas.com/kb/22/565.html&lt;/A&gt;&lt;SPAN&gt;&#xD;
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2014 14:47:08 GMT</pubDate>
    <dc:creator>AncaTilea</dc:creator>
    <dc:date>2014-01-29T14:47:08Z</dc:date>
    <item>
      <title>Testing proportions from 2 different samples.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-proportions-from-2-different-samples/m-p/155539#M8094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to carry out a statistical significance test to see if there's a difference in proportions from 2 different samples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say I have 3 different ethnic groups namely Caucasian, Asian and Others in sample A and sample B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I test if proportion of Caucasian in sample A is statistically different from the proportion of Caucasian in sample B? Same to that of Asian and Others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 13:22:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-proportions-from-2-different-samples/m-p/155539#M8094</guid>
      <dc:creator>Miracle</dc:creator>
      <dc:date>2014-01-29T13:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Testing proportions from 2 different samples.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-proportions-from-2-different-samples/m-p/155540#M8095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could use PROC FREQ and the CHISQ?&lt;/P&gt;&lt;P&gt;Chi-sq will tell you that at least two of the proportions differ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:you may need to re-arrange your data something like:&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input sample $ ethnicity $;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;A white&lt;/P&gt;&lt;P&gt;A white&lt;/P&gt;&lt;P&gt;B black&lt;/P&gt;&lt;P&gt;B white&lt;/P&gt;&lt;P&gt;B asian&lt;/P&gt;&lt;P&gt;A asian&lt;/P&gt;&lt;P&gt;A asian&lt;/P&gt;&lt;P&gt;B black&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data = have;&lt;/P&gt;&lt;P&gt;tables sample*ethnicity/chisq;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Message was edited by: Anca Tilea&#xD;
&#xD;
And this link actually offers more details and probably what you need:&#xD;
&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/kb/22/565.html"&gt;http://support.sas.com/kb/22/565.html&lt;/A&gt;&lt;SPAN&gt;&#xD;
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2014 14:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-proportions-from-2-different-samples/m-p/155540#M8095</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2014-01-29T14:47:08Z</dc:date>
    </item>
  </channel>
</rss>

