icdf
statistics: x = icdf (name, p, A)
statistics: x = icdf (name, p, A, B)
statistics: x = icdf (name, p, A, B, C)
Return the inverse CDF of a univariate distribution evaluated at p.
icdf is a wrapper for the univariate quantile distribution functions
(iCDF) available in the statistics package. See the corresponding functions’
help to learn the signification of the parameters after p.
x = icdf (name, p, A) returns the iCDF for the
one-parameter distribution family specified by name and the
distribution parameter A, evaluated at the values in p.
x = icdf (name, p, A, B) returns the
iCDF for the two-parameter distribution family specified by name and
the distribution parameters A and B, evaluated at the values in
p.
x = icdf (name, p, A, B, C)
returns the iCDF for the three-parameter distribution family specified by
name and the distribution parameters A, B, and C,
evaluated at the values in p.
name must be a char string of the name or the abbreviation of the desired quantile distribution function as listed in the following table. The last column shows the number of required parameters that should be parsed after x to the desired iCDF.
| Distribution Name | Abbreviation | Input Parameters |
|---|---|---|
'Beta' | 'beta' | 2 |
'Binomial' | 'bino' | 2 |
'Birnbaum-Saunders' | 'bisa' | 2 |
'Burr' | 'burr' | 3 |
'Cauchy' | 'cauchy' | 2 |
'Chi-squared' | 'chi2' | 1 |
'Extreme Value' | 'ev' | 2 |
'Exponential' | 'exp' | 1 |
'F-Distribution' | 'f' | 2 |
'Gamma' | 'gam' | 2 |
'Geometric' | 'geo' | 1 |
'Generalized Extreme Value' | 'gev' | 3 |
'Generalized Pareto' | 'gp' | 3 |
'Gumbel' | 'gumbel' | 2 |
'Half-normal' | 'hn' | 2 |
'Hypergeometric' | 'hyge' | 3 |
'Inverse Gaussian' | 'invg' | 2 |
'Laplace' | 'laplace' | 2 |
'Logistic' | 'logi' | 2 |
'Log-Logistic' | 'logl' | 2 |
'Lognormal' | 'logn' | 2 |
'Nakagami' | 'naka' | 2 |
'Negative Binomial' | 'nbin' | 2 |
'Noncentral F-Distribution' | 'ncf' | 3 |
'Noncentral Student T' | 'nct' | 2 |
'Noncentral Chi-Squared' | 'ncx2' | 2 |
'Normal' | 'norm' | 2 |
'Poisson' | 'poiss' | 1 |
'Rayleigh' | 'rayl' | 1 |
'Rician' | 'rice' | 2 |
'Student T' | 't' | 1 |
'location-scale T' | 'tls' | 3 |
'Triangular' | 'tri' | 3 |
'Discrete Uniform' | 'unid' | 1 |
'Uniform' | 'unif' | 2 |
'Von Mises' | 'vm' | 2 |
'Weibull' | 'wbl' | 2 |
Source Code: icdf
Distribution names are matched ignoring case, spaces and hyphens, so that
'Extreme Value', 'ExtremeValue' and 'extreme-value'
all select the same distribution, and the same set of names is accepted by
cdf, pdf, icdf, random, makedist,
fitdist and mle.
This accepts more names than MATLAB. MATLAB takes the spaced and the
squashed spelling but refuses the hyphenated one, so
'Birnbaum-Saunders' and 'Log-Logistic' are errors there;
Octave has always accepted them and continues to. MATLAB also accepts
'tLocationScale' in makedist while refusing it in
cdf for the same distribution; Octave accepts it, and
'location-scale T', everywhere. Code written against MATLAB’s
names therefore runs unchanged, but code relying on these names will not
port back.
See also: icdf, pdf, random, betainv, binoinv, bisainv, burrinv, cauchyinv, chi2inv, evinv, expinv, finv, gaminv, geoinv, gevinv, gpinv, gumbelinv, hninv, hygeinv, invginv, laplaceinv, logiinv, loglinv, logninv, nakainv, nbininv, ncfinv, nctinv, ncx2inv, norminv, poissinv, raylinv, riceinv, tinv, tlsinv, triinv, unidinv, unifinv, vminv, wblinv
Source Code: icdf