public class ChiSquareDistribution extends GammaDistribution
Constructor and Description |
---|
ChiSquareDistribution() |
Modifier and Type | Method and Description |
---|---|
static double |
cdf(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 static double pdf(double x, double n)
x
- argumentn
- degrees of freedompublic static double cdf(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 freedom