<?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: p-value format in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304364#M20631</link>
    <description>&lt;P&gt;The SAS format for this is &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000205131.htm" target="_blank"&gt;Ew.&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2016 13:28:35 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-10-13T13:28:35Z</dc:date>
    <item>
      <title>p-value format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304363#M20630</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like for my procedures (for example 'proc logistic') to output (html) p-values in a scientific format. I already used a proc template before to output the p-values the exact way, but now I would like it in the form of:&amp;nbsp;xE-d, where the E stands for 10. E.g.: 0.00012 should become 1.2E-4. I could not find any format of that kind.&lt;/P&gt;&lt;P&gt;Can someone&amp;nbsp;help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304363#M20630</guid>
      <dc:creator>MaartenC</dc:creator>
      <dc:date>2016-10-13T13:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: p-value format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304364#M20631</link>
      <description>&lt;P&gt;The SAS format for this is &lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000205131.htm" target="_blank"&gt;Ew.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2016 13:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304364#M20631</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-13T13:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: p-value format</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304428#M20648</link>
      <description>&lt;P&gt;You might also be interested in how SAS works with p-value and odds ratio formats behind-the-scenes -&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS﻿&lt;/a&gt;&amp;nbsp;wrote &lt;A href="http://blogs.sas.com/content/iml/2016/08/15/formats-p-values-odds-ratios-sas.html" target="_self"&gt;a blog post about this&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sample code that demonstrates:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data FmtExample(drop=d);
do d = -5 to 3;
   raw = 10**d;
   oddsRatio = raw;
   if d&amp;lt;=0 then pVal = raw;   /* a p-value must be less than 1 */
   else pVal = .;
   output;
end;
format raw BEST8. oddsRatio ODDSR8.3 pVal PVALUE6.4;
run;
 
options missing=" ";          /* display missing values as blanks */
proc print noobs; run;
options missing=".";          /* reset display of missing values */&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Oct 2016 17:22:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/p-value-format/m-p/304428#M20648</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-10-13T17:22:43Z</dc:date>
    </item>
  </channel>
</rss>

