|
JMSLTM Numerical Library 6.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.imsl.stat.PoissonDistribution
public class PoissonDistribution
Evaluates a Poisson probability distribution.
The poissonDistribution evaluates the poisson probability
distribution of a given set of data, xData. If parameters are
not supplied, the eval method first calculates theta,
.
The poisson probability distribution is defined as:
![]()
| Constructor Summary | |
|---|---|
PoissonDistribution()
|
|
| Method Summary | |
|---|---|
double[] |
eval(double[] xData)
Evaluates a Poisson probability distribution from a given set of data. |
double[] |
eval(double[] xData,
Object[] parameters)
Evaluates a Poisson probability distribution from a given set of data. |
double |
eval(double xData,
Object[] parameters)
Evaluates a Poisson probability distribution at a given point xData. |
Object[] |
getParameters()
Returns the Parameters used to evaluate the distribution. |
double |
getTheta()
Returns the mean number of successes in a given time period of the Poisson probability distribution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoissonDistribution()
| Method Detail |
|---|
public double[] eval(double[] xData)
eval in interface DistributionxData - a double array representing the points at which the
Poisson probability distribution function is to evaluate.
double array representing the Poisson probability
distribution of xData.
public double[] eval(double[] xData,
Object[] parameters)
eval in interface ProbabilityDistributionxData - a double array representing the points at which the
Poisson probability distribution function is to evaluate.parameters - an Object array representing the parameters used to
evaluate the poisson distribution.
double array representing the Poisson probability
distribution of xData.
public double eval(double xData,
Object[] parameters)
xData.
eval in interface ProbabilityDistributionxData - a double array representing the points at which the
Poisson probability distribution function is to evaluate.parameters - an Object array representing the parameters used to
evaluate the poisson distribution.
double array representing the Poisson probability
distribution of xData.public Object[] getParameters()
getParameters in interface ProbabilityDistributionObject array representing the parameters used to
evaluate the poisson distribution. This Object array can be
retrieved after invoking the eval method with the
following signature, double[] eval(double[] xData).
This Object array can be used as input later with
another set of data to the eval methods that
require an Object array of distribution parameters
as input.public double getTheta()
double representing the mean number of successes
in a given time period of the Poisson probability distribution.
|
JMSLTM Numerical Library 6.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||