glm_nb | R Documentation |
A modification of glm.nb
to provide a more efficient
workhorse function analagous to glm.fit
where the
response vector, design matrix, and family have already been calculated.
glm_nb(
x,
y,
weights = rep(1, nobs),
start = NULL,
etastart = NULL,
mustart = NULL,
offset = rep(0, nobs),
family = poisson(),
control = list(),
intercept = TRUE
)
x |
A design matrix of dimension |
y |
A vector of observations of length |
weights |
(Optional) |
start |
(Optional) starting values for the parameters in the linear predictor. |
etastart |
(Optional) starting values for the linear predictor. |
mustart |
(Optional) starting values for the vector of means. |
offset |
A vector of length |
family |
The result of a call to either |
control |
A list of parameters for controlling the fitting process to be
passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.