I am analysing data from a questionnaire with different subscores. The subscores are calculated like this, for example:
Subscore 1 = $(Item_1 + Item_2+ ....+ Item_n)/ n*2$.
Each Item can have a score of 0, 1 or 2, which is why the sum is divided by the number of items multiplied by two.
I would like to calculate a GLMM using the r package lme4. Because the subscores are proportional data, I figured a binomial distribution with $n*2$ as weights could be appropriate:
# adding an extra column for divisor
data$subscore1_weight <- rep(2*n, dim(data)[2])
setting up the model
m1<- glmer(Subscore1~ PredictorA +
PredictorB +
PredictorA:PredictorB+
(1|participant),
weights = subscore1_weight,
family = binomial,
data = data)
... I read that a binomial model for proportional data should only be applied for 1s in n trials.. which is not exactly the case because we are looking at items.
Am I on the right path or completely wrong?