pitakakariki / simr

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

Tools for VarCorr specification #247

Open pitakakariki opened 1 year ago

pitakakariki commented 1 year ago

It can be difficult to specify VarCorr, especially without pilot data.

e.g. https://github.com/pitakakariki/simr/issues/102, https://github.com/pitakakariki/simr/issues/132.

This probably needs its own vignette, plus better checks and error messages. Going to be even more complicated with glmmTMB support?

Current idea: if left blank, use some sort of default but be very verbose about what is needed in terms of structure and in terms of caveats if the user wants to use the defaults.

jlevy44 commented 1 year ago

Agreed here, correlation between random intercepts and random slopes are dropped