<?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: Exact p value proc reg in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397892#M96196</link>
    <description>&lt;P&gt;When you create an output data set from PROC REG using ODS OUTPUT, the p-value is automatically given a format which forces it to print as p&amp;lt;0.0001. If you give it a different format, it will print in whatever format you want. Although it's hard for me to envision a use for a p-value that is&amp;nbsp;correct to 14 decimal places.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2017 19:12:44 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-09-21T19:12:44Z</dc:date>
    <item>
      <title>Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397886#M96194</link>
      <description>&lt;P&gt;I would appreciate it if someone could advise me on&amp;nbsp;how to print out the exact p-value from a simple proc reg statement.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;model p-value output shows p&amp;lt;0.001 for some covariates but I would like the exact value like 0.000000000542&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TW&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 19:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397886#M96194</guid>
      <dc:creator>m_o</dc:creator>
      <dc:date>2017-09-21T19:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397892#M96196</link>
      <description>&lt;P&gt;When you create an output data set from PROC REG using ODS OUTPUT, the p-value is automatically given a format which forces it to print as p&amp;lt;0.0001. If you give it a different format, it will print in whatever format you want. Although it's hard for me to envision a use for a p-value that is&amp;nbsp;correct to 14 decimal places.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 19:12:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397892#M96196</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-21T19:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397900#M96200</link>
      <description>&lt;P&gt;Generate an output set as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;indicated and display the values with proc print, report or tabulate&amp;nbsp;setting the desired format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or delve into the wonders of Proc Template and change the format in the table definition (WAY Overkill but would be the way if you don't want to send output to a data set.)&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 19:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397900#M96200</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-21T19:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397905#M96203</link>
      <description>&lt;P&gt;Adding:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know what you are doing, but this seems like an abuse of the p-value, it seems like whatever use you might have for a p-value with 14 decimal places is invalid — with the possible except of confirming that your own algorithm to compute p-values&amp;nbsp;matches SAS, and I'd be shocked if PROC REG was the right way to do this.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 19:27:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397905#M96203</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-21T19:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397929#M96207</link>
      <description>&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;I needed it for a GWAS problem where there are lots of multiple comparisons &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code that worked was:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ods output ParameterEstimates=pval1;&lt;BR /&gt;proc reg data=&amp;nbsp;abc;&lt;BR /&gt;model aa = x1 x2&amp;nbsp;;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;proc contents data=pval1; /*to identify label for pvalue*/&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data pval2;&lt;BR /&gt;set pval1;&lt;BR /&gt;format Probt pvalue15.13;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 20:51:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397929#M96207</guid>
      <dc:creator>m_o</dc:creator>
      <dc:date>2017-09-21T20:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exact p value proc reg</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397943#M96213</link>
      <description>&lt;P&gt;Sorry, but you can't convince me that 14 decimal places are needed for multiple comparisons. This is improperly using the p-values.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 21:39:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exact-p-value-proc-reg/m-p/397943#M96213</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-09-21T21:39:31Z</dc:date>
    </item>
  </channel>
</rss>

