simr
simr copied to clipboard
Power Analysis of Generalised Linear Mixed Models by Simulation
Need to add a `ranef
Tricky bits probably: * `simulate` with modified parameter values * `use.u` in `simulate`
Hi, In the simulation I tried to run based on the model output of a model I tested, there were lots of errors - in 1000 simulations, there were 1000...
In retrospect this was a mistake. Although it makes the package easier to use, it discourages users from thinking about what test they need to apply.
e.g. `extend(mod1, along = c("subject", "time"), n = c(100, 12))`
`makeGlmer` and `makeLmer` require exactly the right number and shape of their parameters. This can be a pain if you're not quite sure how models map to parameters. Could be...
Hi all, I'm new to GitHub so apologies if my entry is not formatted correcting for you to help me appropriately. Happy to edit/add info if needed! My experiment was...
The error message thrown by `getData` could be more informative, e.g. it could point to no `data` argument in the model call. See e.g. https://github.com/pitakakariki/simr/issues/274.
These are robust to non-normal errors. Maybe need to add permutation as an alternative to simulation?
Robust models might be a good general recommendation, given the current interest in the risks of misspecification. Would be nice to have support for e.g. `rlmer` which I think uses...