LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2004, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 4 Feb 2004 14:22:10 -0500
Reply-To:     Bruce Johnson <bjohnson@SOLUCIENT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Bruce Johnson <bjohnson@SOLUCIENT.COM>
Subject:      50th Percentile
Content-Type: text/plain; charset="us-ascii"

I have a project request where I have to find the 50th percentile for a field, and then print that, along with other information on that particular record. Let's say I have a dataset that is built from this code:

data batters; input lname $ fname $ avg; cards; SAMMY SOSA .341 MOISES ALOU .249 PAUL BAKO .205 ALEX GONZALEZ .241 ARAMIS RAMIREZ .301 COREY PATTERSON .292 DAVID KELTON .285 ; run;

Proc Univariate, from what I can tell, will not allow me to display the LNAME and FNAME for the AVG that is the 50th percentile. How can I report the AVG that is the 50th percentile along with the LNAME and FNAME for that record?

Thanks in advance.

_______________________________ Bruce A. Johnson Senior Data Analyst Solucient, LLC (847) 440-9635 bjohnson@solucient.com This message is a private communication. It may contain information that is confidential and legally protected from disclosure. If you are not an intended recipient, please do not read, copy or use this message or any attachments, and do not disclose them to others. Please notify the sender of the delivery error by replying to this message, and then delete it and any attachments from your system. Thank you, Solucient LLC (rev eXclaimer 2x)


Back to: Top of message | Previous page | Main SAS-L page