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. > 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@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 ______________________________________________ R-help@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.