<?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: How come the percent format isn't working for proc means? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295583#M15755</link>
    <description>&lt;P&gt;Thanks Astounding! this is helpul to know:)&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2016 17:24:13 GMT</pubDate>
    <dc:creator>christinagting0</dc:creator>
    <dc:date>2016-08-31T17:24:13Z</dc:date>
    <item>
      <title>How come the percent format isn't working for proc means?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295540#M15753</link>
      <description>&lt;P&gt;I'm trying to format the mean as a percentage. this is the code I used:&lt;/P&gt;&lt;PRE&gt;proc means data=omrswork;
where count_carf1 &amp;gt;0 and count_carf2=0 and count_carf3=0 and count_carf4=0 and dc_fiscal_year=2 and dc_fiscal_year^=99 and percent_nscx^=.;
var percent_nscx;
format dc_fiscal_year fiscalyear. percent_nscx percent8.2 site site.;
run; &lt;/PRE&gt;&lt;P&gt;How come the percent.8.2 format isn't working for the actual mean that is calculated?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I run the proc means, the mean is still in decimal form.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295540#M15753</guid>
      <dc:creator>christinagting0</dc:creator>
      <dc:date>2016-08-31T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: How come the percent format isn't working for proc means?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295550#M15754</link>
      <description>&lt;P&gt;Christina,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a topic that has tripped up many people.&amp;nbsp; Here is the combination of factors at work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The format is being applied to the variable PERCENT_NSCX.&lt;/LI&gt;
&lt;LI&gt;PROC MEANS doesn't print PERCENT_NSCX.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Since PROC MEANS is calculating statistics, and printing the statistics (not the original variable), the format is ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Theoretically, you could ask PROC MEANS to create an output data set.&amp;nbsp; Then print the output data set while adding a FORMAT statement.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 15:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295550#M15754</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-08-31T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: How come the percent format isn't working for proc means?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295583#M15755</link>
      <description>&lt;P&gt;Thanks Astounding! this is helpul to know:)&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 17:24:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-come-the-percent-format-isn-t-working-for-proc-means/m-p/295583#M15755</guid>
      <dc:creator>christinagting0</dc:creator>
      <dc:date>2016-08-31T17:24:13Z</dc:date>
    </item>
  </channel>
</rss>

