search for: lme5

Displaying 2 results from an estimated 2 matches for "lme5".

Did you mean: lme
2010 Sep 16
1
Help for an absolutely r-noob
...lme1 <- lme(resp ~ amp, dat, ~1|id, method="ML") lme2 <- lme(resp ~ amp + I(amp^2), dat, ~1|id, method="ML") lme2a <- lme(resp ~ amp + I(amp^2), dat, ~amp|id, method="ML") lme3 <- lme(resp ~ amp + I(amp^2) + I(amp^3), dat, ~1|id, method="ML") lme5 <- lme(resp ~ factor(amp), dat, ~1|id, method="ML") anova(lme1, lme2) anova(lme2, lme3, lme5) summary(lme2) ##### (4) observed vs. predicted data ##### plot(augPred(lme2, ~amp, level=0:1)) xvar <- seq(0, 0.4, len=50) plot(predict(lme2, data.frame(amp=xvar), level=0) ~ xvar, t...
2003 Jun 17
1
lme() vs aov(y ~ A*B + Error(aa %in% A + bb %in% B)) [repost]
I've posted the following to R-help on May 15. It has reproducible R code for real data -- and a real (academic, i.e unpaid) consultion background. I'd be glad for some insight here, mainly not for myself. In the mean time, we've learned that it is to be expected for anova(*, "marginal") to be contrast dependent, but still are glad for advice if you have experience. Thank