<?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 Means Output In Desired Format in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255058#M48704</link>
    <description>&lt;P&gt;While running proc means, the output is as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2221i4A071F0F78740714/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;But while outputting the dataset using Output= statement, the format is completely different (Only one row with all stats of variables as variable names).&lt;/P&gt;
&lt;P&gt;How can i get the output dataset in the same above format? (Need other stats as NMiss &amp;amp; Percentiles etc.)&lt;/P&gt;</description>
    <pubDate>Mon, 07 Mar 2016 19:01:40 GMT</pubDate>
    <dc:creator>Phaneendra</dc:creator>
    <dc:date>2016-03-07T19:01:40Z</dc:date>
    <item>
      <title>Proc Means Output In Desired Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255058#M48704</link>
      <description>&lt;P&gt;While running proc means, the output is as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/2221i4A071F0F78740714/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;But while outputting the dataset using Output= statement, the format is completely different (Only one row with all stats of variables as variable names).&lt;/P&gt;
&lt;P&gt;How can i get the output dataset in the same above format? (Need other stats as NMiss &amp;amp; Percentiles etc.)&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 19:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255058#M48704</guid>
      <dc:creator>Phaneendra</dc:creator>
      <dc:date>2016-03-07T19:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means Output In Desired Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255076#M48708</link>
      <description>&lt;P&gt;Do you need the data or a report table? If you want a readable table in the form you are showing then using ODS to output the table output would be the easiest thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or transpose the output set&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>Mon, 07 Mar 2016 19:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255076#M48708</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-07T19:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means Output In Desired Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255080#M48709</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw﻿&lt;/a&gt;: I need an output dataset in the same format as the report.(Variable Mean Min Max etc.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Transposing the output has one row&amp;nbsp;for each Statistic of the variable (Variable1_Mean, Variable1_Min etc.) but i want only one row&amp;nbsp;for each variable and ststistics in columns (Same as report format).&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 20:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255080#M48709</guid>
      <dc:creator>Phaneendra</dc:creator>
      <dc:date>2016-03-07T20:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means Output In Desired Format</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255081#M48710</link>
      <description>&lt;P&gt;Use the &lt;A href="http://support.sas.com/kb/46/427.html" target="_self"&gt;STACKODSOUTPUT option&lt;/A&gt;, which was introduced in SAS 9.3:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Use the STACKODSOUTPUT option to get output in a more natural shape */
proc means data=sashelp.cars StackODSOutput 
           N NMISS MEAN STD P25 MEDIAN P75; 
var mpg_city mpg_highway;
ods output summary=out;
run;
 
proc print data=out noobs;run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2016 20:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Means-Output-In-Desired-Format/m-p/255081#M48710</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-03-07T20:51:03Z</dc:date>
    </item>
  </channel>
</rss>

