06-11-2013 01:31 PM
Is there a way, I can sort formatted value created using Proc Format. So what I have right now is something like this:
0 - 100 = '0 to 100'
101-200 = '101 to 200'
Proc Freq data = Dataset;
Format VarA A.;
When I run Proc freq the way it outputs value is in this order:
Is there a way, I can reverse the order. So I have following output:
06-11-2013 01:59 PM
Try sorting the dataset in descending order by varA (ie by descending varA. Then run the freq with order = data option (ie proc freq data= dataset order = data),
See if that helps.