| negative.binomial(MASS) | R Documentation |
Specifies the information required to fit a Negative Binomial generalized
linear model, with known theta parameter, using glm().
negative.binomial(theta=stop("theta must be specified"), link="log")
theta |
The known value of the additional parameter, theta.
|
link |
The link function. Currently must be one of log, sqrt or identity.
|
A list of functions and expressions needed by glm() to fit a Negative
Binomial generalized linear model.
glm.nb, anova.negbin, summary.negbin
# Fitting a Negative Binomial model to the quine data # with theta=2 assumed known. # data(quine) quine.nb <- glm(Days ~ .^4, family=neg.bin(2), data=quine)