<?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: add P-value in histogram in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/add-P-value-in-histogram/m-p/350621#M12177</link>
    <description>&lt;P&gt;the keywords for the INSET statement are listed in &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/68142/HTML/default/viewer.htm#procstat_univariate_syntax15.htm" target="_self"&gt;the PROC UNIVARIATE documentation&lt;/A&gt;. It sounds like you want the PROBS option. Here is some code for data in the SASHELP data set, which everyone can access:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=sashelp.cars normal;
var enginesize;
class Origin;
histogram enginesize / nrow = 3 odstitle = "VAR"
                   normal kernel nohlabel vscale = percent;
inset N = 'N' MEDIAN (8.2) MEAN (8.2) STD = 'Standard Deviation'(8.3) 
      PROBS  /* &amp;lt;== p-value for signed rank test */
      / position = nw ;
ods select histogram TestsForLocation;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 17 Apr 2017 19:34:53 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2017-04-17T19:34:53Z</dc:date>
    <item>
      <title>add P-value in histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/add-P-value-in-histogram/m-p/350562#M12168</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible to add p-value (signed rank) into a histogram picture ? &amp;nbsp;Below is my code and I attached a picture:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc univariate data=combine_1 normal;&lt;BR /&gt;var var_1;&lt;BR /&gt;class Group;&lt;BR /&gt;histogram var_1&amp;nbsp;/ midpoints = (0 to 100 by 5)&lt;BR /&gt;nrow = 3 odstitle = "VAR"&lt;BR /&gt;normal (color = red) kernel&lt;BR /&gt;cfill = ltgray ctext = blue&lt;BR /&gt;nohlabel&lt;BR /&gt;vscale = percent;&lt;BR /&gt;inset N = 'N' MEDIAN (8.2) MEAN (8.2) STD = 'Standard Deviation'(8.3) / position = nw ;&lt;BR /&gt;ods select histogram;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13718iB5A4961AE8570B5E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Histogram.png" title="Histogram.png" /&gt;</description>
      <pubDate>Mon, 17 Apr 2017 16:20:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/add-P-value-in-histogram/m-p/350562#M12168</guid>
      <dc:creator>echoli</dc:creator>
      <dc:date>2017-04-17T16:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: add P-value in histogram</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/add-P-value-in-histogram/m-p/350621#M12177</link>
      <description>&lt;P&gt;the keywords for the INSET statement are listed in &lt;A href="http://support.sas.com/documentation/cdl/en/procstat/68142/HTML/default/viewer.htm#procstat_univariate_syntax15.htm" target="_self"&gt;the PROC UNIVARIATE documentation&lt;/A&gt;. It sounds like you want the PROBS option. Here is some code for data in the SASHELP data set, which everyone can access:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=sashelp.cars normal;
var enginesize;
class Origin;
histogram enginesize / nrow = 3 odstitle = "VAR"
                   normal kernel nohlabel vscale = percent;
inset N = 'N' MEDIAN (8.2) MEAN (8.2) STD = 'Standard Deviation'(8.3) 
      PROBS  /* &amp;lt;== p-value for signed rank test */
      / position = nw ;
ods select histogram TestsForLocation;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Apr 2017 19:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/add-P-value-in-histogram/m-p/350621#M12177</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-04-17T19:34:53Z</dc:date>
    </item>
  </channel>
</rss>

