I know this is going to be a BASIC question for everyone here but I have to ask it, so please forgive ... I'm a new user.
I am trying to do a basic Proc Means data extraction for a data set by certain fields needed for Survival Analysis. I am using the following code:
Proc Means N Median Min Max LCLM UCLM;
var ANC500;
Where Cens_ANC28 = 0;
CLASS BMTTYPE;
Run
This works fine, but what I also need to do is run the same with more than one Class so that it combines them (i.e. I could add "By Yr" to the top but that gives me for each year what the BMTTYPE was and I need the stats for them combined.). I tried to add two classes but it doesn't work, even though I see examples online of this process. I tried adding all of them to the Sort field and still nothing.
Anyone know what I am doing wrong?
TIA