@Ksharp wrote:
data have;
input Dates : date9. Amount;
format dates date.;
cards;
01Jul1994 1000
02MAY1995 1500
10MAY1995 2000
09JUN1995 3000
27JUN1995 3500
;
run;
proc summary data=have nway;
class dates;
format dates monyy7.;
var amount;
output out=want mean=;
run;
Certainly a superior method than what I described above.
... View more