<?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 means problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469766#M70819</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you want to add the statistics you want to the PROC MEANS statement directly. It doesn't really matter how many variables you have, just list them in the VAR statement. If you have a naming convention you can shortcut reference as below, otherwise you have to list them out manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.cars min max mean nmiss n;
var var1-var25;
ods output summary=want;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/113738"&gt;@TanviG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I want to have the table for all the variables with the min max mean and missing percentage. What is the best solution of doing this given that I have 25 variables in my data.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jun 2018 21:24:03 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-06-12T21:24:03Z</dc:date>
    <item>
      <title>Proc means problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469751#M70815</link>
      <description>&lt;P&gt;Hi, I want to have the table for all the variables with the min max mean and missing percentage. What is the best solution of doing this given that I have 25 variables in my data.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:26:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469751#M70815</guid>
      <dc:creator>TanviG</dc:creator>
      <dc:date>2018-06-12T20:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469753#M70816</link>
      <description>&lt;P&gt;Here is the documentation for PROC MEANS. Give it a try, it isn't hard, if you have trouble, show us your code and we can probably help you. &lt;A href="http://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n0k7qr5c2ah3stn10g1lr5oytz57.htm&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=proc&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n0k7qr5c2ah3stn10g1lr5oytz57.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469753#M70816</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-12T20:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469766#M70819</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you want to add the statistics you want to the PROC MEANS statement directly. It doesn't really matter how many variables you have, just list them in the VAR statement. If you have a naming convention you can shortcut reference as below, otherwise you have to list them out manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.cars min max mean nmiss n;
var var1-var25;
ods output summary=want;
run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/113738"&gt;@TanviG&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I want to have the table for all the variables with the min max mean and missing percentage. What is the best solution of doing this given that I have 25 variables in my data.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 21:24:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-means-problem/m-p/469766#M70819</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-12T21:24:03Z</dc:date>
    </item>
  </channel>
</rss>

