Help using Base SAS procedures

How to calculate 1/3 percentile and 2/3 percentile in sas

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

How to calculate 1/3 percentile and 2/3 percentile in sas

I tried using proc univariate to calculate quantiles. I did 25, 50 and 75. But now I need 1/3 quantile and 2/3 quantile. What should I specify in the option to do this? Thanks.


Accepted Solutions
Solution
‎11-16-2017 01:50 AM
Esteemed Advisor
Posts: 5,541

Re: How to calculate 1/3 percentile and 2/3 percentile in sas

Use statement

 

output pctlpre=pct_ pctlpts=33.3333, 66.6667 pctlndec=4;

 

in proc univariate.

PG

View solution in original post


All Replies
Solution
‎11-16-2017 01:50 AM
Esteemed Advisor
Posts: 5,541

Re: How to calculate 1/3 percentile and 2/3 percentile in sas

Use statement

 

output pctlpre=pct_ pctlpts=33.3333, 66.6667 pctlndec=4;

 

in proc univariate.

PG
☑ This topic is solved.

Need further help from the community? Please ask a new question.

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