<?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: Print more decimals for p-value in proc freq in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702680#M25937</link>
    <description>&lt;P&gt;Are you aware of statistical analyses or reports that find justification in ranking/comparing numerous p-values, all less than &amp;lt;.0001?&amp;nbsp; I'd be very interested in knowing the context.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 01:01:41 GMT</pubDate>
    <dc:creator>mkeintz</dc:creator>
    <dc:date>2020-12-01T01:01:41Z</dc:date>
    <item>
      <title>Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702637#M25931</link>
      <description>&lt;P&gt;Hi SAS communities,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a solution to print more decimals for my p-values generated via a proc freq chisq procedure. I would ideally like to have 10-12 decimals printed as I am performing bivariate analyses and need to compare highly significant values (currently all my p-values are printing &amp;lt;0.0001). I'm definitely open to other ways to get a p-value other than a proc freq chisq procedure, I just need to be able to test the association between two variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 21:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702637#M25931</guid>
      <dc:creator>mlensing</dc:creator>
      <dc:date>2020-11-30T21:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702652#M25933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/309587"&gt;@mlensing&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mostly use an ODS output dataset if I want to see more decimals of a statistic. In your example add&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output chisq=csq;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;before (or in) the PROC FREQ step -- &lt;FONT face="courier new,courier"&gt;csq&lt;/FONT&gt; is just an arbitrary dataset name. Then use, e.g., PROC PRINT to show the values with a suitable format:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=csq;
format prob 14.12;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To change the display format directly in PROC FREQ output, you would need to modify the ODS template. I recently suggested this in another thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-formats-of-the-output-dataset/m-p/699850/highlight/true#M33761" target="_blank" rel="noopener"&gt;https://communities.sas.com/t5/Statistical-Procedures/Proc-mixed-formats-of-the-output-dataset/m-p/699850/highlight/true#M33761&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 21:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702652#M25933</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-11-30T21:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702653#M25934</link>
      <description>&lt;P&gt;You will likely get some push back on "more significant" (I'm one) but&amp;nbsp; just specify a larger value for the format such as&lt;/P&gt;
&lt;P&gt;format variablename f32.30; to display up to 30 decimals. 32 is the maximum number of digits the format supports.&lt;/P&gt;
&lt;P&gt;So send the output of the test to data set and use another procedure to print the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that there is likely to be some machine precision issues with anything showing 15 or more decimal places.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you didn't pick your rejection regions/ significance level before the test the values are "not more significant".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 21:55:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702653#M25934</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-30T21:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702680#M25937</link>
      <description>&lt;P&gt;Are you aware of statistical analyses or reports that find justification in ranking/comparing numerous p-values, all less than &amp;lt;.0001?&amp;nbsp; I'd be very interested in knowing the context.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 01:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702680#M25937</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-12-01T01:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702704#M25938</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all, thank you for your clarifying comments. I am needing to "compare significance" among my bivariate interactions to determine the order in which terms should be introduced into my logistic regression model to compare model fit through -2LL tests. The instructors for the course I am in that suggest this step tend to be against automated variable selection tools and so this is part of our intentional/purposeful modeling.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 02:25:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702704#M25938</guid>
      <dc:creator>mlensing</dc:creator>
      <dc:date>2020-12-01T02:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Print more decimals for p-value in proc freq</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702733#M25940</link>
      <description>Thank you so much!</description>
      <pubDate>Tue, 01 Dec 2020 04:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Print-more-decimals-for-p-value-in-proc-freq/m-p/702733#M25940</guid>
      <dc:creator>mlensing</dc:creator>
      <dc:date>2020-12-01T04:54:07Z</dc:date>
    </item>
  </channel>
</rss>

