<?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: sum by week and month in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282236#M59169</link>
    <description>&lt;P&gt;So those dates are each time a person made a call. I want to total the number of dates per id every four weeks. (or analyze the change by every four weeks)&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2016 17:58:57 GMT</pubDate>
    <dc:creator>stancemcgraw</dc:creator>
    <dc:date>2016-07-05T17:58:57Z</dc:date>
    <item>
      <title>sum by week and month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282226#M59167</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AP002 3 23OCT2013&lt;/P&gt;&lt;P&gt;AP002 4 01NOV2013&lt;/P&gt;&lt;P&gt;AP002 5 01NOV2013&lt;/P&gt;&lt;P&gt;AP002 6 14AUG2014&lt;/P&gt;&lt;P&gt;AP002 7 05SEP2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to sum the number of dates by week and by month. This is the format for my dates and IDs.....&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 17:42:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282226#M59167</guid>
      <dc:creator>stancemcgraw</dc:creator>
      <dc:date>2016-07-05T17:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: sum by week and month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282233#M59168</link>
      <description>&lt;P&gt;What would you expect the output to look like given that input?&lt;/P&gt;
&lt;P&gt;is the result to be a data set or a report?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 17:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282233#M59168</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-07-05T17:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: sum by week and month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282236#M59169</link>
      <description>&lt;P&gt;So those dates are each time a person made a call. I want to total the number of dates per id every four weeks. (or analyze the change by every four weeks)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2016 17:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282236#M59169</guid>
      <dc:creator>stancemcgraw</dc:creator>
      <dc:date>2016-07-05T17:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: sum by week and month</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282328#M59170</link>
      <description>&lt;P&gt;Add two format into two proc means :&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;data have;
input id $ n date date9.;
format date date9.;
cards;
AP002 3 23OCT2013
AP002 4 04NOV2013
AP002 5 07NOV2013
AP002 6 14AUG2014
AP002 7 05SEP2014
;
run;


proc summary data=have;
by id date;
var n;
format date monyy.;
output out=want1 sum=sum_n;
run;


proc summary data=have;
by id date;
var n;
format date weekv5.;
output out=want2 sum=sum_n;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Jul 2016 01:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/sum-by-week-and-month/m-p/282328#M59170</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-07-06T01:15:37Z</dc:date>
    </item>
  </channel>
</rss>

