BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am not sure about the right forum but...

Can I count some other percintiles (for example p34, p76...) that are not built in means procedure?
2 REPLIES 2
deleted_user
Not applicable
define your preferred pctl in proc univariate
deleted_user
Not applicable
there is an example in online doc at
http://support.sas.com/onlinedoc/913/getDoc/en/procstat.hlp/univariate_sect57.htm
adapted here, to use sashelp.class data with a class statement
[pre]
proc univariate data= sashelp.class noprint ;
class sex ;
var weight height ;
output out=Pctls pctlpts = 20 40
pctlpre = weight height
pctlname = pct20 pct40 ;
run ;
[/pre]

Good Luck
Peter

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 2 replies
  • 1475 views
  • 0 likes
  • 1 in conversation