Statistics Toolbox | ![]() ![]() |
Inverse of a specified cumulative distribution function (icdf)
Syntax
Description
X = icdf('name',P,A1,A2,A3)
returns a matrix of critical values, X, where 'name' is a string containing the name of the distribution. P is a matrix of probabilities, and A, B, and C are matrices of distribution parameters. Depending on the distribution some of the parameters may not be necessary.
Vector or matrix inputs for P, A1, A2, and A3 must all have the same size. A scalar input is expanded to a constant matrix with the same dimensions as the other inputs.
icdf is a utility routine allowing you to access all the inverse cdfs in the Statistics Toolbox using the name of the distribution as a parameter. See Overview of the Distributions for the list of available distributions.
Examples
x = icdf('Normal',0.1:0.2:0.9,0,1) x = -1.2816 -0.5244 0 0.5244 1.2816 x = icdf('Poisson',0.1:0.2:0.9,1:5) x = 1 1 3 5 8
See Also
betainv
, binoinv
, cdf
, chi2inv
, expinv
, finv
, gaminv
, geoinv
, hygeinv
, logninv
, nbininv
, ncfinv
, nctinv
, ncx2inv
, norminv
, pdf
, poissinv
, random
, raylinv
, tinv
, unidinv
, unifinv
, weibinv
![]() | hygestat | inconsistent | ![]() |