|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doodleproject.numerics4j.statistics.distribution.DiscreteDistribution
net.sf.doodleproject.numerics4j.statistics.distribution.PoissonDistribution
public class PoissonDistribution
The Poisson distribution.
References:
| Constructor Summary | |
|---|---|
PoissonDistribution()
Default distribution. |
|
PoissonDistribution(double m)
Create a distribution with the given mean. |
|
| Method Summary | |
|---|---|
double |
cumulativeProbability(int x)
The CDF for this distribution. |
double |
getMean()
Access the mean. |
int |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution. |
double |
probability(int x)
The PMF for this distribution. |
void |
setMean(double m)
Modify the mean. |
| Methods inherited from class net.sf.doodleproject.numerics4j.statistics.distribution.DiscreteDistribution |
|---|
findInverseCumulativeProbability, simpleCumulativeProbability |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoissonDistribution()
public PoissonDistribution(double m)
m - the mean.| Method Detail |
|---|
public double cumulativeProbability(int x)
throws NumericException
cumulativeProbability in class DiscreteDistributionx - the value at which the CDF is evaluated.
NumericException - if the cumulative probability can not be
computed.
public int inverseCumulativeProbability(double p)
throws NumericException
inverseCumulativeProbability in class DiscreteDistributionp - the cumulative probability.
NumericException - if the inverse cumulative probability can not be
computed.public double probability(int x)
probability in class DiscreteDistributionx - the value at which the probability is evaluated.
public double getMean()
public void setMean(double m)
m - the new mean value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||