<?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: statistics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494663#M130396</link>
    <description>dear novinosrin,&lt;BR /&gt;&lt;BR /&gt;how could i set the weight and height? could you give me an example ?</description>
    <pubDate>Tue, 11 Sep 2018 22:11:24 GMT</pubDate>
    <dc:creator>France</dc:creator>
    <dc:date>2018-09-11T22:11:24Z</dc:date>
    <item>
      <title>statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494658#M130391</link>
      <description>&lt;P&gt;dear all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i would like to make a statistic by using following codes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=Step6.Number_of_patent_us_end;
var col1-col91440;
output=Step6.patent_us mean=mean max=max min=min std=std;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;but the result shows that,&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;16   proc univariate data=Step6.Number_of_patent_us_end;
17   var col1-col91440;
18   output=Step6.patent_us mean=mean max=max min=min std=std;
     ------
     180
ERROR 180-322: Statement is not valid or it is used out of proper order.

19   run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE UNIVARIATE used (Total process time):
      real time           0.09 seconds
      cpu time            0.10 seconds

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;could you please give me some suggestion?&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 22:01:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494658#M130391</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T22:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494660#M130393</link>
      <description>&lt;P&gt;you are missing &lt;STRONG&gt;output&lt;/STRONG&gt; &lt;STRONG&gt;out like&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;proc univariate data=sashelp.class;&lt;BR /&gt;var weight height;&lt;BR /&gt;&lt;STRONG&gt;output out&lt;/STRONG&gt;=want mean=mean max=max min=min std=std;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 22:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494660#M130393</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-11T22:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494663#M130396</link>
      <description>dear novinosrin,&lt;BR /&gt;&lt;BR /&gt;how could i set the weight and height? could you give me an example ?</description>
      <pubDate>Tue, 11 Sep 2018 22:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494663#M130396</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T22:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494665#M130397</link>
      <description>&lt;P&gt;Since you didn't give us a sample. I used sas provided dataset sashelp.class for the illustration. The dataset sashelp.class contains variables height and weight. Please replicate the code for your dataset and the numeric variables for which you want to compute statistics&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or in other words try the below corrected code of yours&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;univariate&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;data&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;Step6&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Number_of_patent_us_end&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;var&lt;/SPAN&gt; col1&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;col91440&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
output out&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;Step6&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;patent_us &lt;SPAN class="token function"&gt;mean&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;mean&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;max&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;max&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;min&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;min&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;std&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;std&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 22:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494665#M130397</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-09-11T22:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494831#M130477</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=sashelp.class outtable=want noprint;
var _numeric_;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Sep 2018 13:20:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/statistics/m-p/494831#M130477</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-09-12T13:20:11Z</dc:date>
    </item>
  </channel>
</rss>

