PoissonDistribution Constructor

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

PoissonDistribution(Double) Constructs a new PoissonDistribution.
PoissonDistribution(Vector<Double>) Estimates the parameters of the distribution of a variable assuming it follows a Poisson distribution.

PoissonDistribution(Double)

Constructs a new PoissonDistribution.
C#
public PoissonDistribution(
	double mean
)

Parameters

mean  Double
The mean of the distribution.

Remarks

mean represents the mean number of occurrances of an event in unit time.

PoissonDistribution(Vector<Double>)

Estimates the parameters of the distribution of a variable assuming it follows a Poisson distribution.
C#
public PoissonDistribution(
	Vector<double> variable
)

Parameters

variable  Vector<Double>
A vector.

Return Value

The PoissonDistribution that best matches the distribution of variable.

Remarks

Use this constructor to create a PoissonDistribution whose parameter is estimated from variable.

Exceptions

ArgumentNullException

variable is null.

See Also