<?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: ODS Table Output for PROC Means in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270780#M53848</link>
    <description>&lt;P&gt;What a positive philosophy! Thanks for the inspiring thought.&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2016 20:33:37 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-05-16T20:33:37Z</dc:date>
    <item>
      <title>ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270594#M53786</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;I wish to use ODS Table Name Output within Proc Means to construct an output data set that contains &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;( For Example ) the following columns:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Variable_Name, &amp;nbsp; &amp;nbsp;Var_Min, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_Median, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_Max, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_Mean&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Var_01 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_01_Min &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_01_Median &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_01_Max &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_01_Mean&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Var_02 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;Var_02_Min &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_02_Median &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_02_Max &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_02_Mean&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Var_60 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;Var_60_Min &amp;nbsp; &amp;nbsp; &amp;nbsp;Var_60_Median &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_60_Max &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Var_60_Mean&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Ultimately I wish to merge several such SAS Data Sets generated by Proc Means to construct the following Data Set:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Variable_Name &amp;nbsp; Y_Variable, Var_X1_Median, Var_X2_Median, &amp;nbsp; Var_X3_Median&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; where the Y-Variable may be dependent on one or more of the X variables&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;I constructed the base data set as follows:&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;PROC FREQ&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;DATA = WORK.DATA2SS NLEVELS ;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; TABLES SQ01 - SQ59 / NOCOL ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ODS OUTPUT NLEVELS = WORK.QUESTLEVELS_1 ;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;RUN;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;So my Data set should contain:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;SQ01 &amp;nbsp; &amp;nbsp; &amp;nbsp;Y01=NLEVELS01 &amp;nbsp;X101 &amp;nbsp;X201 &amp;nbsp;X301&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;SQ02 &amp;nbsp; &amp;nbsp; &amp;nbsp;Y02=NLEVELS02 &amp;nbsp;X102 &amp;nbsp;X202 &amp;nbsp;X302&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;SQ59 &amp;nbsp; &amp;nbsp; &amp;nbsp;Y59=NLEVELS59 &amp;nbsp;X159 &amp;nbsp;X259 &amp;nbsp;X359&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 17:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270594#M53786</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2016-05-15T17:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270598#M53788</link>
      <description>&lt;P&gt;RTM.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p17h6q7ygvkl1sn13qzf947dundi.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/65145/HTML/default/viewer.htm#p17h6q7ygvkl1sn13qzf947dundi.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use STACKODS option and ODS OUTPUT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.class stackods;
ods output summary=want;
run;

proc print data=want;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 May 2016 17:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270598#M53788</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-05-15T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270603#M53791</link>
      <description>OK, thanks for that, I will give it a try and see if it solves my problem&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Sun, 15 May 2016 18:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270603#M53791</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2016-05-15T18:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270695#M53824</link>
      <description>&lt;P&gt;In addition to PROC MEANS, you might want to look at the OUTTABLE= option in PROC UNIVARIATE. See the article&lt;/P&gt;
&lt;P&gt;&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;</description>
      <pubDate>Mon, 16 May 2016 14:05:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270695#M53824</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-16T14:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270778#M53847</link>
      <description>Thanks Rick.&lt;BR /&gt;&lt;BR /&gt;The DO LOOP is my first port of call.&lt;BR /&gt;&lt;BR /&gt;You are right, no matter how long one has been using SAS, when solving a&lt;BR /&gt;new problem there is always the opportunity to learn something new and&lt;BR /&gt;where possible to share this knowledge with others.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 16 May 2016 20:23:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270778#M53847</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2016-05-16T20:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270780#M53848</link>
      <description>&lt;P&gt;What a positive philosophy! Thanks for the inspiring thought.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 20:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270780#M53848</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-16T20:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270785#M53850</link>
      <description>Initially, it was interesting mathematically because of the matrix based&lt;BR /&gt;analysis in IML but difficult to apply as I did not have access to IML at&lt;BR /&gt;work.&lt;BR /&gt;&lt;BR /&gt;However, now that I have started using SAS University Edition at home, I&lt;BR /&gt;can experiment with IML and will probably revisit many of the DO LOOP&lt;BR /&gt;Articles in order to work through.&lt;BR /&gt;&lt;BR /&gt;I have made good use of those articles on Scatterplots and Predictive /&lt;BR /&gt;Confidence Ellipses in EDA.&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Mon, 16 May 2016 21:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270785#M53850</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2016-05-16T21:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270968#M53893</link>
      <description>&lt;P&gt;Thanks for reading. There are many articles on &lt;EM&gt;The DO Loop&lt;/EM&gt; that do not involve matrix computations. In addition to serving SAS/IML programmers,&amp;nbsp;I try to create content that appeals to Base SAS programmers, SAS/STAT analysts, and analysts who create statistical graphics.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2016 13:04:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270968#M53893</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-17T13:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: ODS Table Output for PROC Means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270993#M53902</link>
      <description>Yes, I have found your DO LOOP articles generally very useful.&lt;BR /&gt;&lt;BR /&gt;BTW I have purchased both your books. ( IML and Simulation )&lt;BR /&gt;&lt;BR /&gt;Very few of my Financial Service Clients have ever licensed IML.&lt;BR /&gt;&lt;BR /&gt;Perhaps SAS should include IML within the SAS "Analytics" Product Bundle&lt;BR /&gt;which most banks seem happy to license.&lt;BR /&gt;&lt;BR /&gt;Especially given the migration to R which is vector / matrix based.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;##- Please type your reply above this line. Simple formatting, no&lt;BR /&gt;attachments. -##</description>
      <pubDate>Tue, 17 May 2016 14:12:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODS-Table-Output-for-PROC-Means/m-p/270993#M53902</guid>
      <dc:creator>JonDickens1607</dc:creator>
      <dc:date>2016-05-17T14:12:55Z</dc:date>
    </item>
  </channel>
</rss>

