Date: Thu, 27 Aug 1998 13:55:01 -0400
Reply-To: Jack Shoemaker <JShoemak@OXHP.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Jack Shoemaker <JShoemak@OXHP.COM>
Subject: Re: Percentiles
Michael,
By default UNIVARIATE uses a PCTDEF of 3 which means that it interpolates
quantiles by averaging the two adjacent observations. There are four other
definitions you may use which are amply described in the documentation.
Have a blast! - Jack
--
Jack Shoemaker / Oxford Specialty Management / JShoemak@oxhp.com
+ -----Original Message-----
+ From: Michael Hines [mailto:mshines@PURDUE.EDU]
+ Sent: Wednesday, August 26, 1998 5:29 PM
+ To: SAS-L@UGA.CC.UGA.EDU
+ Subject: Percentiles
+
+
+ Mark, Tim and other interested parties.
+
+ I am runing SAS System for the personal computer, ver 6.12.
+
+ Here is the program I ran, the data provided by another
+ person trying to
+ explain the concept.
+
+ It says that the 10th percentile is at the point 3, and the
+ 90th percentile
+ is at the point 19 - neither of which values are in the observations.
+
+ Now, perhaps, you see my difficulty in trying to explian this
+ to others....
+
+ The other suggestion also didn't come up 3 and 19.
+
+ ----------start of code------------
+ data sample;
+ infile cards;
+ input @1 val 10. ;
+ cards;
+ 2
+ 4
+ 6
+ 8
+ 10
+ 12
+ 14
+ 16
+ 18
+ 20
+ ;
+ run;
+
+ proc print;
+ run;
+
+ proc univariate noprint;
+ var val;
+ output out=stats p10=ldec p90=udec;
+ run;
+
+ Proc print;
+ run;
+ ----------end of code-----------------
+ produces output - one line with values for ldec, udec from proc print.
+
+ Enjoy....
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ===================================================================
+ Internet: mshines@purdue.edu | Michael S. Hines CDP,CISA,CIA,CFE
+ Voice: (765) 494-5338 | Coordinator of Systems and Programming
+ FAX: (765) 496-1466 | Purdue University
+ | 1280 Engineering Administration
+ | West Lafayette, IN 47907-1280
+
|