<?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: calculating max by each row of group, which changes over time. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504110#M134865</link>
    <description>&lt;P&gt;Why is there no 2 in the last count series?&lt;/P&gt;
&lt;P&gt;I think this gives you the count column&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it should provide enough of the logic to implement your rolling max as well, the term for the last variable is a rolling or moving maximum.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A basic data step is all that’s required here, no arrays or macros needed.&amp;nbsp;&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/233577"&gt;@km0927&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;hello. i want to calculate one patient's 'maximum visit' of clinic, which changes over time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the raw data. it's medical billing data. 'id 1' visited 3 different clinic and 'id 2' visit 2 different clinic. in '20030124'(third row) 'id 1''s most visiting clinic is '12135' and maximum value is '2'. however in '20030607'(6th row), it is '75423' and maximum value is '3'. and in '20030815'(7th row) most visitng clinic is '12135' and '75423'. maximum value is stlll '3'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'id 2''s most visiting clinic is '25875', and maximum value changes over time. it is 1, 2, 2, 3, 4, 5 in order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id date clinic&lt;BR /&gt;1 20020408 12135&lt;BR /&gt;1 20020715 12135&lt;BR /&gt;1 20030124 15109&lt;BR /&gt;1 20030308 75423&lt;BR /&gt;1 20030505 75423&lt;BR /&gt;1 20030607 75423&lt;BR /&gt;1 20030815 12135&lt;BR /&gt;2 20020615 25875&lt;BR /&gt;2 20020717 25875&lt;BR /&gt;2 20020824 55415&lt;BR /&gt;2 20020907 25875&lt;BR /&gt;2 20021215 25875&lt;BR /&gt;2 20030108 25875&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is what i want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id date clinic count max&lt;BR /&gt;1 20020408 12135 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;1 20020715 12135 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030124 15109 1 2&lt;BR /&gt;1 20030308 75423 1 2&lt;BR /&gt;1 20030505 75423 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030607 75423 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;1 20030815 12135 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20020615 25875 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;2 20020717 25875 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020824 55415 &lt;STRONG&gt;1&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020907 25875 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20021215 25875 &lt;STRONG&gt;4&lt;/STRONG&gt; 4&lt;BR /&gt;2 20030108 25875 &lt;STRONG&gt;5&lt;/STRONG&gt; 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(bold number is maximum value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*in addition, because it is national billing data, type of clinic is more than 10 thousands. so it is impossible to make virtual array by clinic. SAS can't comprehend that much column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i really appreciate your help.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Oct 2018 17:31:47 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-10-14T17:31:47Z</dc:date>
    <item>
      <title>calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504105#M134861</link>
      <description>&lt;P&gt;hello. i want to calculate one patient's 'maximum visit' of clinic, which changes over time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the raw data. it's medical billing data. 'id 1' visited 3 different clinic and 'id 2' visit 2 different clinic. in '20030124'(third row) 'id 1''s most visiting clinic is '12135' and maximum value is '2'. however in '20030607'(6th row), it is '75423' and maximum value is '3'. and in '20030815'(7th row) most visitng clinic is '12135' and '75423'. maximum value is stlll '3'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'id 2''s most visiting clinic is '25875', and maximum value changes over time. it is 1, 2, 2, 3, 4, 5 in order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id date clinic&lt;BR /&gt;1 20020408 12135&lt;BR /&gt;1 20020715 12135&lt;BR /&gt;1 20030124 15109&lt;BR /&gt;1 20030308 75423&lt;BR /&gt;1 20030505 75423&lt;BR /&gt;1 20030607 75423&lt;BR /&gt;1 20030815 12135&lt;BR /&gt;2 20020615 25875&lt;BR /&gt;2 20020717 25875&lt;BR /&gt;2 20020824 55415&lt;BR /&gt;2 20020907 25875&lt;BR /&gt;2 20021215 25875&lt;BR /&gt;2 20030108 25875&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is what i want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;id date clinic count max&lt;BR /&gt;1 20020408 12135 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;1 20020715 12135 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030124 15109 1 2&lt;BR /&gt;1 20030308 75423 1 2&lt;BR /&gt;1 20030505 75423 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030607 75423 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;1 20030815 12135 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20020615 25875 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;2 20020717 25875 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020824 55415 &lt;STRONG&gt;1&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020907 25875 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20021215 25875 &lt;STRONG&gt;4&lt;/STRONG&gt; 4&lt;BR /&gt;2 20030108 25875 &lt;STRONG&gt;5&lt;/STRONG&gt; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(bold number is maximum value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;*in addition, because it is national billing data, type of clinic is more than 10 thousands. so it is impossible to make virtual array by clinic. SAS can't comprehend that much column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i really appreciate your help.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 16:31:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504105#M134861</guid>
      <dc:creator>km0927</dc:creator>
      <dc:date>2018-10-14T16:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504109#M134864</link>
      <description>&lt;P&gt;Editted note:&amp;nbsp; I realize I overlooked you request for variable COUNT.&amp;nbsp;&amp;nbsp; Just change all instances of "_FREQ" to "COUNT", in both programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You want a running cumulative single-clinic maximum count.&amp;nbsp;&amp;nbsp; Here's my first thought:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
  input id date  yymmdd8. clinic;
  format date date9.;
datalines;
1 20020408 12135
1 20020715 12135
1 20030124 15109
1 20030308 75423
1 20030505 75423
1 20030607 75423
1 20030815 12135
2 20020615 25875
2 20020717 25875
2 20020824 55415
2 20020907 25875
2 20021215 25875
2 20030108 25875
run;

data want (drop=_:);
  set have;
  by id;
  retain max;
  if _n_=1 then do;
    declare hash h ();
      h.definekey('clinic');
      h.definedata('_freq');
      h.definedone();
  end;

  if first.id then do;
    max=0;
    _rc=h.clear();
  end;
  if h.find() ^=0 then _freq=1;
  else _freq=_freq+1;
  max=max(max,_freq);
  _rc=h.replace();
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The above code clears out the hash object at the start of each id, so that a visit to a given clinic by one ID is not contaminated by clinic counts built up by a previous ID.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But&amp;nbsp;the h.clear() method may create more overhead than necessary.&amp;nbsp; In that case change the definekey method for object H to be keyed on two variables (ID and CLINIC), rather than just on CLINIC.&amp;nbsp;&amp;nbsp;&amp;nbsp; Then there's no possibility of confounding counts between different patients:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=_:);
  set have;
  by id;
  retain max;
  if _n_=1 then do;
    declare hash h ();
      h.definekey('id','clinic');
      h.definedata('_freq');
      h.definedone();
  end;

  if first.id then max=0;
  if h.find() ^=0 then _freq=1;
  else _freq=_freq+1;
  max=max(max,_freq);
  _rc=h.replace();
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 17:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504109#M134864</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-14T17:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504110#M134865</link>
      <description>&lt;P&gt;Why is there no 2 in the last count series?&lt;/P&gt;
&lt;P&gt;I think this gives you the count column&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-create-an-enumeration-variable-by-groups/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it should provide enough of the logic to implement your rolling max as well, the term for the last variable is a rolling or moving maximum.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A basic data step is all that’s required here, no arrays or macros needed.&amp;nbsp;&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/233577"&gt;@km0927&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;hello. i want to calculate one patient's 'maximum visit' of clinic, which changes over time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is the raw data. it's medical billing data. 'id 1' visited 3 different clinic and 'id 2' visit 2 different clinic. in '20030124'(third row) 'id 1''s most visiting clinic is '12135' and maximum value is '2'. however in '20030607'(6th row), it is '75423' and maximum value is '3'. and in '20030815'(7th row) most visitng clinic is '12135' and '75423'. maximum value is stlll '3'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;'id 2''s most visiting clinic is '25875', and maximum value changes over time. it is 1, 2, 2, 3, 4, 5 in order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id date clinic&lt;BR /&gt;1 20020408 12135&lt;BR /&gt;1 20020715 12135&lt;BR /&gt;1 20030124 15109&lt;BR /&gt;1 20030308 75423&lt;BR /&gt;1 20030505 75423&lt;BR /&gt;1 20030607 75423&lt;BR /&gt;1 20030815 12135&lt;BR /&gt;2 20020615 25875&lt;BR /&gt;2 20020717 25875&lt;BR /&gt;2 20020824 55415&lt;BR /&gt;2 20020907 25875&lt;BR /&gt;2 20021215 25875&lt;BR /&gt;2 20030108 25875&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this is what i want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;id date clinic count max&lt;BR /&gt;1 20020408 12135 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;1 20020715 12135 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030124 15109 1 2&lt;BR /&gt;1 20030308 75423 1 2&lt;BR /&gt;1 20030505 75423 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;1 20030607 75423 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;1 20030815 12135 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20020615 25875 &lt;STRONG&gt;1&lt;/STRONG&gt; 1&lt;BR /&gt;2 20020717 25875 &lt;STRONG&gt;2&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020824 55415 &lt;STRONG&gt;1&lt;/STRONG&gt; 2&lt;BR /&gt;2 20020907 25875 &lt;STRONG&gt;3&lt;/STRONG&gt; 3&lt;BR /&gt;2 20021215 25875 &lt;STRONG&gt;4&lt;/STRONG&gt; 4&lt;BR /&gt;2 20030108 25875 &lt;STRONG&gt;5&lt;/STRONG&gt; 5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(bold number is maximum value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*in addition, because it is national billing data, type of clinic is more than 10 thousands. so it is impossible to make virtual array by clinic. SAS can't comprehend that much column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i really appreciate your help.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 17:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504110#M134865</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-10-14T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504140#M134872</link>
      <description>&lt;P&gt;For the concern&lt;EM&gt;- "*in addition, because it is national billing data, type of clinic is more than &lt;U&gt;10 thousands. so it is impossible to make &lt;STRONG&gt;virtual array&lt;/STRONG&gt; by clinic.&lt;/U&gt; SAS can't comprehend that much column."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below post&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/what-s-the-limit-to-how-many-elements-variables-a-SAS-array-can/m-p/499675#M132992" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/what-s-the-limit-to-how-many-elements-variables-a-SAS-array-can/m-p/499675#M132992&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless, Since your data is not sorted by clinic , Hash is of course the easiest and simplest to park the key(clinic) count somewhere. I agree that array is little tedious.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just out of curiosity, Is your dataset massive? would sort be expensive?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 22:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504140#M134872</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-14T22:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504161#M134879</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;In addition, if the data were not sorted by ID (say the data is sorted by date), then one could just maintain a second hash object, keyed on ID, recording the max for each ID:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want (drop=_:);
  set have;
  if _n_=1 then do; /*count for each id/clinic*/
    declare hash h ();
      h.definekey('id','clinic');
      h.definedata('count');
      h.definedone();

    declare hash m();  /*track max for each id*/
      m.definekey('id');
      m.definedata('max');
      m.definedone();
  end;

  if h.find()^=0 then count=1;
  else count=count+1;
  _rc=h.replace();

  _rc=m.find();
  if count&amp;gt;max then do;
    max=count;
    _rc=m.replace();
  end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that MAX is missing for every iteration of the data step, until the M.FIND() method is executed.&amp;nbsp; It stays missing if the current id is not yet in hash object m.&amp;nbsp; So the "if count&amp;gt;max" test will always be true for a new id.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 01:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504161#M134879</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-15T01:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504169#M134881</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;&amp;nbsp;Sir, You have got it squeaky clean and neat. I really like the max hash, serves a greater purpose of audit.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/233577"&gt;@km0927&lt;/a&gt;, Good evening. I hope you understood the distinction between Mark's responses as I did.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2018 02:31:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/504169#M134881</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-15T02:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/506236#M135673</link>
      <description>&lt;P&gt;thanks. i have done 'array'&amp;nbsp;wi&lt;SPAN&gt;th the help of others.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but "It seems that there is too much to handle." a similar sentence came out on log screen. i don't know why it appeared.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dataset comprised of 1 millon row, about 50 thousands id and the number of clinics seems to be that much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 17:49:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/506236#M135673</guid>
      <dc:creator>km0927</dc:creator>
      <dc:date>2018-10-20T17:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculating max by each row of group, which changes over time.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/506241#M135676</link>
      <description>&lt;P&gt;Are you saying you have an array program developed, but that the program is generating an error message?&amp;nbsp; If so, please&amp;nbsp;show us the actual log, not a paraphrase of the log note.&amp;nbsp;&amp;nbsp;Also show the part of the log that includes not only the error message, but the program statements that generated the message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Oct 2018 18:21:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculating-max-by-each-row-of-group-which-changes-over-time/m-p/506241#M135676</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2018-10-20T18:21:21Z</dc:date>
    </item>
  </channel>
</rss>

