<?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 Comparions/P-value/right test in sas in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95925#M4807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset that looks like the following,&lt;/P&gt;&lt;P&gt;variable x&amp;nbsp; :1 = very worried, 2 = slightly worried ,3 = Not worried&lt;/P&gt;&lt;P&gt;variable y : 1&amp;nbsp; = more likely, 2 = no change ,3 = less likely&lt;BR /&gt;I would like to comparsion the factor variable x and outcome variable y.&lt;/P&gt;&lt;P&gt;Which 's test inside sas will give the right p-value?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 16:17:15 GMT</pubDate>
    <dc:creator>ChristinaWang</dc:creator>
    <dc:date>2012-04-26T16:17:15Z</dc:date>
    <item>
      <title>Comparions/P-value/right test in sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95925#M4807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dataset that looks like the following,&lt;/P&gt;&lt;P&gt;variable x&amp;nbsp; :1 = very worried, 2 = slightly worried ,3 = Not worried&lt;/P&gt;&lt;P&gt;variable y : 1&amp;nbsp; = more likely, 2 = no change ,3 = less likely&lt;BR /&gt;I would like to comparsion the factor variable x and outcome variable y.&lt;/P&gt;&lt;P&gt;Which 's test inside sas will give the right p-value?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 16:17:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95925#M4807</guid>
      <dc:creator>ChristinaWang</dc:creator>
      <dc:date>2012-04-26T16:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Comparions/P-value/right test in sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95926#M4808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good general purpose test for the relationship between two categorical variables is Fisher's exact test. If your number of observations is not too large ( &amp;lt; 100 say), use the following :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc freq data=myData;&lt;/P&gt;&lt;P&gt;tables x*y;&lt;/P&gt;&lt;P&gt;exact Fisher / maxtime=20;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;If the computation doesn't terminate within 20 seconds, add the MC option to the EXACT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 16:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95926#M4808</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-04-26T16:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Comparions/P-value/right test in sas</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95927#M4809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Christina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Right" is a very slippery term in this sort of analysis.&amp;nbsp; There is probably no single answer.&amp;nbsp; There is a huge literature on testing association among ordered variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Fisher's Exact Test that PG recommended is a general purpose test that could be used, but it is known to be conservative.&amp;nbsp; If your sample size is larger, then you could use the Chi-Squared test that is part of PROC FREQ to address general association.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither of these tests take advantage of the inherent ordering of the two variables.&amp;nbsp; I prefer Kendall's Tau-b (also part of FREQ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 14:33:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Comparions-P-value-right-test-in-sas/m-p/95927#M4809</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-05-03T14:33:40Z</dc:date>
    </item>
  </channel>
</rss>

