Skip to content
Prev 82397 / 398502 Next

Ancova and lme use

Mon cher M. MENICACCI:

	  It looks to me like you ultimately want to use "lmer" in 
library(lme4) [which also requires library(Matrix)].  For documentation, 
I suggest you start with Doug Bates (2005) "Fitting Linear Mixed Models 
in R", R News, vol. 5/1: 27-30 (available from "www.r-project.org" -> 
Newsletter).  After install.packages("lme4"), I suggest you read 
"Implementation.pdf" in "~R\library\lme4\doc".  I also suggest you get 
Pinheiro and Bates (2000) Mixed-Effects Models in S and S-Plus 
(Springer).  For me, this book was essential documentation for "lme", 
the previous implementation of "lmer".  Studying that book might help 
you understand "lmer".

	  Also, I encourage you to use the extensive random number generation 
capabilities in R (including the nlme and lme4 packages) to produce 
simulated data like you expect to collect and try to analyze the 
simulated data.  You should simulate both what you expect to see and the 
null hypothesis as well.  If you encounter difficulties doing that, 
please submit another question to this listserve.  Before submitting 
another post, I suggest you help yourself by reading the posting guide! 
"www.R-project.org/posting-guide.html".  Anecdotal evidence suggests 
that posts that are more consistent with this "posting guide" generally 
get more useful replies quicker.

	  bon chance.
	  spencer graves
a.menicacci at fr.fournierpharma.com wrote: