[R-sig-ME] fixed effects

Chen, Gang (NIH/NIMH) [C] gangchen at mail.nih.gov
Sat Oct 3 20:38:07 CEST 2015


With the following generalized linear mixed-effects model:

fm <- glmer( Y ~ Treatment + ( Treatment  | Subject) + (1|Trial), family=poisson))

How can I obtain the estimated fixed effects? fitted() seems to provide the sum of fixed and random effects, while predict() does not seem to work because I'm modeling the overdispersion with (1|Trial). I could manually compute the fixed effects based on the coefficients, but is there a function available for this purpose?

Thanks,
Gang

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list