Skip to content
Prev 11368 / 20628 Next

Simple: don't understand lmer formula and slopes

You are fitting a model that allows the slope of the relationship between ylong and xlong to differ among species. Let's plot the data in a way that more clearly illustrates what is going on:

library(nlme)
dat.group <- groupedData(ylong ~ xlong | species, data=trial.dat)
plot(dat.group, pch=19, cex=.5)

So, it looks like that slope is pretty much the same for the different species. Not a big surprise that the slope variance is estimated to be zero.

Best,
Wolfgang

--
Wolfgang Viechtbauer, Ph.D., Statistician
Department of Psychiatry and Psychology
School for Mental Health and Neuroscience
Faculty of Health, Medicine, and Life Sciences
Maastricht University, P.O. Box 616 (VIJV1)
6200 MD Maastricht, The Netherlands
+31 (43) 388-4170 | http://www.wvbauer.com
Message-ID: <077E31A57DA26E46AB0D493C9966AC730D9CB791BD@UM-MAIL4112.unimaas.nl>
In-Reply-To: <D36BA9EB-7BAF-4B7E-ADDE-39A31BFD86FF@alumni.rice.edu>