<?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 Calculate statistics on data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Calculate-statistics-on-data/m-p/366845#M87292</link>
    <description>&lt;P&gt;data d1;&lt;/P&gt;
&lt;P&gt;input number 11.;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;12345678902&lt;/P&gt;
&lt;P&gt;12345&lt;/P&gt;
&lt;P&gt;98441234567&lt;/P&gt;
&lt;P&gt;888&lt;/P&gt;
&lt;P&gt;12349844561 ;&lt;/P&gt;
&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do have this data set.&lt;/P&gt;
&lt;P&gt;now i want to get the percentage of dataset according to width of observation.&lt;/P&gt;
&lt;P&gt;Like i do have 3 observation having width of 11 then i want to see them as 50% in variable x and rest of the 50% in y.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2017 07:05:45 GMT</pubDate>
    <dc:creator>Laxesh7</dc:creator>
    <dc:date>2017-06-14T07:05:45Z</dc:date>
    <item>
      <title>Calculate statistics on data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculate-statistics-on-data/m-p/366845#M87292</link>
      <description>&lt;P&gt;data d1;&lt;/P&gt;
&lt;P&gt;input number 11.;&lt;/P&gt;
&lt;P&gt;cards;&lt;/P&gt;
&lt;P&gt;12345678902&lt;/P&gt;
&lt;P&gt;12345&lt;/P&gt;
&lt;P&gt;98441234567&lt;/P&gt;
&lt;P&gt;888&lt;/P&gt;
&lt;P&gt;12349844561 ;&lt;/P&gt;
&lt;P&gt;run;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do have this data set.&lt;/P&gt;
&lt;P&gt;now i want to get the percentage of dataset according to width of observation.&lt;/P&gt;
&lt;P&gt;Like i do have 3 observation having width of 11 then i want to see them as 50% in variable x and rest of the 50% in y.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 07:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculate-statistics-on-data/m-p/366845#M87292</guid>
      <dc:creator>Laxesh7</dc:creator>
      <dc:date>2017-06-14T07:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate statistics on data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Calculate-statistics-on-data/m-p/366868#M87299</link>
      <description>&lt;P&gt;Try&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data d2;
set d1;
n_l = length(strip(put(number,best.)));
run;

proc freq data=d2;
tables n_l;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jun 2017 07:42:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Calculate-statistics-on-data/m-p/366868#M87299</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-14T07:42:29Z</dc:date>
    </item>
  </channel>
</rss>

