Description Usage Arguments Details Value Authors Examples
negBinMod fits a negative bionomial model to data. Use to fit Total Abundance (Ni)
1 |
NB.form |
an object of class "formula" (or one that can be coerced to that class):a symbolic description of the model to be fitted. An offset in the form offset(log(area sampled)) should be included in the model formula to adjust for differences in area sampled between sites. |
data |
a data frame containing the all variables in the formula including the offset and the response. Each row should be a different site. |
scale.covar |
Should the model matrix be scaled (TRUE/FALSE)? Useful if models do not converge. Setting this to TRUE will save the column means and sd for later prediction. |
est.var |
estimate the variance-covariance matrix using newton-raphson |
trace |
print model trace |
negBinMod used glm.nb (MASS) to get initial parameters & then uses nlminb to fit model. Allows calculation of se for overdispersion parameter. Output is otherwise identical to glm.nb
coef |
coefficents |
vcov |
variance-covariance matrix |
logl |
log-likelihood |
AIC |
AIC |
residuals |
model residuals, calculated using PIT |
fitted |
fitted values |
mean.X |
column means for model matrix if scale.covar is TRUE |
sd.X |
column sds for model matrix if scale.covar is TRUE |
formula |
model formula |
Piers Dunstan and Scott Foster
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.