BookmarkSubscribeRSS Feed
Sami1234
Fluorite | Level 6

Dear All,

Please, can someone guide how can I use proc rank to select the best 10% of the records by each treatment and then apply to proc survey for tipping point analysis?

 

Thanks

1 REPLY 1
Reeza
Super User
proc rank data=have groups=10;
by treatment;
var myVar;
ranks rankMyVar;
run;

*then select the records where the group=9.

No idea about PROC SURVEY and the tipping point analysis.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 697 views
  • 0 likes
  • 2 in conversation