|
--- 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/
|