12-17-2014 08:55 AM
So I have this sample data format
So I want to code a rank based on the values for each ID/block. All patients have 12 records (6 for block A and 6 for block B). So I did the first step where I used proc sort by ID Block and Value. Now I want to create that WANT variable where it indicates the rank within each ID/Block. What is the easiest way to do this?
Need further help from the community? Please ask a new question.