|
Hi,
I have medical cost data on children for some or all months of 2007. A
simplified sample of the data is given below (month=1=January, etc.) I
want to calculate the mean montly expense per child. Normally, that would
be easy with PROC MEANS
data homedir.test;
input childid month cost;
datalines;
1 1 90
1 3 100
1 5 66
1 8 99
1 9 44
1 10 23
1 12 555
2 2 94
2 7 82
2 12 54
;
run;
|