Peter Green, Catriona J. MacLeod
SIMR: an R package for power analysis of generalized linear mixed models by simulation
- Ecological Modeling
- Ecology, Evolution, Behavior and Systematics
It includes tools for (i) running a power analysis for a given model and design; and (ii) calculating power curves to assess trade‐offs between power and sample size.
This paper presents a tutorial using a simple example of count data with mixed effects (with structure representative of environmental monitoring data) to guide the user along a gentle learning curve, adding only a few commands or options at a time.