All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----distributions.CDF_Normal
public CDF_Normal()
public static double xnormi(double p)
Let PHI(x) be the normal cdf. Suppose that Q calculates 1.0 - PHI(x), and that QINV calculates QINV(p) for p in (0.0,.5]. Then for p .le. .5, x = PHIINV(p) = -QINV(p). For p .gt. .5, x = PHIINV(p) = QINV(1.0 - p). The formula for approximating QINV is taken from Abramowitz and Stegun, Handbook of Mathematical Functions, Dover, 9th printing, formula 26.2.3, page 933. The error in x is claimed to be less than 4.5e-4 in absolute value.
All Packages Class Hierarchy This Package Previous Next Index