Re: [R] Linear Mixed Models with nlme, more than one random effect

From: Giulio Di Giovanni <perimessaggini_at_hotmail.com>
Date: Wed, 20 Jun 2007 13:58:20 +0000


Thanks a lot !!!

I was about to reply to my previous email that I found a solution via lme4 ! But really thanks.

>From: joris.dewolf_at_cropdesign.com
>To: "Giulio Di Giovanni" <perimessaggini_at_hotmail.com>
>CC: r-help_at_stat.math.ethz.ch, r-help-bounces_at_stat.math.ethz.ch
>Subject: Re: [R] Linear Mixed Models with nlme, more than one random effect
>Date: Wed, 20 Jun 2007 15:17:42 +0200
>
>
>
>Guilio,
>
>Have a look at Rnew volume 5/1 (http://cran.r-project.org/doc/Rnews/) where
>Doug Bates explains this nicely. Condider using lme4 for your purpose.
>
>Joris
>
>
>
>
>
>
>
>
>
> "Giulio Di
> Giovanni"
> <perimessaggini_at_h To
> otmail.com> r-help_at_stat.math.ethz.ch
> Sent by: cc
> r-help-bounces_at_st
> at.math.ethz.ch Subject
> [R] Linear Mixed Models with nlme,
> more than one random effect
> 20/06/2007 14:09
>
>
>
>
>
>
>
>
>
>
>Hi, I' trying to learn how to use lme for Linear Mixed Models and I have a
>
>problem when I have to include more than one random effect in my model. I
>know that this could be a stupid question to ask, but I'm not able to solve
>
>it by myself... One example: if my model is
>
>response = operator + block + day
>with operator and block as fixed effects and day as random effect, I use
>
>res.lme <- lme(resp ~ oper + block , random=~1|day)
>
>If I want to include also another random effect, as "experiment", what I
>should do ?
>This effect doesn't have to be nested, at the and I would like to have the
>COV matrix using (if I'm not wrong) getVarCov function.
>
>Thanks in advance for any help or suggestions, I'm a beginner on this
>field...
>
>Davide
>
>_________________________________________________________________
>Cinema, Tv, Gossip e Orsoscopo‚€¶Tutto su MSN intrattenimento!
>
>______________________________________________
>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
>and provide commented, minimal, self-contained, reproducible code.



Calcio, Quiz, Sudoku, Scacchi… Inizia la sfida su Messenger, GRATIS!

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 and provide commented, minimal, self-contained, reproducible code. Received on Wed 20 Jun 2007 - 14:06:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 20 Jun 2007 - 14:32:10 GMT.

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