negativeBinomial {WALS}R Documentation

Negative binomial family

Description

Reconstruct family object for negative binomial type 2 (NB2) with fixed scale parameter theta. Analogous to negative.binomial in MASS (Venables and Ripley 2002) but MASS uses non-canonical link.

Usage

negativeBinomial(theta, link = "log")

Arguments

theta

dispersion parameter of NB2, always larger than 0.

link

specifies link function, currently only "log" and "canonical" are supported.

References

Venables WN, Ripley BD (2002). Modern Applied Statistics with S, Statistics and Computing, 4th edition. Springer-Verlag, New York. doi:10.1007/978-0-387-21706-2, https://www.stats.ox.ac.uk/pub/MASS4/.

See Also

family, familyWALS, negbinWALS, negbinFixedWALS.


[Package WALS version 0.2.5 Index]