Evaluates the inverse of the noncentral chi-squared cumulative probability distribution function.
double scalar value representing the probability for which the inverse noncentral chi-squared distribution function is to be evaluated. p must be in the open interval (0.0, 1.0). double scalar value representing the number of degrees of freedom. This must be at least 0.5. but less than or equal to 200,000. double scalar value representing the noncentrality parameter. This must be nonnegative, and alam + df must be less than or equal to 200,000. A double scalar value. The probability that a noncentral chi-squared random variable takes a value less than or equal to this returned value is p.
Method InverseNoncentralchi evaluates the inverse distribution function of a noncentral chi-squared random variable with df degrees of freedom and noncentrality parameter alam, that is, with P = p,
, and
, it determines
InverseNoncentralchi(p, df, alam)), such that
where
is the gamma function. The probability that the random variable takes a value less than or equal to
is
.
Method InverseNoncentralchi uses bisection and modified regula falsi to invert the distribution function, which is evaluated using noncentralchi. See Noncentralchi for an alternative definition of the noncentral chi-squared random variable in terms of normal random variables.
Cdf Class | Imsl.Stat Namespace | Example