Re: [R] no predict function in lme4 ?

2010-03-24 Thread Kevin Wright
There is a very nice paper that illustrates a flexible approach that allows the user to specify nearly any possible prediction he or she may desire. A flexible system is critical since one man's fixed effect is another man's random effect to quote Schabenberger. @article{welham2004prediction,

[R] no predict function in lme4 ?

2010-03-23 Thread Markus Loecher
Dear mixed effects modelers, I seem unable to find a predict method for mer objects in the package lme4. Am I not seeing the forest for the trees ? Any pointer would be very helpful. Thanks, Markus [[alternative HTML version deleted]] __

Re: [R] no predict function in lme4 ?

2010-03-23 Thread Douglas Bates
It is not easy to decide what predict should return for a linear mixed model, let alone the more complicated cases. Do you want predictions based on the fixed-effects only or based on a combination of the fixed-effects and the random-effects? For the lme function in the nlme package we allowed

Re: [R] no predict function in lme4 ?

2010-03-23 Thread Ben Bolker
Douglas Bates bates at stat.wisc.edu writes: It is not easy to decide what predict should return for a linear mixed model, let alone the more complicated cases. Do you want predictions based on the fixed-effects only or based on a combination of the fixed-effects and the random-effects? For