Statistics Toolbox | ![]() ![]() |
Inverse of the noncentral chi-square cdf.
Syntax
X = ncx2inv(P,V,DELTA)
Description
X = ncx2inv(P,V,DELTA)
returns the inverse of the noncentral chi-square cdf with parameters V
and DELTA
at the corresponding probabilities in P
. Vector or matrix inputs for P
, V
, and DELTA
must have the same size, which is also the size of X
. A scalar input for P
, V
, or DELTA
is expanded to a constant matrix with the same dimensions as the other inputs.
Algorithm
ncx2inv
uses Newton's method to converge to the solution.
Example
ncx2inv([0.01 0.05 0.1],4,2) ans = 0.4858 1.1498 1.7066
References
Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 50-52.
Johnson, N., and S. Kotz, Distributions in Statistics: Continuous Univariate Distributions-2, John Wiley and Sons, 1970. pp. 130-148.
See Also
icdf
, ncx2cdf
, ncx2pdf
, ncx2rnd
, ncx2stat
![]() | ncx2cdf | ncx2pdf | ![]() |