## 20th percentile in PROC SUMMARY?

Solved
Occasional Contributor
Posts: 17

# 20th percentile in PROC SUMMARY?

Hi guys

Just wondering whats the term to receive 20th percentile in proc summary? Q1 =25% and Q3=50%, but what is the term for 20th percentile?

I typically use:

PROC SUMMARY PRINT N MEAN STD MEDIAN Min Max MEDIAN Q1 Q3;

VAR x x1 x2 x3;  run;

Accepted Solutions
Solution
‎07-19-2012 09:17 AM
PROC Star
Posts: 1,307

## Re: 20th percentile in PROC SUMMARY?

Good news!

As of SAS 9.3, all of the "mod 10" percentiles have been added to PROC MEANS and SUMMARY!

For 20th percentile, use P20.

Tom

All Replies
Regular Contributor
Posts: 151

## Re: 20th percentile in PROC SUMMARY?

The only percentiles available in Proc Summary are 1,5,10,25,50,75,90,95,99.  To get other percentiles, you need Proc Univariate, use the PCTLPTS option within the OUTPUT statement.

Solution
‎07-19-2012 09:17 AM
PROC Star
Posts: 1,307

## Re: 20th percentile in PROC SUMMARY?

Good news!

As of SAS 9.3, all of the "mod 10" percentiles have been added to PROC MEANS and SUMMARY!

For 20th percentile, use P20.

Tom

🔒 This topic is solved and locked.