Hello everyone! I need some help with a Generalized Linear Mixed-effect Model.

Here's the problem:

In my GLMM, I have two cluster variables (Stimuli and Participants) that I have modeled as random effects (both random intercepts and random slopes).

The question is:

Can I include fixed effects variables in my model that do not vary within each Participant ?

Currently, my model looks like this (please ignore the syntax, it's a mix of GAMLj and lme4)

DV ~ 1 + Shape + gender + GAAIS + Presentation order + Shape * gender + Shape * GAAIS + Presentation order * Shape + (1 + Shape | Stimulus) + (1 + Shape | ResponseId)

The "issue" is that GAAIS, Presentation order, and gender are three variables that only have one value within each Participant. Obviously, each participant has only one gender, one value of GAAIS, and one value for Presentation order.

I wonder if what I am doing makes sense theoretically or if there is a risk of encountering problems with quasi-separation and/or multicollinearity between the fixed and random effects.

Any help is more than welcome! Thanks in advance!

More Alessandro Ansani's questions See All
Similar questions and discussions