<?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: proc means format pValue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786511#M251138</link>
    <description>Apply the PVALUE format to the variable. &lt;BR /&gt;&lt;BR /&gt;format p_value pvalue6.4;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/1.0/leforinforref/p0pzklcc1zxivxn1js2y5nkg2wq9.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/vdmmlcdc/1.0/leforinforref/p0pzklcc1zxivxn1js2y5nkg2wq9.htm&lt;/A&gt;</description>
    <pubDate>Fri, 17 Dec 2021 16:29:55 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-12-17T16:29:55Z</dc:date>
    <item>
      <title>proc means format pValue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786496#M251129</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I have a question about the prt value in proc means.&lt;/P&gt;
&lt;P&gt;for a example using this example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input dosis;
datalines;
21
15
19
18
20

;
run;


proc means data=test prt;
var dosis;
output out=results prt=p_Value;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this results for prt in the Result Viewer window&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_0-1639756629326.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66828i90EDF37B85177311/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_0-1639756629326.png" alt="Anita_n_0-1639756629326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but in the output dataset this is changed to this (the less than symbol disappears) Is there anyway to avoid this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_1-1639756727880.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66829i03FD421F55EF69B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_1-1639756727880.png" alt="Anita_n_1-1639756727880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786496#M251129</guid>
      <dc:creator>Anita_n</dc:creator>
      <dc:date>2021-12-17T16:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: proc means format pValue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786509#M251136</link>
      <description>&lt;P&gt;The symbol you see is in a table generating template for creating the Proc Means output. It does not exist in the data. You can assign a LABEL to the variable after you have created the data set to display different text when desired.&lt;/P&gt;
&lt;P&gt;Note that generally variable names only contain letters, digits and the _ character, not special character like &amp;lt;. That can be done but generally the resulting extra work with code isn't worth the headache, at least in my opinion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of changing the label of the variable in the data set you create and then showing it with Proc Print:&lt;/P&gt;
&lt;PRE&gt;proc datasets library=work nodetails;
modify results;
label p_value='Pr &amp;gt; |t|';
run;
quit;

proc print data=results noobs label;
run;&lt;/PRE&gt;
&lt;P&gt;Many procedures will show the label by default, others such as Print need to be told when to use it. Others like Proc Freq may show both.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/168930"&gt;@Anita_n&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Dear all,&lt;/P&gt;
&lt;P&gt;I have a question about the prt value in proc means.&lt;/P&gt;
&lt;P&gt;for a example using this example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;
input dosis;
datalines;
21
15
19
18
20

;
run;


proc means data=test prt;
var dosis;
output out=results prt=p_Value;
run; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I get this results for prt in the Result Viewer window&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_0-1639756629326.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66828i90EDF37B85177311/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_0-1639756629326.png" alt="Anita_n_0-1639756629326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but in the output dataset this is changed to this (the less than symbol disappears) Is there anyway to avoid this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anita_n_1-1639756727880.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/66829i03FD421F55EF69B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anita_n_1-1639756727880.png" alt="Anita_n_1-1639756727880.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:27:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786509#M251136</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-17T16:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc means format pValue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786511#M251138</link>
      <description>Apply the PVALUE format to the variable. &lt;BR /&gt;&lt;BR /&gt;format p_value pvalue6.4;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/1.0/leforinforref/p0pzklcc1zxivxn1js2y5nkg2wq9.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/vdmmlcdc/1.0/leforinforref/p0pzklcc1zxivxn1js2y5nkg2wq9.htm&lt;/A&gt;</description>
      <pubDate>Fri, 17 Dec 2021 16:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-means-format-pValue/m-p/786511#M251138</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-17T16:29:55Z</dc:date>
    </item>
  </channel>
</rss>

