<?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 the equality of 2 proportions / Chi-square / Z-test in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346518#M18219</link>
    <description>&lt;P&gt;Include the polychotomous variable as a BY variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Apr 2017 19:35:36 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-04-02T19:35:36Z</dc:date>
    <item>
      <title>Testing the equality of 2 proportions / Chi-square / Z-test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346497#M18218</link>
      <description>&lt;P&gt;I want to test the equality of 2 proportions, but I want to do it for each level of a nominal, polychotomous variable. For example, gender (dichotomous) and race (polychotomous). I want to compare the proportion of males that are caucasian, for example, to the proportion of females that are caucasian, and so on. I want the same comparison for each level of the polychotomous variable race. If there are 5 levels of race, I want 5 comparisons w/ p-values, difference in proportion and CI of the difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand that if the 2 variables are dichotomous I can use PROC FREQ w/ the &lt;SPAN&gt;CHISQ and RISKDIFF options for the statistical significance, the difference between proportions and the CI for that difference, but i&lt;/SPAN&gt;&lt;SPAN&gt;s there a way to perform this analysis without having to dichotomize a polychotomous variable?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 17:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346497#M18218</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2017-04-02T17:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Testing the equality of 2 proportions / Chi-square / Z-test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346518#M18219</link>
      <description>&lt;P&gt;Include the polychotomous variable as a BY variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 19:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346518#M18219</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-02T19:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Testing the equality of 2 proportions / Chi-square / Z-test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346555#M18222</link>
      <description>&lt;PRE&gt;
Possion regression might do this.
proc genmod + offset= option


&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2017 01:36:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346555#M18222</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-04-03T01:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Testing the equality of 2 proportions / Chi-square / Z-test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346562#M18223</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I do that I get the following NOTES in the log:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: No statistics are computed for race_ethn * gender because all data are missing.&lt;BR /&gt;NOTE: The above message was for the following BY group:&lt;BR /&gt;race_ethn=.&lt;BR /&gt;NOTE: No statistics are computed for race_ethn * gender because race_ethn has less than 2 nonmissing levels.&lt;BR /&gt;NOTE: The above message was for the following BY group:&lt;BR /&gt;race_ethn=Caucasian&lt;BR /&gt;NOTE: No statistics are computed for race_ethn * gender because race_ethn has less than 2 nonmissing levels.&lt;BR /&gt;NOTE: The above message was for the following BY group:&lt;BR /&gt;race_ethn=Black/African American/Hispanic&lt;BR /&gt;NOTE: No statistics are computed for race_ethn * gender because race_ethn has less than 2 nonmissing levels.&lt;BR /&gt;NOTE: The above message was for the following BY group:&lt;BR /&gt;race_ethn=Native American/Asian/Pacific Islander&lt;BR /&gt;NOTE: No statistics are computed for race_ethn * gender because race_ethn has less than 2 nonmissing levels.&lt;BR /&gt;NOTE: The above message was for the following BY group:&lt;BR /&gt;race_ethn=Other&lt;BR /&gt;NOTE: There were 2774 observations read from the data set SURVEY.CSCSP_2016_POST_SORT.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 03:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346562#M18223</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2017-04-03T03:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Testing the equality of 2 proportions / Chi-square / Z-test</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346565#M18224</link>
      <description>&lt;P&gt;Your BY variables shouldn't be in the TABLES statement&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 04:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-the-equality-of-2-proportions-Chi-square-Z-test/m-p/346565#M18224</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-03T04:33:37Z</dc:date>
    </item>
  </channel>
</rss>

