Click or drag to resize

NegativeBinomial Constructor (Int32, Double)

Creates new instance of NegativeBinomial with user specified parameters.

Namespace:  FinMath.Statistics.Distributions
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public NegativeBinomial(
	int numberOfFailures,
	double successProbability
)

Parameters

numberOfFailures
Type: SystemInt32
Number of failures until the experiment is stopped.
successProbability
Type: SystemDouble
Success probability in each trial.
See Also