HypergeometricDistribution Constructor

Constructs a new HypergeometricDistribution object with the specified parameters.

Definition

Namespace: Numerics.NET.Statistics.Distributions
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public HypergeometricDistribution(
	int taggedPopulation,
	int untaggedPopulation,
	int samples
)

Parameters

taggedPopulation  Int32
The number of tagged members of the population.
untaggedPopulation  Int32
The number of untagged members of the population.
samples  Int32
The number of samples.

Exceptions

ArgumentOutOfRangeException

taggedPopulation is less than or equal to zero.

-or-

untaggedPopulation is less than or equal to zero.

-or-

samples is less than or equal to zero.

-or-

samples is greater than taggedPopulation + untaggedPopulation.

See Also