I have the following code, I am a beginner SAS programmer;
I am trying to find the maximum number of frequency in category DIA_1 I think that I should sort by Patient ID first then find DIA_1 is that correct. How could I program: This is what I came up with but its wrong. Thanks.
proc sort data = report.FY08_datanodup;
by PAT_ID descending DIA_1;
proc freq data = report.FY08_datanodup;
Message was edited by: RHUB