public class GammaPD extends ProbabilityDistribution implements Serializable, Cloneable
| Constructor and Description |
|---|
GammaPD()
Constructor for the gamma probability distribution
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getParameterLowerBounds()
Returns the lower bounds for the shape and scale parameters of the gamma
distribution.
|
double[] |
getParameterUpperBounds()
Returns the upper bounds for the shape and scale parameters of the gamma
distribution.
|
double |
pdf(double x,
double[] params)
Returns the value of the gamma probability density function.
|
getNumberOfParameters, getPDFGradientApproximation, getPDFHessianApproximation, getRangeOfX, setRangeOfXpublic double[] getParameterLowerBounds()
getParameterLowerBounds in class ProbabilityDistributiondouble array containing the lower boundspublic double[] getParameterUpperBounds()
getParameterUpperBounds in class ProbabilityDistributiondouble array containing the upper boundspublic double pdf(double x,
double[] params)
The probability density function of the gamma distribution is
![]()
a is the shape parameter and b is the
scale parameter.
pdf in class ProbabilityDistributionx - a double value in the range of Xparams - a double array containing values of the
parameters, with params[0]=params[1]=double value equal to the probability density at
x given the parameter valuesCopyright © 1970-2015 Rogue Wave Software
Built March 24 2015.