Reverse cumulative sum, by group in SAS
I have a variable that is reported daily and cumulatively in which I want raw counts for. I found code for doing this here, however the data I have are grouped. When I use "by" the group within the datastep, it still doesn’t appear to recognize to start over with the new group, and therefor… Read More Reverse cumulative sum, by group in SAS