<?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 Why the Row percent Chisq value is the same as Col percent Chisq value? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834320#M41305</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use the Proc Freq to get Chisq value from Row percent and Column percent.&amp;nbsp; I found the result came back the same, why?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=have;
	table  Insurance * PT_class / chisq nopercent norow;
	where 	PT_class in (1,2) and insurance in (1,2,4);
run;

proc freq data=have;
	table  Insurance * PT_class / chisq nopercent nocol;
	where 	PT_class in (1,2) and insurance in (1,2,4);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Sep 2022 16:32:56 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2022-09-20T16:32:56Z</dc:date>
    <item>
      <title>Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834320#M41305</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use the Proc Freq to get Chisq value from Row percent and Column percent.&amp;nbsp; I found the result came back the same, why?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=have;
	table  Insurance * PT_class / chisq nopercent norow;
	where 	PT_class in (1,2) and insurance in (1,2,4);
run;

proc freq data=have;
	table  Insurance * PT_class / chisq nopercent nocol;
	where 	PT_class in (1,2) and insurance in (1,2,4);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 16:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834320#M41305</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-09-20T16:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834321#M41306</link>
      <description>&lt;P&gt;It's the same data, and so you get the same Chi-squared value. The fact that different output options are chosen does not affect the Chi-squared value.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 16:34:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834321#M41306</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-20T16:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834322#M41307</link>
      <description>Should the chisq value in the comparison of column percent and row percent be different?</description>
      <pubDate>Tue, 20 Sep 2022 16:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834322#M41307</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2022-09-20T16:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834329#M41308</link>
      <description>The chi-square is testing the association of the row and column variables in the table as a whole. It is not comparing rows irrespective of the columns or vice versa.  Equivalently, the chi-square can be thought of as comparing the row profiles or the column profiles, but it is a matter of convenience to state it as one or the other since they are equivalent comparisons. Again, it is testing the table overall, not just the rows or just the columns. Consequently, the NOROW and NOCOL options have no effect on the chi-square computation.</description>
      <pubDate>Tue, 20 Sep 2022 17:00:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834329#M41308</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2022-09-20T17:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834330#M41309</link>
      <description>&lt;P&gt;You can add the CellChi option to see the CELL contribution to the chi-square statistic. The "row" and "column" do not get a contribution. The counts are used to calculate the cell contributions but there is no actual "row chi-square".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 17:02:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834330#M41309</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-09-20T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why the Row percent Chisq value is the same as Col percent Chisq value?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834342#M41310</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/67134"&gt;@ybz12003&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Should the chisq value in the comparison of column percent and row percent be different?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. All you have changed is the information that is displayed in the output from PROC FREQ. You have not changed the calculation of Chi-squared.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 18:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Why-the-Row-percent-Chisq-value-is-the-same-as-Col-percent-Chisq/m-p/834342#M41310</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-09-20T18:00:05Z</dc:date>
    </item>
  </channel>
</rss>

