Hi, I am wondering if we can make prediction on a linear mixed model by lmer()
from lme4 package? Specifically I am fitting a very simple glmer() with
binomial family distribution, and want to see if I can get the predicted
probability like that in regular logistic regression?
fit<-glmer(y~x+(1|id),dat,family=binomial)
where y is the response variable (0, 1), and x is a continuous variable.
I would like to get a predicted probability at a given value of x.
Many thanks
John
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.