Displaying 1 result from an estimated 1 matches for "trisk".
Did you mean:
trick
2005 Jun 30
1
RE : Dispersion parameter in Neg Bin GLM
Edward, you also can use the package aod on CRAN, see the help page of the function negbin.
Best
Matthieu
An example:
> library(aod)
> data(dja)
> negbin(y ~ group + offset(log(trisk)), ~group, dja, fixpar = list(4, 0))
Negative-binomial model
-----------------------
negbin(formula = y ~ group + offset(log(trisk)), random = ~group,
data = dja, fixpar = list(4, 0))
Convergence was obtained after 113 iterations.
Fixed-effect coefficients:
Estimate Std. Error z v...