mixpower: Simulation-Based Power Analysis for Mixed-Effects Models

A comprehensive, simulation-based toolkit for power and sample-size analysis for linear and generalized linear mixed-effects models (LMMs and GLMMs). Supports Gaussian, binomial, Poisson, and negative binomial families via 'lme4'; Wald and likelihood-ratio tests; multi-parameter sensitivity grids; power curves and minimum sample-size solvers; parallel evaluation with deterministic seeds; and full reproducibility (manifests, result bundling, and export to CSV/JSON). Delivers thorough diagnostics per run (failure rate, singular-fit rate, effective N) and publication-ready summary tables. References: Bates et al. (2015) "Fitting Linear Mixed-Effects Models Using lme4" <doi:10.18637/jss.v067.i01>; Green and MacLeod (2016) "SIMR: an R package for power analysis of generalized linear mixed models by simulation" <doi:10.1111/2041-210X.12504>.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: stats, lme4
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, digest, jsonlite
Published: 2026-02-12
DOI: 10.32614/CRAN.package.mixpower (may not be active yet)
Author: Mixpower Alex Litovchenko [aut, cre]
Maintainer: Mixpower Alex Litovchenko <al4877 at columbia.edu>
BugReports: https://github.com/alitovchenko/mixpower/issues
License: MIT + file LICENSE
URL: https://github.com/alitovchenko/mixpower
NeedsCompilation: no
Language: en-US
Citation: mixpower citation info
Materials: README, NEWS
CRAN checks: mixpower results

Documentation:

Reference manual: mixpower.html , mixpower.pdf
Vignettes: Designing studies (source, R code)
Diagnostics and sensitivity (source, R code)
mixpower intro (source, R code)
Reproducibility workflow (source, R code)
Running simulations (source, R code)

Downloads:

Package source: mixpower_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): mixpower_0.1.0.tgz, r-oldrel (arm64): mixpower_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): mixpower_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mixpower to link to this page.