I would like to compute the xthe percentile using the data column but partitioned by date and numberofclusters. I could do it using two for loops but I was wondering if there is a more elegant way to do this.. Thanks very much!
Proc summary or univariate with a By or Class statement.
proc univariate data=sashelp.cars noprint;
class make; var mpg_city; output pctlpre=P_ pctlpts= 50, 75 to 100 by 5; run;
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.