|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface representing the Poisson Distribution.
References:
| Method Summary | |
double |
getMean()
Get the mean for the distribution. |
double |
normalApproximateProbability(int x)
Calculates the Poisson distribution function using a normal approximation. |
void |
setMean(double p)
Set the mean for the distribution. |
| Methods inherited from interface org.apache.commons.math.distribution.IntegerDistribution |
cumulativeProbability, cumulativeProbability, inverseCumulativeProbability, probability |
| Methods inherited from interface org.apache.commons.math.distribution.DiscreteDistribution |
probability |
| Methods inherited from interface org.apache.commons.math.distribution.Distribution |
cumulativeProbability, cumulativeProbability |
| Method Detail |
public double getMean()
public void setMean(double p)
IllegalArgument is thrown.
p - the mean
IllegalArgumentException - if p ≤ 0
public double normalApproximateProbability(int x)
throws MathException
x - the upper bound, inclusive
MathException - if an error occurs computing the normal approximation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||