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,
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]]
__
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
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
4 matches
Mail list logo