Interface GammaDistribution
- All Superinterfaces:
ContinuousDistribution,Distribution,HasDensity<Double>
- All Known Implementing Classes:
GammaDistributionImpl
The Gamma Distribution.
References:
-
Method Summary
Modifier and TypeMethodDescriptiondoubleReturn the probability density for a particular point.doublegetAlpha()Access the shape parameter, alphadoublegetBeta()Access the scale parameter, betavoidsetAlpha(double alpha) Deprecated.as of v2.1voidsetBeta(double beta) 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
-
setAlpha
Deprecated.as of v2.1Modify the shape parameter, alpha.- Parameters:
alpha- the new shape parameter.
-
getAlpha
double getAlpha()Access the shape parameter, alpha- Returns:
- alpha.
-
setBeta
Deprecated.as of v2.1Modify the scale parameter, beta.- Parameters:
beta- the new scale parameter.
-
getBeta
double getBeta()Access the scale parameter, beta- Returns:
- beta.
-
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.
-