|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction
com.numericalmethod.suanshu.analysis.function.special.CumulativeNormalInverse
public class CumulativeNormalInverse
This computes an approximation to the quantile function of the cumulative Normal distribution function,
N-1(x)
We use the Beasley-Springer-Moro algorithm.
It has a maximum absolute error of 3e-9 out to seven standard deviations.
The error is maximal when u is around 0.5.
The R equivalent function is qnorm.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function |
|---|
Function.EvaluationException |
| Constructor Summary | |
|---|---|
CumulativeNormalInverse()
|
|
| Method Summary | |
|---|---|
double |
evaluate(double u)
Compute f(x). |
| Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.UnivariateRealFunction |
|---|
dimension4Domain, dimension4Range, evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CumulativeNormalInverse()
| Method Detail |
|---|
public double evaluate(double u)
UnivariateRealFunctionf(x).
evaluate in class UnivariateRealFunctionu - x
f(x)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||