Reputation: 2227
proc rank data=___ out=____ ties=low
groups=10;
var variable_name1;
ranks variable_name2;
run;
This code is generating ranks (variable_name2) from 0-9 with only 7 missing. Anyone know why that's the case?
variable_name1 is distributed as follows:
Upvotes: 1
Views: 421
Reputation: 21294
Most likely you have too many ties, repeat of a single value. This means that your 7/8 or 6/7th ranks are essentially the same.
Run a proc freq on your data and you'll find that you have a single number that accounts for more than 10% of your data.
Upvotes: 2