Hi all,
I had a quick question about the model formula when fitting a multilevel ZOIB model, particularly about the random effects. I have a data set with rating data between (and including) 0 and 1 (continuous scale using a visual analog scale (VAS)), predicted by the interaction of two within-subject variables. With regard to the random effects, I’m not entirely sure if it is advisable to fit the same random effects structure for each ZOIB model parameter, namely if the random slope is necessary for each parameter. Does anyone have suggestions/experiences with such models?
formula = bf(
rating ~ occupation*variety + (occupation*variety | id),
phi ~ 1 + (1 | id),
zoi ~ 1 + (1 | id),
coi ~ 1 + (1 | id)
)
or
formula = bf(
rating ~ occupation*variety + (occupation*variety | id),
phi ~ 1 + (occupation*variety | id),
zoi ~ 1 + (occupation*variety | id),
coi ~ 1 + (occupation*variety | id)
)
Many thanks, and let me know if I should provide any more details!