public class ChiSquaredDistribution extends GammaDistribution
LANCZOS, NUM_PRECISION
Constructor and Description |
---|
ChiSquaredDistribution(double dof)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static double |
cdf(double val,
double dof)
The CDF, static version.
|
static double |
pdf(double x,
double dof)
Chi-Squared distribution PDF (with 0.0 for x < 0)
|
cdf, cdf, getK, getTheta, logGamma, nextRandom, nextRandom, pdf, pdf, regularizedGammaP, regularizedGammaQ, toString
public ChiSquaredDistribution(double dof)
dof
- Degrees of freedom.public static double cdf(double val, double dof)
val
- Valuedof
- Degrees of freedom.public static double pdf(double x, double dof)
x
- query valuedof
- Degrees of freedom.