Re: [R] prediction intervals from a mixed-effects models?

2008-04-15 Thread Spencer Graves
Thank you Dieter and Greg for your replies. Reinhold Kliegl suggested Gelman & Hill (2007), which looks like it contains an answer to my question. Thanks again. Spencer Graves Gregory Warnes wrote: > On Apr 13, 2008, at 1:41PM , Dieter Menne wrote: > >> Spencer Graves p

Re: [R] prediction intervals from a mixed-effects models?

2008-04-13 Thread Gregory Warnes
On Apr 13, 2008, at 1:41PM , Dieter Menne wrote: > Spencer Graves pdf.com> writes: > >> >> How can I get prediction intervals from a mixed-effects model? >> Consider the following example: >> >> library(nlme) >> fm3 <- lme(distance ~ age*Sex, data = Orthodont, random = ~ 1) >> df3.1 <- with

Re: [R] prediction intervals from a mixed-effects models?

2008-04-13 Thread Dieter Menne
Spencer Graves pdf.com> writes: > > How can I get prediction intervals from a mixed-effects model? > Consider the following example: > > library(nlme) > fm3 <- lme(distance ~ age*Sex, data = Orthodont, random = ~ 1) > df3.1 <- with(Orthodont, data.frame(age=seq(5, 20, 5), >

[R] prediction intervals from a mixed-effects models?

2008-04-13 Thread Spencer Graves
How can I get prediction intervals from a mixed-effects model? Consider the following example: library(nlme) fm3 <- lme(distance ~ age*Sex, data = Orthodont, random = ~ 1) df3.1 <- with(Orthodont, data.frame(age=seq(5, 20, 5), Subject=rep(Subject[1], 4),