NegativeBinomial

constructor(parameter: DoubleArray)

Constructs a NegativeBinomial using the supplied parameters

Parameters

parameter

parameter0 should be the probability (p) and parameter1 should be the desired number of successes


constructor(theProbSuccess: Double = 0.5, theNumSuccesses: Double = 1.0, name: String? = null)

Parameters

theProbSuccess

The success probability, must be in range (0,1)

theNumSuccesses

The desired number of successes

name

an optional name/label