BookmarkSubscribeRSS Feed
asasha
Obsidian | Level 7

How can I calculate more granular percentiles? Thanks!

 

proc univariate data=dsn;
	var amount;
	output pctlpre=P_ 
		pctlpts= 41 to 42 by 0.1;
run;
2 REPLIES 2
PaigeMiller
Diamond | Level 26

See https://documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.4&docsetId=procstat&docsetTarget=pro...

 

where the example is shown

output pctlpre=P_ pctlpts=50,95 to 100 by 2.5;
--
Paige Miller
PGStats
Opal | Level 21

You need to tell SAS where to put the output

 

output out=myPercentiles pctlpre=P_ pctlpts= 41 to 42 by 0.1;

PG

hackathon24-white-horiz.png

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.

YouTube LinkedIn

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 831 views
  • 3 likes
  • 3 in conversation