negativeBinomial
negativeBinomial(mu: number, sigma: number) 🡒 ranvar, pure function
Returns the negative binomial distribution of mean mu
and of standard deviation sigma
. If the standard deviation is smaller than the square root of the team, then a Poisson distribution of the specified mean is returned instead (hence ignoring the sigma).
table T = with
[| as Mu, as Sigma |]
[| 0.5, 2.0 |]
[| 1.5, 2.0 |]
[| 5.5, 2.0 |]
[| 10.0, 2.0 |]
show table "" a1c4 with
T.Mu
T.Sigma
negativeBinomial(T.Mu, T.Sigma)