search for: timexprog

Displaying 1 result from an estimated 1 matches for "timexprog".

Did you mean: tile_prog
2008 Aug 25
1
Specifying random effects distribution in glmer()
...out a Poisson regression fit to longitudinal data with a gamma distribution with unknown shape and scale parameters. I've tried the 'lmer4' package's glmer() function, which fits the Poisson regression using: library('lme4') fit5<- glmer(seizures ~ time + progabide + timeXprog + offset(lnPeriod) + (1|id), data=pdata, nAGQ=1, family=poisson) #note: can't use nAGQ>1, not yet implemented summary(fit5) Here 'seizures' is a count and 'id' is the subject number. This fit works, but uses the Poisson distribution with the gamma heterogeneity. Based...