Skip to content
Prev 15085 / 20628 Next

GLMM for underdispersed count data: Conway-Maxwell-Poisson and Ordinal

The Conway-Maxwell-Poisson may well be the way to go here; I?ll note only that I have sometimes found underdispersed counting data being driven by excess zeroes. If zero-inflation of some kind is in fact the culprit, and you still wish to use multi-level modeling, the brms front-end for Stan offers a variety of easy-to-use fitting options for zero-inflation / hurdle / adjustment.



Best,

Jonathan



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: Mollie Brooks<mailto:mollieebrooks at gmail.com>
Sent: Wednesday, December 7, 2016 7:36 PM
To: Simone Santoro<mailto:santoro at ebd.csic.es>
Cc: r-sig-mixed-models at r-project.org<mailto:r-sig-mixed-models at r-project.org>
Subject: Re: [R-sig-ME] GLMM for underdispersed count data: Conway-Maxwell-Poisson and Ordinal



Dear Simone,

I?ve been working on adding the Conway-Maxwell-Poisson distribution to the glmmTMB package. It isn?t published yet, but I?ve tested it with simulated data and 2 real data sets. It seems to be working well, so I plan to introduce it in a manuscript on Biorxiv in the near future. You?re welcome to try it with your data and tell me how it goes.

First, you?ll have to install the genpois branch of glmmTMB with the following

devtools::install_github("glmmTMB/glmmTMB/glmmTMB", ref="genpois")

Then, you could fit your model with this code

FMCMP <- glmmTMB(fledges ~ habitatF * (areaPatchFath + poligF01 +
StdLayingDate + ageFath1 + ageMoth1) + (1|year) + (1|ringMoth) +
(1|ringFath), data = datiDRS, family="compois")

For an explanation of the dispersion parameter, see ?sigma.glmmTMB

If you want to try it out on simulated data, there?s an rCMP function available here
https://github.com/James-Thorson/Conway-Maxwell-Poisson <https://github.com/James-Thorson/Conway-Maxwell-Poisson>

cheers,
Mollie

???????????
Mollie E. Brooks, Ph.D.
Postdoctoral Researcher
National Institute of Aquatic Resources
Technical University of Denmark
_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models