<?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: Count of times repeated alternative to proc freq? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474096#M121762</link>
    <description>&lt;P&gt;I just run into this problem not being able to Like the posts. Do you know why?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="why.png" style="width: 423px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21474i31D1F2DF3A88C1EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="why.png" alt="why.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jun 2018 14:47:09 GMT</pubDate>
    <dc:creator>Cruise</dc:creator>
    <dc:date>2018-06-28T14:47:09Z</dc:date>
    <item>
      <title>Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474084#M121757</link>
      <description>&lt;P&gt;Is there a way to create frequency of repetition of duplicates&amp;nbsp;&amp;nbsp;by certain variable? I know proc freq and merge it back to an original data. But I'm wondering is there any more efficient way doing the same thing? I couldn't figure it out yet using first.obs and last.obs features.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data b.file;
input pat_id drug $ count;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474084#M121757</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T14:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474085#M121758</link>
      <description>&lt;P&gt;What do you expect to show as a result from that data? It is not at all clear what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:36:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474085#M121758</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-28T14:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474086#M121759</link>
      <description>&lt;P&gt;Do you mean this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
input pat_id drug $ ;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;

proc sql;
create table want as
select pat_id,drug, count(pat_id) as count
from file
group by pat_id;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:37:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474086#M121759</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-06-28T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474091#M121760</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Awesome. And I can keep all the variables since I want to keep the structure of original data, correct. Thanks a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New"&gt;sql&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;create&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;table&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; b.want &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;as&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;select&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; *, count(pat_id) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;as&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; count&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;from&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; b.file&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New"&gt;group&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New"&gt;by&lt;/FONT&gt;&lt;FONT face="Courier New"&gt; pat_id;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New"&gt;&lt;STRONG&gt;quit&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474091#M121760</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T14:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474092#M121761</link>
      <description>&lt;P&gt;With all methods, you have to first create the sums and then merge back. SQL does it transparently, but the overall work by SAS is mostly the same, as is the time that it will take.&lt;/P&gt;
&lt;P&gt;If the file is sorted, you can use a double DOW:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input pat_id drug $ count;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;
run;

data want;
newcount = 0;
do until (last.pat_id);
  set have;
  by pat_id;
  newcount + 1;
end;
do until (last.pat_id);
  set have;
  by pat_id;
  output;
end;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:44:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474092#M121761</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-28T14:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474096#M121762</link>
      <description>&lt;P&gt;I just run into this problem not being able to Like the posts. Do you know why?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="why.png" style="width: 423px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/21474i31D1F2DF3A88C1EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="why.png" alt="why.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 14:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474096#M121762</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T14:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474105#M121765</link>
      <description>&lt;P&gt;The DOW loop technique suggested by Kurt Bremser has an additional advantage over PROC SQL (without a suitable ORDER BY clause): It ensures that observation order is maintained.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474105#M121765</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-06-28T15:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474109#M121766</link>
      <description>Can you give an example of "Not Suitable ORDER BY clause" situation?</description>
      <pubDate>Thu, 28 Jun 2018 15:10:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474109#M121766</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T15:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474117#M121768</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132289"&gt;@Cruise&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Can you give an example of "Not Suitable ORDER BY clause" situation?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, when I run&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;'s PROC SQL step, I get this result:&lt;/P&gt;
&lt;PRE&gt;pat_id    drug    count

   3      &lt;FONT color="#FF0000"&gt;009&lt;/FONT&gt;       2
   3      &lt;FONT color="#FF0000"&gt;648&lt;/FONT&gt;       2
   4      504       2
   4      569       2
   5      003       1
&lt;/PRE&gt;
&lt;P&gt;As you see, the order of the first two observations has changed (as compared to the input dataset). Since dataset FILE is not sorted by DRUG within PAT_ID BY groups (neither ascending nor descending), there is no obvious ORDER BY clause which would be suitable to maintain the original sort order (if this was an issue).&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:22:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474117#M121768</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-06-28T15:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474120#M121769</link>
      <description>I see. Thanks.</description>
      <pubDate>Thu, 28 Jun 2018 15:24:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474120#M121769</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T15:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474122#M121770</link>
      <description>&lt;P&gt;Try this for fun and test the performance against DOW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
input pat_id drug $ ;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;


