[R] Predicted values in lmer modeling

David Barron mothsailor at googlemail.com
Tue Nov 28 22:31:49 CET 2006


The fitted values for m5 must be logits.

On 28/11/06, Aimin Yan <aiminy at iastate.edu> 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.
> thanks,
> Aimin
>  > range(fitted(m3))
> [1] 0.1630141 0.9903415
>  > range(fitted(m5))
> [1] -1.515915  4.576576
>
> At 07:53 AM 11/28/2006, Douglas Bates wrote:
> >  fitted(model)
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>


-- 
=================================
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP



More information about the R-help mailing list