Hi, I have a dataset with say 295 patient observations, I would like to compare all patient pairs on a set of continuous variables, for simplicity let say on one continuous variable, let's call it ASCORE. So the dataset has 2 variables, PATIENTID and ASCORE If patient 1 has a larger value for ASCORE than patient 2 then patient 1 earns a value of 1 for that comparison, while patient 2 earns a -1. However if both patients tie, then both earn a 0. Next I would compare patient 1 to patient 3 and so on. Eventually I would like to calculate the total score for each patient, defined as the sum of points from all their comparisons against the other n-1 patients? I think the solution, lies in using the point option in a DATA SET step but there could be other ideas. Any help provided would be great. Thanks
... View more