pitakakariki / simr

Power Analysis of Generalised Linear Mixed Models by Simulation
68 stars 19 forks source link

Does simr support clmm? #227

Closed carlmenzies closed 2 years ago

carlmenzies commented 2 years ago

Hi,

I want to work with the simr package to get powerSim and powerCurve for a study. As my data is ordinal, I'm working with a clmm. Now, when trying to run powerSim and powerCurve, this always produces errors. It can all very well be my faulty model, etc., but I talked to a colleague about it who suggested that simr might not support clmms in general. Could you help?

Many many thanks in advance!

Best regards, Carl

pitakakariki commented 2 years ago

Your colleague is correct - currently the only supported models are from lm, glm, lmer, and glmer.

carlmenzies commented 2 years ago

Many thanks for clearing this up so quickly!