<?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: make the statistics in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494636#M130384</link>
    <description>&lt;P&gt;dear Reeza,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your advice, I have transpose my data,&lt;/P&gt;&lt;P&gt;and now it looks&amp;nbsp;like&amp;nbsp;&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;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        apple, microsoft, fff,.....
200001  1,     2,    1
200002  2,     4,    3
...
201012  9,     5,    7&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the number is the patent application made by each company per month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how could I get the&amp;nbsp;statistic&amp;nbsp;results of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;may I use the&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC UNIVARIATE data=name;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;cause there are too many companies in this dataset, may I get the result if I use PROC UNIVARIATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 21:05:01 GMT</pubDate>
    <dc:creator>France</dc:creator>
    <dc:date>2018-09-11T21:05:01Z</dc:date>
    <item>
      <title>make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494584#M130352</link>
      <description>&lt;P&gt;dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how could&amp;nbsp;I make the statistic for the following data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;psn_name, 200001,200002,200003,200004,200005,200006,...,201012

apple, 1,3,4....,9

qwe,3,6,8,....,6

eee,9,6,7,8...,4
....

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the psn_name is the name of the company. the variable between 200001 and 201012 is the period from&amp;nbsp;&amp;nbsp;Jan&amp;nbsp;2000 to Dec 2015. the number is the application each company make in the month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to make the statistic for the number of application companies made during this period.&amp;nbsp; could you please give me some suggestion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494584#M130352</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T18:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494586#M130353</link>
      <description>&lt;P&gt;Transpose, and all statistical procedures that SAS provides can be applied.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:04:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494586#M130353</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-09-11T18:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494587#M130354</link>
      <description>&lt;P&gt;Transpose your data (PROC TRANSPOSE)&lt;/P&gt;
&lt;P&gt;PROC MEANS/FREQ should be all you need from that point forward.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how could&amp;nbsp;I make the statistic for the following data?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;psn_name, 200001,200002,200003,200004,200005,200006,...,201012

apple, 1,3,4....,9

qwe,3,6,8,....,6

eee,9,6,7,8...,4
....

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the psn_name is the name of the company. the variable between 200001 and 201012 is the period from&amp;nbsp;&amp;nbsp;Jan&amp;nbsp;2000 to Dec 2015. the number is the application each company make in the month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to make the statistic for the number of application companies made during this period.&amp;nbsp; could you please give me some suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance.&lt;/P&gt;
&lt;P&gt;best regards.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 18:07:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494587#M130354</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-11T18:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494636#M130384</link>
      <description>&lt;P&gt;dear Reeza,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your advice, I have transpose my data,&lt;/P&gt;&lt;P&gt;and now it looks&amp;nbsp;like&amp;nbsp;&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;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        apple, microsoft, fff,.....
200001  1,     2,    1
200002  2,     4,    3
...
201012  9,     5,    7&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;the number is the patent application made by each company per month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how could I get the&amp;nbsp;statistic&amp;nbsp;results of them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;may I use the&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC UNIVARIATE data=name;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;cause there are too many companies in this dataset, may I get the result if I use PROC UNIVARIATE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 21:05:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494636#M130384</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T21:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494637#M130385</link>
      <description>&lt;P&gt;I may have missed this somewhere but what do you want as the result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/194466"&gt;@France&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;dear Reeza,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your advice, I have transpose my data,&lt;/P&gt;
&lt;P&gt;and now it looks&amp;nbsp;like&amp;nbsp;&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;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;        apple, microsoft, fff,.....
200001  1,     2,    1
200002  2,     4,    3
...
201012  9,     5,    7&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;the number is the patent application made by each company per month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how could I get the&amp;nbsp;statistic&amp;nbsp;results of them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may I use the&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC UNIVARIATE data=name;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;cause there are too many companies in this dataset, may I get the result if I use PROC UNIVARIATE?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;many thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 21:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494637#M130385</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-11T21:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494638#M130386</link>
      <description>&lt;P&gt;You probably just want a proc means now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=have stackods sum;
var apple--[last variable];
ods output summary=want;
run;

proc print data=want(obs=5);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Sep 2018 21:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494638#M130386</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-11T21:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494655#M130390</link>
      <description>&lt;P&gt;Dear Reeza,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just find after I Transpose the old data which like this,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TIM图片201809112251141.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23206iE30283EC077511F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="TIM图片201809112251141.png" alt="TIM图片201809112251141.png" /&gt;&lt;/span&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the variable name of the new dataset change as COL1, COL 2...etc.&lt;/P&gt;&lt;P&gt;&lt;!-- StartFragment  --&gt;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TIM图片20180911225010.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/23205i1DE5B2B05837CCE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="TIM图片20180911225010.png" alt="TIM图片20180911225010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the company name is listed in the first column. could you give me some suggestion to fix it please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 21:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494655#M130390</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T21:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494659#M130392</link>
      <description>You didn't specify an ID variable.</description>
      <pubDate>Tue, 11 Sep 2018 22:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494659#M130392</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-11T22:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494661#M130394</link>
      <description>thanks for your reply, but what should i do for it?</description>
      <pubDate>Tue, 11 Sep 2018 22:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494661#M130394</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-11T22:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494662#M130395</link>
      <description>&lt;P&gt;Specify the ID variable, either in the GUI or in the code. Did you use an ID statement?&lt;/P&gt;
&lt;P&gt;Without seeing your code I have no clue what you did, so I can only respond in generalities.&amp;nbsp;If you need specific solution, you have to include more information, preferably from the start.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 22:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494662#M130395</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-11T22:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494682#M130404</link>
      <description>&lt;P&gt;please see the private message, I also add the dataset in the attachment. please check if you like.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 00:51:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494682#M130404</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-12T00:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494689#M130407</link>
      <description>&lt;P&gt;I responded via PM, but please keep the discussion public. The forum is both to answer your questions but to help future users and taking the discussion private, does not support that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 02:02:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494689#M130407</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-09-12T02:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: make the statistics</title>
      <link>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494770#M130447</link>
      <description>&lt;P&gt;Dear Reeza, thanks for your reply. I will do this in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 11:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/make-the-statistics/m-p/494770#M130447</guid>
      <dc:creator>France</dc:creator>
      <dc:date>2018-09-12T11:28:37Z</dc:date>
    </item>
  </channel>
</rss>

