public static class BetaBinomialDistribution.CDF extends BetaBinomialDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Number>
BetaBinomialDistribution.CDF, BetaBinomialDistribution.MomentMatchingEstimator, BetaBinomialDistribution.PMFDEFAULT_N, DEFAULT_SCALE, DEFAULT_SHAPE, n, scale, shape| Constructor and Description |
|---|
CDF()
Creates a new instance of BetaBinomialDistribution
|
CDF(BetaBinomialDistribution other)
Copy constructor
|
CDF(int n,
double shape,
double scale)
Creates a new instance of BetaBinomialDistribution
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
evaluate(java.lang.Number input)
Evaluates the function on the given input and returns the output.
|
BetaBinomialDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution.
|
clone, convertFromVector, convertToVector, getDomain, getDomainSize, getEstimator, getMaxSupport, getMean, getMeanAsDouble, getMinSupport, getN, getProbabilityFunction, getScale, getShape, getVariance, sampleAsInt, sampleInto, sampleInto, setN, setScale, setShapesampleAsIntssample, sampleequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, convertFromVector, convertToVectorgetMaxSupport, getMeanAsDouble, getMinSupport, getVariancegetMeansample, sample, sampleIntopublic CDF()
public CDF(int n,
double shape,
double scale)
shape - Shape, similar to the beta parameter shape, must be greater than zeroscale - Scale, similar to the beta parameter scale, must be greater than zeron - Number of observations, similar to the Binomial N,
must be greater than zeropublic CDF(BetaBinomialDistribution other)
other - BetaBinomialDistribution to copypublic java.lang.Double evaluate(java.lang.Number input)
Evaluatorpublic BetaBinomialDistribution.CDF getCDF()
UnivariateDistributiongetCDF in interface ClosedFormUnivariateDistribution<java.lang.Number>getCDF in interface UnivariateDistribution<java.lang.Number>getCDF in class BetaBinomialDistribution