<?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: Test for p-value in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395092#M66451</link>
    <description>&lt;P&gt;Thanks for the note.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to test&lt;/P&gt;&lt;P&gt;(1) whether cat_var is statistically significant between each comparison group.&lt;/P&gt;&lt;P&gt;(2) whether the value (proportion) for each level of cat_var is different from each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question(1), usually chi-square by using proc freq for 'categorical var by categorical var' is used, however, I am not sure which test to use for ordinal variable by categorical variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2017 13:31:58 GMT</pubDate>
    <dc:creator>cpulala</dc:creator>
    <dc:date>2017-09-12T13:31:58Z</dc:date>
    <item>
      <title>Test for p-value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395085#M66449</link>
      <description>&lt;P&gt;Hi I wanted to report p-value for this table&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column variables are &lt;FONT color="#0000FF"&gt;ordinal&lt;/FONT&gt; variables &amp;nbsp;(&lt;FONT color="#0000FF"&gt;4&lt;/FONT&gt; levels)&lt;/P&gt;&lt;P&gt;The row variables are &lt;FONT color="#0000FF"&gt;categorical&lt;/FONT&gt; variables (&lt;FONT color="#0000FF"&gt;4&lt;/FONT&gt; levels)&lt;/P&gt;&lt;P&gt;Table cells are reported as &lt;FONT color="#0000FF"&gt;proportions&lt;/FONT&gt; for each categorical variable by column. The total number of observations for each column is &lt;U&gt;different&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;group1 &amp;nbsp;group2 &amp;nbsp;group3 &amp;nbsp;group4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; p-value&lt;/P&gt;&lt;P&gt;cat_var &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#FF6600"&gt;P&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; level 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#008000"&gt;P1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; level 2 &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#008000"&gt;P2&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; level 3 &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#008000"&gt;P3&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; level 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; % &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;% &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#008000"&gt;P4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are&lt;/P&gt;&lt;P&gt;(1) which test to use for the P-value (row variable by column variable) in orange color&lt;/P&gt;&lt;P&gt;(2) which test for the p-value in green color, to have the p-value for each level by column variable (cell value reported as proportion)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:09:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395085#M66449</guid>
      <dc:creator>cpulala</dc:creator>
      <dc:date>2017-09-12T13:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Test for p-value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395090#M66450</link>
      <description>&lt;P&gt;Please state the hyptheses you are trying to test and get p-values for.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:25:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395090#M66450</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-12T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Test for p-value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395092#M66451</link>
      <description>&lt;P&gt;Thanks for the note.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to test&lt;/P&gt;&lt;P&gt;(1) whether cat_var is statistically significant between each comparison group.&lt;/P&gt;&lt;P&gt;(2) whether the value (proportion) for each level of cat_var is different from each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question(1), usually chi-square by using proc freq for 'categorical var by categorical var' is used, however, I am not sure which test to use for ordinal variable by categorical variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:31:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395092#M66451</guid>
      <dc:creator>cpulala</dc:creator>
      <dc:date>2017-09-12T13:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Test for p-value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395094#M66452</link>
      <description>&lt;P&gt;What are you testing for? Association? Trend?&amp;nbsp;Are you trying to model cat_var by group_var (or vice versa)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you use counts instead of proportions and analyze the data with PROC FREQ. &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/68142/HTML/default/viewer.htm#procstat_freq_examples.htm" target="_self"&gt;The documentation&amp;nbsp;has many examples &lt;/A&gt;that you can read and see if any of them are similar to what you want to analyze. You can also find many many SAS proceedings papers that describe the many statistical tests in PROC FREQ. Search for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;sas "proc freq" test site:sas.com/proceedings&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395094#M66452</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-09-12T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Test for p-value</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395098#M66454</link>
      <description>&lt;P&gt;Thanks. Please see the previous response on the hypothesis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understood the proc freq for categorical variables, but not sure which test to use when ordinal variables were involved. I can deem the ordinal variable as categorical, but only when there is no specific way for the oridinal&amp;nbsp;variable by categorical variable (over 2 levels).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 13:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Test-for-p-value/m-p/395098#M66454</guid>
      <dc:creator>cpulala</dc:creator>
      <dc:date>2017-09-12T13:46:31Z</dc:date>
    </item>
  </channel>
</rss>

