Skip to content
Prev 15400 / 20628 Next

mixed model?

Minor correction: if GrassHeight is a continuous variable then you
need (GrassHeight|Field) to model the among-Field variation in the
effect of grass height.  If GrassHeight is categorical, then
(GrassHeight|Field) will also work, but it will fit an unstructured
variance-covariance model (n*(n+1)/2 parameters for an n-level
categorical predictor), whereas (1|Field/GrassHeight) would fit a
(positive) compound-symmetric model for the variation in grass height
effects among fields (2 parameters instead of n*(n+1)/2)
On Tue, May 2, 2017 at 1:36 PM, Joaqu?n Aldabe <joaquin.aldabe at gmail.com> wrote: