public class StudentT
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
HALF_PI
π/2
|
| Constructor and Description |
|---|
StudentT() |
| Modifier and Type | Method and Description |
|---|---|
static double |
getQuantile(double p,
int df)
Based on Hill, G.W., "Algorithm 396 Student T Quantiles,"
Communications of the ACM, Vol 13, No.
|
static double |
getQuantile2(double p,
int df)
Based on Abramawitz & Stegun, Handbook of Mathematical
Functions, 26.7.5, p.
|
public static final double HALF_PI
public static double getQuantile(double p,
int df)
Returns NaN if df = 0.
p - desired percentiledf - degrees of freedomjava.lang.IllegalArgumentException - if df < 0java.lang.IllegalArgumentException - if p ∉ [0.0, 1.0]public static double getQuantile2(double p,
int df)
p - desired percentiledf - degrees of freedomjava.lang.IllegalArgumentException - if df < 0java.lang.IllegalArgumentException - if p ∉ [0.0, 1.0]