Julien:
Big difference! You need to spend time with Bates and Pinheiro to understand
the concepts, but in brief:
~1|x/y means that x and y are grouping variables with y nested within x and
a different random offset for each x and y within x.
~y|x means that x is a grouping variable and y is a linear covariate with a
different random (intercept and) slope for each x group.
-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
"The business of the statistician is to catalyze the scientific learning
process." - George E. P. Box
-- Bert Gunter
Genentech Non-Clinical Statistics
South San Francisco, CA
"The business of the statistician is to catalyze the scientific learning
process." - George E. P. Box
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Martin Julien
> Sent: Tuesday, January 18, 2005 12:42 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Randoms interactions in lme
>
> In lme, what's the difference between "random = ~ 1 | x / y"
> and "random = ~
> y | x" ?
>
>
>
> Thanks
>
> Julien
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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
>