gov.sandia.cognition.statistics.distribution
Class PoissonDistribution.CDF

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.AbstractDistribution<NumberType>
          extended by gov.sandia.cognition.statistics.AbstractClosedFormUnivariateDistribution<Number>
              extended by gov.sandia.cognition.statistics.distribution.PoissonDistribution
                  extended by gov.sandia.cognition.statistics.distribution.PoissonDistribution.CDF
All Implemented Interfaces:
Evaluator<Number,Double>, Vectorizable, ClosedFormComputableDistribution<Number>, ClosedFormCumulativeDistributionFunction<Number>, ClosedFormDiscreteUnivariateDistribution<Number>, ClosedFormDistribution<Number>, ClosedFormUnivariateDistribution<Number>, ComputableDistribution<Number>, CumulativeDistributionFunction<Number>, DiscreteDistribution<Number>, Distribution<Number>, DistributionWithMean<Number>, EstimableDistribution<Number,PoissonDistribution>, UnivariateDistribution<Number>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
PoissonDistribution

public static class PoissonDistribution.CDF
extends PoissonDistribution
implements ClosedFormCumulativeDistributionFunction<Number>

CDF of the PoissonDistribution

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class gov.sandia.cognition.statistics.distribution.PoissonDistribution
PoissonDistribution.CDF, PoissonDistribution.MaximumLikelihoodEstimator, PoissonDistribution.PMF, PoissonDistribution.WeightedMaximumLikelihoodEstimator
 
Field Summary
 
Fields inherited from class gov.sandia.cognition.statistics.distribution.PoissonDistribution
DEFAULT_RATE, rate
 
Constructor Summary
PoissonDistribution.CDF()
          Default constructor.
PoissonDistribution.CDF(double rate)
          Creates a new CDF
PoissonDistribution.CDF(PoissonDistribution other)
          Copy constructor
 
Method Summary
 Double evaluate(Number input)
          Evaluates the function on the given input and returns the output.
 PoissonDistribution.CDF getCDF()
          Gets the CDF of a scalar distribution.
 
Methods inherited from class gov.sandia.cognition.statistics.distribution.PoissonDistribution
clone, convertFromVector, convertToVector, getDomain, getDomainSize, getEstimator, getMaxSupport, getMean, getMinSupport, getProbabilityFunction, getRate, getVariance, sample, setRate
 
Methods inherited from class gov.sandia.cognition.statistics.AbstractDistribution
sample
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.math.matrix.Vectorizable
clone, convertFromVector, convertToVector
 
Methods inherited from interface gov.sandia.cognition.statistics.UnivariateDistribution
getMaxSupport, getMinSupport, getVariance
 
Methods inherited from interface gov.sandia.cognition.statistics.DistributionWithMean
getMean
 
Methods inherited from interface gov.sandia.cognition.statistics.Distribution
sample, sample
 

Constructor Detail

PoissonDistribution.CDF

public PoissonDistribution.CDF()
Default constructor.


PoissonDistribution.CDF

public PoissonDistribution.CDF(double rate)
Creates a new CDF

Parameters:
rate - Expected number of occurrences during the integer interval, must be greater than zero.

PoissonDistribution.CDF

public PoissonDistribution.CDF(PoissonDistribution other)
Copy constructor

Parameters:
other - PoissonDistribution to copy
Method Detail

evaluate

public Double evaluate(Number input)
Description copied from interface: Evaluator
Evaluates the function on the given input and returns the output.

Specified by:
evaluate in interface Evaluator<Number,Double>
Parameters:
input - The input to evaluate.
Returns:
The output produced by evaluating the input.

getCDF

public PoissonDistribution.CDF getCDF()
Description copied from interface: UnivariateDistribution
Gets the CDF of a scalar distribution.

Specified by:
getCDF in interface ClosedFormUnivariateDistribution<Number>
Specified by:
getCDF in interface UnivariateDistribution<Number>
Overrides:
getCDF in class PoissonDistribution
Returns:
CDF of the scalar distribution.