Description Usage Arguments Value Examples
This is an extension of the negbin in the
mgcv package, providing additional components related to the
negative binomial distribution with log link.
Compared to negbin followed by a call to
fix.family.link in the mgcv package
this function provides a different implementation of linkinv,
added a component initializers of
initialization expressions, added the third and fourth order
cumulant functions cumulant3 and cumulant4.
1 |
link |
The link funciton. Only |
overdisp |
A positive overdispersion parameter. This is the same as
|
A list of class c("fbrNBfamily", "family"), containing
all components from the mgcv::negbin followed by a call to
fix.family.link with the following additional components:
A function setting the overdispersion parameter to a
specified value. The input argument to this function is 1/overdisp.
A function returning the third cumulant of the distribution.
Input arguments are the mean mu and variance var.
A function returning the fourth cumulant of the distribution.
Input arguments are the mean mu and variance var.
A list of expressions that can be used to provide
starting values for iterative fitting. See the initialize component
of the result from family.
1 | negbin('log', 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.