<< pois_rnd Supplementary distibution functions stdn_pdf >>

Grocer >> Supplementary distibution functions > quantile

quantile

calculate the quantiles of variables

CALLING SEQUENCE

[Y]=quantile(X,p)

PARAMETERS

Input

* X = a (n x r) matrix

* p = p is a scalar or a (np x 1) vector of cumulative probability values

 

Output

* Y = a (np x r) matrix of quantiles

DESCRIPTION

Calculate the quantiles of variables X.

EXAMPLE

x = grand(15,4,'nor',0,1);
y=quantile(x,[.025 .25 .50 .75 .975])

AUTHOR

Eric Dubois 2011

Report an issue
<< pois_rnd Supplementary distibution functions stdn_pdf >>