<?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 freq format output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135778#M36677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;
proc format;
picture fmt
 low-high='09.9)' (prefix='(') ;
run;
proc freq data=sashelp.class noprint;
table sex/out=want;
run;
data want;
 set want;
 format PERCENT fmt8.;
run;
proc print;run;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Jan 2015 08:17:12 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-01-24T08:17:12Z</dc:date>
    <item>
      <title>proc freq format output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135775#M36674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SAS community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to format the proc format output. H&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ow do I get SAS to display the percent values rounded to 1 decimal?&amp;nbsp; Can I add custom formats as well, specifically parentheses around the percent value?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;For example, ColPer = 55.25.&amp;nbsp; I would like the output to read (55.3).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks!eq&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 18:44:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135775#M36674</guid>
      <dc:creator>sophia_SAS</dc:creator>
      <dc:date>2015-01-23T18:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq format output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135776#M36675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into proc tabulate instead and then the answer is yes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can with Proc Freq, but its much more difficult. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 18:48:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135776#M36675</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-01-23T18:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq format output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135777#M36676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look in&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://communities.sas.com/thread/64711"&gt;https://communities.sas.com/thread/64711&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for similar discussion.&lt;/P&gt;&lt;P&gt;There is some difference whether you are doing one-way or cross-tabs as to approach if you must use Freq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tabulate or possibly Proc report may be better bets though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jan 2015 19:08:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135777#M36676</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-23T19:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc freq format output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135778#M36677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;
proc format;
picture fmt
 low-high='09.9)' (prefix='(') ;
run;
proc freq data=sashelp.class noprint;
table sex/out=want;
run;
data want;
 set want;
 format PERCENT fmt8.;
run;
proc print;run;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Xia Keshan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jan 2015 08:17:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-freq-format-output/m-p/135778#M36677</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-01-24T08:17:12Z</dc:date>
    </item>
  </channel>
</rss>

