I want to run a mixed-effect regression model on a few data points. I have 24 participants and 4 trials per participant. I want to include two fixed effects and their interaction in the model, as well as random intercepts of participants and trials. Will the sample size be enough?
One fixed effect is condition (experimental/control), and the other one is task version (A/B). Half of the participants saw four trials - i.e., experimental A trial (x2) and experimental B trial (x2) - and the other half saw control A trial (x2) and control B trial (x2). Can I perform a mixed-effect logistic regression? Or should I choose another method?
Thank you very much!!!