Programming the statistical procedures from SAS

Percentiles

Reply
N/A
Posts: 1

Percentiles


Hey there!

What is the best / quickest way to calculate the 75th percentile in SAS from different variables in a very large data set?

Is there a way to only calculate the percentile and not the other statistics in Proc univariate?

Thanks 

Super Contributor
Posts: 543

Re: Percentiles

How about this:

proc summary data = sashelp.class p75 print;

    var age;

run;

But I am not sure it is the quickest.

Smiley Happy

Respected Advisor
Posts: 3,773

Re: Percentiles

PROC STDIZE has a one-pass apprach that you may find useful. PCTLMTD=ONEPASS

Ask a Question
Discussion stats
  • 2 replies
  • 146 views
  • 6 likes
  • 3 in conversation