Premium
SIMR : an R package for power analysis of generalized linear mixed models by simulation
Author(s) -
Green Peter,
MacLeod Catriona J.
Publication year - 2016
Publication title -
methods in ecology and evolution
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 3.425
H-Index - 105
ISSN - 2041-210X
DOI - 10.1111/2041-210x.12504
Subject(s) - r package , generalized linear mixed model , computer science , monte carlo method , mixed model , power (physics) , linear model , generalized linear model , sample size determination , sample (material) , power analysis , simple (philosophy) , statistics , computational science , mathematics , algorithm , machine learning , physics , philosophy , chemistry , epistemology , chromatography , quantum mechanics , cryptography
Summary The r package simr allows users to calculate power for generalized linear mixed models from the lme 4 package. The power calculations are based on Monte Carlo simulations. 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.