How many participants do I need? A tutorial on simulation-based sample-size planning for generalized linear mixed models
Generalized linear mixed models are ideal for experiments in which many participants respond to many items – but standard power analysis tools rarely fit such designs. Our tutorial in Advances in Methods and Practices in Psychological Science shows, step by step and with code, how to plan sample sizes by simulation.