Abstract
The R package glmm enables likelihood-based inference for generalized linear mixed models with a canonical link. No other publicly available software accurately conducts likelihood-based inference for generalized linear mixed models with crossed random effects. glmm is able to do so by approximating the likelihood function and two derivatives using importance sampling. The importance sampling distribution is an essential piece of Monte Carlo likelihood approximation, and developing a good one is the main challenge in implementing it. The package glmm uses the data to tailor the importance sampling distribution and is constructed to ensure finite Monte Carlo standard errors. In the context of the generalized linear mixed model, the salamander model with crossed random effects has become a benchmark example. We use this model to illustrate the complexities of the likelihood function and to demonstrate the use of the R package glmm.
Original language | English (US) |
---|---|
Article number | e339 |
Journal | Stat |
Volume | 10 |
Issue number | 1 |
DOIs | |
State | Published - Dec 2021 |
Bibliographical note
Funding Information:The authors are grateful to the Center for Applied Mathematics at the University of Saint Thomas for supporting Ms. Benson's efforts in incorporating parallel computing and weights for weighted likelihood. We are also thankful to Google for supporting part of glmm's development during Google Summer of Code 2014.
Publisher Copyright:
© 2020 John Wiley & Sons, Ltd.