On 11/28/06, Fucikova, Eva [EMAIL PROTECTED] wrote:
Dear All,
I am working with linear mixed-effects models using the lme4 package in
R. I created a model with the lmer function including some main effects,
a two-way interaction and a random effect. Now I am searching for a way
to save the
m3 is a logistic regression model without random effect fitted by glm
m5 is a logistic regression model with random effect fitted by lmer
why the range for the fitted value for m5 is not between 0 and 1.
thanks,
Aimin
range(fitted(m3))
[1] 0.1630141 0.9903415
range(fitted(m5))
[1] -1.515915
The fitted values for m5 must be logits.
On 28/11/06, Aimin Yan [EMAIL PROTECTED] wrote:
m3 is a logistic regression model without random effect fitted by glm
m5 is a logistic regression model with random effect fitted by lmer
why the range for the fitted value for m5 is not between 0 and 1.