Rank data in Tertiles

Reply
Contributor
Posts: 27

Rank data in Tertiles

Hi there, i have a long list of data that i want to divide in 3 equal portions (With two cut off points). How can i program this in Sas.

For instance if the data is  1 2 3 4 5 6 7 8 9 19 30 89 78 98.

Super User
Posts: 9,875

Re: Rank data in Tertiles

Check proc rank + ties=dense  ;

Ask a Question
Discussion stats
  • 1 reply
  • 298 views
  • 0 likes
  • 2 in conversation