I'm trying to run a multinomial logistic regression with mixed effects. Let's say I have the following variables:
Participant (ten participants, each with 10 observations) Word (ten different words, each participant sees each once) IV (some two level grouping variable) DV (can be 1, 2 or 3)
How would I run a multinomial logistic regression with ppt and word as random variables?
Here is some sample data:
ppt <- rep(1:10, each = 10)
word <- rep(1:10, times = 10)
IV <- rep(1:2, times = 50)
DV <- sample(x = c(1,2,3), size = 100, replace = TRUE)
d <- as.data.frame(cbind(ppt, word, IV, DV))
mclogit
seems to provide this functionality. $\endgroup$