Skip to content
Prev 20375 / 20628 Next

GLMM with only one predictor variable

It is certainly possible to fit such a model.  The formula would be like

y ~ 1 + (1 | grp)

We define the distribution of the random effects to have a mean of zero so
the (Intercept) term generated by the first 1 is needed to allow for a
nonzero mean.

You may use such a model for screening but the advantage of being able to
examine the effect of one variable in the presence of multiple influences
on the response.
On Mon, Mar 11, 2024, 14:57 Ana Hernandez <anahmdlr at gmail.com> wrote: