<?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 PROC UNIVARIATE (Histogram) Formatting of Variables in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289582#M19770</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using SAS EG and doing a Historgram using PROC UNIVARIATE (SAS EG 6.1 running SAS 9.2 TS2M3 on LINUX).&amp;nbsp; I'm suppressing the actual charts but putting the output variables to a table (mean, std, median, var, etc). Is there a way to format these output variables to something like 8.2 or the like in the actual PROC itself?&amp;nbsp; I could create another datastep to do this but I don't want to add another step.&amp;nbsp;There's probably no way using the actual Distribution 'node' in EG, but maybe just using the SAS code for PROC UNIVARIATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 16:38:40 GMT</pubDate>
    <dc:creator>bendsteel6</dc:creator>
    <dc:date>2016-08-04T16:38:40Z</dc:date>
    <item>
      <title>PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289582#M19770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using SAS EG and doing a Historgram using PROC UNIVARIATE (SAS EG 6.1 running SAS 9.2 TS2M3 on LINUX).&amp;nbsp; I'm suppressing the actual charts but putting the output variables to a table (mean, std, median, var, etc). Is there a way to format these output variables to something like 8.2 or the like in the actual PROC itself?&amp;nbsp; I could create another datastep to do this but I don't want to add another step.&amp;nbsp;There's probably no way using the actual Distribution 'node' in EG, but maybe just using the SAS code for PROC UNIVARIATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:38:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289582#M19770</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T16:38:40Z</dc:date>
    </item>
    <item>
      <title>PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289561#M19773</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm using SAS EG and doing a Historgram using PROC UNIVARIATE (SAS EG 6.1 running SAS 9.2 TS2M3 on LINUX).&amp;nbsp; I'm suppressing the actual charts but putting the output variables to a table (mean, std, median, var, etc). Is there a way to format these output variables to something like 8.2 or the like in the actual PROC itself?&amp;nbsp; I could create another datastep to do this but I don't want to add another step.&amp;nbsp;There's probably no way using the actual Distribution 'node' in EG, but maybe just using the SAS code for PROC UNIVARIATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 15:20:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289561#M19773</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T15:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289584#M19771</link>
      <description>&lt;P&gt;You can modify the output template using PROC TEMPLATE. &amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15201"&gt;@Bari_sas﻿&lt;/a&gt;&amp;nbsp;recently &lt;A href="http://blogs.sas.com/content/sgf/2016/07/15/building-your-proc-template-muscles-using-the-compute-as-and-translate-into-statements/" target="_self"&gt;shared an example that might be really useful for you&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:44:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289584#M19771</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-04T16:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289585#M19772</link>
      <description>Hi Chris,&lt;BR /&gt;I'll check this out. I'm very much a novice with PROC TEMPLATE. Been writing code for 23 years...never used PROC TEMPLATE. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2016 16:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289585#M19772</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T16:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289608#M19774</link>
      <description>&lt;P&gt;When you switch to SAS 9.3+ you can use STACKODS in proc means, but before that I think you're stuck with manipulating the data &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&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>Thu, 04 Aug 2016 18:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289608#M19774</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-04T18:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289610#M19775</link>
      <description>Hi Reeza,&lt;BR /&gt;Ok, thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:07:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289610#M19775</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T18:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289612#M19776</link>
      <description>&lt;P&gt;Here's an &lt;A href="http://blogs.sas.com/content/sgf/2015/07/17/customizing-output-from-proc-means/" target="_self"&gt;example of STACKODSOUTPUT&lt;/A&gt; (scroll way down&amp;nbsp;in the blog for explanation). &amp;nbsp;Code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Use the STACKODSOUTPUT option on the PROC MEANS statement   */
/* and use the ODS OUTPUT statement to create output data set. */
 
ods output summary=with_stackods(drop=_control_);
proc means data=sashelp.class stackodsoutput sum mean std nway;
 class sex;
 var height weight;
run;
 
proc print data=with_stackods noobs;
 title 'Output data set with STACKODSOUTPUT';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:12:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289612#M19776</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-08-04T18:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289613#M19777</link>
      <description>&lt;P&gt;An alternative to STACKODS output is to use the OUTTABLE= option in PROC UNIVARIATE. This enables you to write all descritive statistics to a SAS data set with minimal effort. &amp;nbsp;It is eons old, so&amp;nbsp;it is surely included in whatever version of SAS you are running. For an example, see the article &lt;A href="http://blogs.sas.com/content/iml/2016/03/28/save-descriptive-statistics-multiple-variables-sas-data-set.html" target="_self"&gt;"Save descriptive statistics for multiple variables in a SAS data set."&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remember, too, that you don't need to use a DATA step to change the format for some variable. &amp;nbsp;You can use the FORMAT statement in any SAS procedure to temprarily assign a format to a variable for the duration of that procedure. For example:&lt;/P&gt;
&lt;P&gt;proc print data=have;&lt;/P&gt;
&lt;P&gt;format x y z 8.2;&lt;/P&gt;
&lt;P&gt;var&amp;nbsp;x y z;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289613#M19777</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-08-04T18:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289618#M19778</link>
      <description>Excellent...thanks!&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289618#M19778</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T18:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289630#M19781</link>
      <description>&lt;P&gt;If you do end up using PROC TEMPLATE, I was in the same position as you about 6 months ago. The SAS documentation isn't bad, but I found what really helped was googling whatever the particular thing I was trying to do. There's a huge number of absolutely fantastic SGF papers that solved (almost) every problem I had.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289630#M19781</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2016-08-04T19:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289635#M19783</link>
      <description>Hi Tom,&lt;BR /&gt;That EXCELLENT...and good to know. I need to start familiarizing myself with that stuff &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Aug 2016 19:13:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289635#M19783</guid>
      <dc:creator>bendsteel6</dc:creator>
      <dc:date>2016-08-04T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UNIVARIATE (Histogram) Formatting of Variables</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289663#M19785</link>
      <description>&lt;P&gt;To add to Tom's great suggestion, search on&amp;nbsp;lexjansen.com to limit your search to SAS papers.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 21:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/PROC-UNIVARIATE-Histogram-Formatting-of-Variables/m-p/289663#M19785</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-04T21:07:42Z</dc:date>
    </item>
  </channel>
</rss>

