Dear all, I am a new user of SAS and struggling to find a solution for below case. I want to calculate 1. Sum of values in column "case" corresponding to day 1-4 in column "Day" 2. Sum of values in column "case" corresponding to day 5-9 in column "Day" etc Day1 Case 1 7 2 0 3 5 4 7 5 12 6 43 7 6 8 16 9 25 10 19 11 13 12 38 13 39 14 72 15 24 16 19 17 45 18 45 19 46 20 45 I have more than 200 rows and need to try different options by day period (1-5 days, 6-10 days or 1-7 days, 8-11 days etc) I appreciate if you could teach me the SAS syntax to solve this. Thanks Don22
... View more