dnb2 {mmlcr} | R Documentation |
The density for the negative binomial function, in a form suitable for the mmlcrlike function.
dnb2(y, mu, th)
y |
Observations |
mu |
The mean of the distribution |
th |
The parameter theta. |
The variance function of the distribution is μ +μ^2/theta.
The density is
f(y) = [Gamma(th + y) mu^y theta^th] / [Gamma(th) y! (mu + th)^(mu + th)].
The density.
Venables, W. N. and Ripley, B. D. 2002 Modern Applied Statistics with S, Springer Verlag.