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 (March 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 15 Mar 2007 09:23:08 -0700
Reply-To:   Dale McLerran <stringplayer_2@YAHOO.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Dale McLerran <stringplayer_2@YAHOO.COM>
Subject:   Re: generalized function for calculating quantiles
In-Reply-To:   <77943F39FD8BFB459C22A7A2E578626A063023A6@NCORP-MSG-CLS.Ranbaxy.com>
Content-Type:   text/plain; charset=iso-8859-1

--- Madan Gopal Kundu <Madan.Kundu@RANBAXY.COM> wrote:

> Dear ALL, > > We know that CDF('dist',quantile,parm-1,...,parm-k) that computes > probability in SAS is generalized form of PROBT, PROBNORM etc. > > My query is there any such kind of generalized function for > calculating > quantiles. I am aware of PROBIT(p), TINV(p,df<,nc>), GAMINV(p,a) etc. > which calculates quantiles for specific distributions. I want to have > generalized one which will be able to calculate quantiles for all > distributions. > > Thanks in advance. > > With regards > > MADAN GOPAL KUNDU >

Madan,

How about the QUANTILE function?

y = quantile('<dist>', prob <,shape, location, scale>);

where <dist> specifies a distribution just as for the CDF function. The shape, location, and scale parameters are optional and specific to the distribution. Acceptable specifications for the shape, location, and scale parameters are found in the documentation of the CDF function.

Dale

--------------------------------------- Dale McLerran Fred Hutchinson Cancer Research Center mailto: dmclerra@NO_SPAMfhcrc.org Ph: (206) 667-2926 Fax: (206) 667-5977 ---------------------------------------

____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/


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