data want;
 dcl hash h(suminc: "c", dataset:"file");
 h.defineKey('pat_id');
 h.defineDone();
 c = 1;
 do while (not last);
   set file  end=last;
   rc = h.find();
 end;
 last = 0;
 do while (not last);
   set file end=last;
   rc = h.sum(sum: count);
   output;
 end;
 stop;
 keep pat_id drug  count;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474122#M121770</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-06-28T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474124#M121771</link>
      <description>&lt;P&gt;Great&amp;nbsp;solutions going on&amp;nbsp;here while I lost LIKE button. I really want my LIKE button back. Please let me know if someone knows why LIKE is lost?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:32:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474124#M121771</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T15:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474125#M121772</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132289"&gt;@Cruise&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I just run into this problem not being able to Like the posts. Do you know why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This seems to be a general issue. At the moment, I can't give likes either. Not sure if the moderators (&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;and colleagues)&amp;nbsp;are aware of it.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:32:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474125#M121772</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-06-28T15:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474131#M121774</link>
      <description>&lt;P&gt;Sorry about that -- we had an interloper that was coming in and spamming us with Likes.&amp;nbsp; I know, seems innocuous, but not a cool behavior.&amp;nbsp; We clamped down a bit, too much it seems.&amp;nbsp; But you should be able to&amp;nbsp;&lt;STRONG&gt;Like&lt;/STRONG&gt; all you want now.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 15:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474131#M121774</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-06-28T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474167#M121784</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Try this for fun and test the performance against DOW&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
input pat_id drug $ ;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;


data want;
 dcl hash h(suminc: "c", dataset:"file");
 h.defineKey('pat_id');
 h.defineDone();
 c = 1;
 do while (not last);
   set file  end=last;
   rc = h.find();
 end;
 last = 0;
 do while (not last);
   set file end=last;
   rc = h.sum(sum: count);
   output;
 end;
 stop;
 keep pat_id drug  count;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Good idea to test the performance.&amp;nbsp;I've added a modified version of your hash solution to make it faster (by reading the input dataset only twice rather than three times):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
dcl hash h(suminc: 'c');
h.defineKey('pat_id');
h.defineDone();
c = 1;
do until(last1);
  set have end=last1;
  h.ref();
end;
do until(last2);
  set have end=last2;
  h.sum(sum: count);
  output;
end;
stop;
drop c;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I tested the solutions using this input dataset HAVE containing 80 million observations from&amp;nbsp;12,695,381 "patients" with 1 - 102 observations each (median: 10).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
call streaminit(271828);
do _n_=1 to 80000000;
  drug=rand('normal');
  if drug&amp;lt;-1 then pat_id+1;
  output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And the winner is (not quite surprisingly) -- &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;'s&amp;nbsp;classic double DOW loop! (Actually, your hash solution uses a double DOW loop as well, that's why I say "classic".)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The WANT dataset (with 80 million obs.) was created in&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;11 s using the classic double DOW loop&lt;/LI&gt;
&lt;LI&gt;19 s using PROC SQL&lt;/LI&gt;
&lt;LI&gt;36 s using hash object with SUMINC and REF&lt;/LI&gt;
&lt;LI&gt;50 s&amp;nbsp;&lt;SPAN&gt;using hash object with SUMINC, DATASET and FIND&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;(with SAS 9.4&amp;nbsp;TS1M2 64 Bit on a Windows 7 Workstation).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 18:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474167#M121784</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-06-28T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474178#M121790</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp; Thank you for making this discussion&amp;nbsp; very interactive and interesting. One more favor as I'm afraid we(students at Depaul) are not allowed to play with large datasets at our college lab. May i request a test on the performance on this, similar to DOW, a self imposed interleave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data file;
input pat_id drug $ ;
cards;
3 648 2
3 009 2
4 504 2
4 569 2
5 003 1
;
data want;
do until(last);
set file(in=a) file(in=b) end=last;
by pat_id ;
if first.pat_id then call missing(count);
if a then count+1;
if b then output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Jun 2018 17:26:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474178#M121790</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-06-28T17:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474189#M121793</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Very nice! I don't think I've seen this trick before. (Will add it to my SAS notes.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run time was 13 s (+/- 0.5 s) in a few repeated runs, i.e. rank 2 in the "competition".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 17:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474189#M121793</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-06-28T17:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474191#M121794</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;Thank you sir as always the "sir" goes to the special few &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; mentioned before lol &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 17:41:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474191#M121794</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-06-28T17:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474195#M121795</link>
      <description>I keep staring at this solution. 3 dimensional it is.</description>
      <pubDate>Thu, 28 Jun 2018 17:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474195#M121795</guid>
      <dc:creator>Cruise</dc:creator>
      <dc:date>2018-06-28T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count of times repeated alternative to proc freq?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474197#M121796</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/132289"&gt;@Cruise&lt;/a&gt;&amp;nbsp; Fun to find different ways to solve &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Take care!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 18:01:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Count-of-times-repeated-alternative-to-proc-freq/m-p/474197#M121796</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-06-28T18:01:34Z</dc:date>
    </item>
  </channel>
</rss>

