Interface ChiSquaredDistribution
- All Superinterfaces:
ContinuousDistribution,Distribution,HasDensity<Double>
- All Known Implementing Classes:
ChiSquaredDistributionImpl
The Chi-Squared Distribution.
References:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturn the probability density for a particular point.doubleAccess the degrees of freedom.voidsetDegreesOfFreedom(double degreesOfFreedom) Deprecated.as of v2.1Methods inherited from interface org.apache.commons.math.distribution.ContinuousDistribution
inverseCumulativeProbabilityMethods inherited from interface org.apache.commons.math.distribution.Distribution
cumulativeProbability, cumulativeProbability
-
Method Details
-
setDegreesOfFreedom
Deprecated.as of v2.1Modify the degrees of freedom.- Parameters:
degreesOfFreedom- the new degrees of freedom.
-
getDegreesOfFreedom
double getDegreesOfFreedom()Access the degrees of freedom.- Returns:
- the degrees of freedom.
-
density
Return the probability density for a particular point.- Specified by:
densityin interfaceHasDensity<Double>- Parameters:
x- The point at which the density should be computed.- Returns:
- The pdf at point x.
-