Re: [R] Marginal Predicitions from nlme and lme4

From: Rick Bilonick <bilonickra_at_upmc.edu>
Date: Wed 23 Aug 2006 - 08:39:24 EST

On Wed, 2006-08-23 at 06:43 +1000, Andrew Robinson wrote:
> Rick,
>
> if by marginal prediction, you mean the prediction without random
> effects, then use the "level" argument. See ?predict.lme or ?fitted.lme
>
> If not then I don't know :)
>
> Cheers
>
> Andrew
Thanks. I'm familiar with level in predict and fitted for lme. These allow you to select the fixed effects and/or the random effects. The marginal prediction integrates out the random effects and is what a GEE marginal model produces. From what I've read, the marginal effects seem to be less desirable than the fixed effects from an lme or a generalized lme. But I would still like to compute them for comparison.

Rick B.



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. Received on Wed Aug 23 08:43:14 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 23 Aug 2006 - 10:21:40 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.