public final class ChiSqrDistribution extends ProbabilityDistribution
| Constructor and Description |
|---|
ChiSqrDistribution(double dgr)
Constructs a chi-squared distribution.
|
| Modifier and Type | Method and Description |
|---|---|
double |
cumulative(double X)
Cumulative chi-squared distribution function.
|
double |
getDegreesOfFreedom()
Returns the degrees of freedom.
|
double |
inverse(double probability)
Inverse of the cumulative chi-squared distribution function.
|
double |
probability(double X)
Probability density function of a chi-squared distribution.
|
checkRange, checkRange, findRootpublic ChiSqrDistribution(double dgr)
dgr - degrees of freedom.public double getDegreesOfFreedom()
public double probability(double X)
probability in class ProbabilityDistributionpublic double cumulative(double X)
cumulative in class ProbabilityDistributionpublic double inverse(double probability)
inverse in class ProbabilityDistribution