<?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: How do I interpret chi square for dichotomous variables? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670106#M32003</link>
    <description>What kind of test do you want to do ?&lt;BR /&gt;If it is two way contingency table ,you need symbol '*' .&lt;BR /&gt;&lt;BR /&gt;Proc Freq data=filea;&lt;BR /&gt;tables Variable1*Variable2&lt;BR /&gt;/chisq   fisher  agree ;&lt;BR /&gt;run;</description>
    <pubDate>Fri, 17 Jul 2020 12:38:26 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2020-07-17T12:38:26Z</dc:date>
    <item>
      <title>How do I interpret chi square for dichotomous variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670051#M31999</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling with running tests on two dichotomous variables. I don't think I'm doing it correctly and I don't know how to interpret my output. My advisor said to do Chi-Square. When I do Chi square, I end up with info like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;chi square test for equal proportions&lt;/P&gt;&lt;P&gt;chi square: 703.7583&lt;/P&gt;&lt;P&gt;DF: 1&lt;/P&gt;&lt;P&gt;PR&amp;gt;ChiSq: &amp;lt;.0001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Freq&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=filea;&lt;/P&gt;&lt;P&gt;tables&amp;nbsp;Variable1 Variable2&lt;/P&gt;&lt;P&gt;/chisq;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help you can provide!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 04:34:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670051#M31999</guid>
      <dc:creator>LucasL</dc:creator>
      <dc:date>2020-07-17T04:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret chi square for dichotomous variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670100#M32002</link>
      <description>&lt;P&gt;The way you have it set up now, you will get two separate Chi-Square tests.&amp;nbsp; Each test will test whether the proportions for the two groups are the same.&amp;nbsp; Assuming that the output you posted was for Variable1, it is testing whether P(Variable1=Level 1)=P(Variable1=Level 2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be that your intention is to test the equality of independent proportions, in which case you need to cross the two variables on the TABLES statement.&lt;/P&gt;
&lt;P&gt;tables&amp;nbsp;Variable1*Variable2/chisq;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 12:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670100#M32002</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2020-07-17T12:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I interpret chi square for dichotomous variables?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670106#M32003</link>
      <description>What kind of test do you want to do ?&lt;BR /&gt;If it is two way contingency table ,you need symbol '*' .&lt;BR /&gt;&lt;BR /&gt;Proc Freq data=filea;&lt;BR /&gt;tables Variable1*Variable2&lt;BR /&gt;/chisq   fisher  agree ;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 17 Jul 2020 12:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-do-I-interpret-chi-square-for-dichotomous-variables/m-p/670106#M32003</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-07-17T12:38:26Z</dc:date>
    </item>
  </channel>
</rss>

