public class ApproxFastChiSquareDistribution extends GammaDistribution
Constructor and Description |
---|
ApproxFastChiSquareDistribution(int maxX,
int maxN) |
Modifier and Type | Method and Description |
---|---|
static double |
cdf(double x,
double n)
cumulative density function of the chi-square distribution
|
double |
cdfFastApprox(double x,
double n)
cumulative density function of the chi-square distribution
|
static double |
mean(double n)
mean of the chi-square distribution
|
static double |
pdf(double x,
double n)
probability density function of the chi-square distribution
|
static double |
quantile(double y,
double n)
quantile (inverse cumulative density function) of the chi-square distribution
|
static double |
variance(double n)
variance of the chi-square distribution
|
public ApproxFastChiSquareDistribution(int maxX, int maxN)
public static double pdf(double x, double n)
x
- argumentn
- degrees of freedompublic static double cdf(double x, double n)
x
- argumentn
- degrees of freedompublic double cdfFastApprox(double x, double n)
x
- argumentn
- degrees of freedompublic static double quantile(double y, double n)
x
- argumentn
- degrees of freedompublic static double mean(double n)
n
- degrees of freedompublic static double variance(double n)
n
- degrees of freedomCopyright © 2018. All rights reserved.