Re: [Rd] mixed effects model and r-squared

2006-12-08 Thread Ben Bolker
Indermaur Lukas eawag.ch> writes: > > Heya > > I am fitting linear mixed effects model in R [snip] > > ts.model <- lme(LOG_FOC_MW ~ R_DN_SUM + ANIMAL + SEX+ YY, data = t.data, random = ~ 1 | ANIMAL, > correlation=corCAR1(0.2, form = ~1 | ANIMAL ), method='ML', na.action=na.omit)). > > Is

[Rd] mixed effects model and r-squared

2006-12-01 Thread Indermaur Lukas
Heya I am fitting linear mixed effects model in R and want to assess the model fit (with Animal number as random factor; repeated measures for Animals): ts.model <- lme(LOG_FOC_MW ~ R_DN_SUM + ANIMAL + SEX+ YY, data = t.data, random = ~ 1 | ANIMAL, correlation=corCAR1(0.2, form = ~1 | AN