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 , mixed model , monte carlo method , power (physics) , power analysis , linear model , sample size determination , sample (material) , statistics , computational science , algorithm , mathematics , machine learning , physics , chemistry , quantum mechanics , chromatography , 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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom