Click or drag to resize
Accord.NET (logo)

HypergeometricDistributionFromSuccessCounts Method

Creates a new HypergeometricDistribution from the number of successes, failures, and the number of samples drawn. This is the same parameterization used in R.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static HypergeometricDistribution FromSuccessCounts(
	int successes,
	int failures,
	int samples
)
Request Example View Source

Parameters

successes
Type: SystemInt32
The number m of successes in the population.
failures
Type: SystemInt32
The number m of failures in the population.
samples
Type: SystemInt32
The number n of samples drawn from the population.

Return Value

Type: HypergeometricDistribution
See Also