[R] function for over dispersed poisson regression in the setting of a random effects model
John Sorkin
jsorkin at grecc.umaryland.edu
Sun Jun 26 05:00:17 CEST 2016
Is there a function that will run a model appropriate for over dispersed data (such as a negative binomial or quasipoisson)
with a random effects (or mixed effects) model in R? GLMER will not accept:
family=quasipoisson(link="log") or
family=negbinomial(link="log")
I want to run something like the following:
fit0 <- glmer(Fall ~ Group+(1|PID)+offset(log(TimeYrs)),family=quasipoisson(link="log"),data=data)
Thank you
John
John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)
Confidentiality Statement:
This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
More information about the R-help
mailing list