<?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 to get p value for each cell in freq table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945674#M370465</link>
    <description>I have only this kind of table (amount of people with different types of blood in 2003 and 2022)&lt;BR /&gt;2003 2022 p-value&lt;BR /&gt;O(I) 2345 1028 ?&lt;BR /&gt;A(II) 3402 4093 ?&lt;BR /&gt;B(III) 9807 3988 ?&lt;BR /&gt;AB(IV) 1008 1982 ?&lt;BR /&gt;&lt;BR /&gt;Is it possible to get p-value in the last column ?</description>
    <pubDate>Mon, 30 Sep 2024 11:05:08 GMT</pubDate>
    <dc:creator>Strs1309</dc:creator>
    <dc:date>2024-09-30T11:05:08Z</dc:date>
    <item>
      <title>How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945671#M370462</link>
      <description>Hello guys! I have got a problem which is really widespread I guess.&lt;BR /&gt;How can I output p-value for each cell in total column in proc freq procedure? Is it possible to output p-value for each row in cell in 2x2 frequency table?</description>
      <pubDate>Mon, 30 Sep 2024 10:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945671#M370462</guid>
      <dc:creator>Strs1309</dc:creator>
      <dc:date>2024-09-30T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945673#M370464</link>
      <description>&lt;P&gt;P-values are the result of a statistical test. What test are you running on "each cell"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically a "cell" isn't going to have a p-value at all because you aren't running a test on the cell. Some tests, such as Chi-square allow you to get the contribution to the overall test statistic.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 10:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945673#M370464</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-09-30T10:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945674#M370465</link>
      <description>I have only this kind of table (amount of people with different types of blood in 2003 and 2022)&lt;BR /&gt;2003 2022 p-value&lt;BR /&gt;O(I) 2345 1028 ?&lt;BR /&gt;A(II) 3402 4093 ?&lt;BR /&gt;B(III) 9807 3988 ?&lt;BR /&gt;AB(IV) 1008 1982 ?&lt;BR /&gt;&lt;BR /&gt;Is it possible to get p-value in the last column ?</description>
      <pubDate>Mon, 30 Sep 2024 11:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945674#M370465</guid>
      <dc:creator>Strs1309</dc:creator>
      <dc:date>2024-09-30T11:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945687#M370466</link>
      <description>&lt;P&gt;Repeating essentially what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;said&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are talking about a chi-squared test, you would not get a p-value for each row of the table. So I guess you are not talking about a chi-squared test. So please be specific: what test are your performing that will produce a p-value?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 13:03:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945687#M370466</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-09-30T13:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945699#M370469</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/463823"&gt;@Strs1309&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;I have only this kind of table (amount of people with different types of blood in 2003 and 2022)&lt;BR /&gt;2003 2022 p-value&lt;BR /&gt;O(I) 2345 1028 ?&lt;BR /&gt;A(II) 3402 4093 ?&lt;BR /&gt;B(III) 9807 3988 ?&lt;BR /&gt;AB(IV) 1008 1982 ?&lt;BR /&gt;&lt;BR /&gt;Is it possible to get p-value in the last column ?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In your first post you had:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Is it possible to output p-value for each row in cell in 2x2 frequency table?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;And then you show a 4x2 table. So is it a 2x2 or 4x2 or yet something else?&lt;/P&gt;
&lt;P&gt;Still have not mentioned what the test is supposed to be either.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 14:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945699#M370469</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-09-30T14:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get p value for each cell in freq table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945739#M370483</link>
      <description>&lt;P&gt;Does it make sense to get a probability for every cell in a crosstabulation.&amp;nbsp; I think you could not treat all those probabilities as independent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in the case of a 2*2 table, I believe that getting a "p-value" for a single cell will generate the same "p-value" for each of the other cells.&amp;nbsp; After all, given you start with row totals and columns totals, knowing the frequency of any single cell means you can calculate the frequency of any other cell.&amp;nbsp; After all, chi-square for a 2*2 table has degrees of freedom=1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 23:39:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-get-p-value-for-each-cell-in-freq-table/m-p/945739#M370483</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2024-09-30T23:39:07Z</dc:date>
    </item>
  </channel>
</rss>

