NegativeBinomialDistribution Constructor |
Initializes a new negative binomial distribution.
Namespace:
Meta.Numerics.Statistics.Distributions
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public NegativeBinomialDistribution(
double r,
double p
)
Public Sub New (
r As Double,
p As Double
)
public:
NegativeBinomialDistribution(
double r,
double p
)
new :
r : float *
p : float -> NegativeBinomialDistribution
Parameters
- r
- Type: SystemDouble
The number of failures required, which must be positive. - p
- Type: SystemDouble
The probability of success for each trial, which must lie between 0 and 1.
See Also