public class BetaPD extends ProbabilityDistribution implements Serializable, Cloneable
| Constructor and Description |
|---|
BetaPD()
Constructor for the beta probability distribution
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
getParameterLowerBounds()
Returns the lower bounds for the two shape parameters of the beta
distribution.
|
double[] |
getParameterUpperBounds()
Returns the upper bounds for the two shape parameters of the beta
distribution.
|
double |
pdf(double x,
double[] params)
Returns the value of the beta 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 beta distribution is
![]()
a>0 and b>0 are shape parameters and the
beta function is
![]()
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.