double ncchisqv(double p, double v, double delta);
Returns the critical point of the Non-central Chi-square random variable distribution function with degrees of freedom v and non-centrality parameter delta associated with probability p.
Parameters:
p | Cummulative probability for the critical point. |
---|---|
v | Degrees of freedom. |
delta | Non-centrality parameter |
Returns:
x such that P(X ≤ x | v, delta) = p
Errors:
NUMERICS_ERROR
is raised if v ≤ 0, delta < 0, p ≤ 0, or p ≥ 1
Usage:
double x = ncchisqv(.5, 1.5, 2.75)
Header:
#include "noncdist.h"