Click or drag to resize
Accord.NET (logo)

NegativeBinomialDistribution Constructor

Creates a new Negative Binomial distribution.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public NegativeBinomialDistribution(
	[PositiveIntegerAttribute(1, 2147483647)] int failures,
	[UnitAttribute] double probability
)
Request Example View Source

Parameters

failures
Type: SystemInt32
Number of failures r.
probability
Type: SystemDouble
Success probability in each experiment.
See Also