Spower: Power Analyses using Monte Carlo Simulations

Provides a general purpose simulation-based power analysis API for routine and customized simulation experimental designs. The package focuses exclusively on Monte Carlo simulation experiment variants of (expected) prospective power analyses, criterion analyses, compromise analyses, sensitivity analyses, and a priori/post-hoc analyses. The default simulation experiment functions defined within the package provide stochastic variants of the power analysis subroutines in G*Power 3.1 (Faul, Erdfelder, Buchner, and Lang, 2009) <doi:10.3758/brm.41.4.1149>, along with various other parametric and non-parametric power analysis applications (e.g., mediation analyses) and support for Bayesian power analysis by way of Bayes factors or posterior probability evaluations. Additional functions for building empirical power curves, reanalyzing simulation information, and for increasing the precision of the resulting power estimates are also included, each of which utilize similar API structures.

Package details

AuthorPhil Chalmers [aut, cre] (ORCID: <https://orcid.org/0000-0001-5332-2810>)
MaintainerPhil Chalmers <rphilip.chalmers@gmail.com>
LicenseGPL (>= 3)
Version0.4.0
URL https://github.com/philchalmers/Spower
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("Spower")

Try the Spower package in your browser

Any scripts or data that you put into this service are public.

Spower documentation built on Sept. 9, 2025, 5:46 p.m.