public static class PoissonDistribution.CDF extends PoissonDistribution implements ClosedFormCumulativeDistributionFunction<java.lang.Number>
PoissonDistribution.CDF, PoissonDistribution.MaximumLikelihoodEstimator, PoissonDistribution.PMF, PoissonDistribution.WeightedMaximumLikelihoodEstimator
DEFAULT_RATE, rate
Constructor and Description |
---|
CDF()
Default constructor.
|
CDF(double rate)
Creates a new CDF
|
CDF(PoissonDistribution other)
Copy constructor
|
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.
|
PoissonDistribution.CDF |
getCDF()
Gets the CDF of a scalar distribution.
|
clone, convertFromVector, convertToVector, getDomain, getDomainSize, getEstimator, getMaxSupport, getMean, getMeanAsDouble, getMinSupport, getProbabilityFunction, getRate, getVariance, sampleAsInt, sampleInto, sampleInto, setRate
sampleAsInts
sample, sample
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, convertFromVector, convertToVector
getMaxSupport, getMeanAsDouble, getMinSupport, getVariance
getMean
sample, sample, sampleInto
public CDF()
public CDF(double rate)
rate
- Expected number of occurrences during the integer interval, must be
greater than zero.public CDF(PoissonDistribution other)
other
- PoissonDistribution to copypublic java.lang.Double evaluate(java.lang.Number input)
Evaluator
public PoissonDistribution.CDF getCDF()
UnivariateDistribution
getCDF
in interface ClosedFormUnivariateDistribution<java.lang.Number>
getCDF
in interface UnivariateDistribution<java.lang.Number>
getCDF
in class PoissonDistribution