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.
Version: | 0.4.0 |
Depends: | SimDesign (≥ 2.20.0), R (≥ 4.1.0), stats |
Imports: | cocor, car, polycor, parallelly, methods, ggplot2, plotly, lavaan, EnvStats |
Suggests: | knitr, rmarkdown, bookdown, VGAM, copula, pwr |
Published: | 2025-09-05 |
DOI: | 10.32614/CRAN.package.Spower |
Author: | Phil Chalmers |
Maintainer: | Phil Chalmers <rphilip.chalmers at gmail.com> |
BugReports: | https://github.com/philchalmers/Spower/issues?state=open |
License: | GPL (≥ 3) |
URL: | https://github.com/philchalmers/Spower |
NeedsCompilation: | no |
Materials: | README |
CRAN checks: | Spower results |
Reference manual: | Spower.html , Spower.pdf |
Vignettes: |
Introdution to the Spower package (source, R code) Bayesian power analyses and logical vector returns (source, R code) G*Power examples evaluated with Spower (source) |
Package source: | Spower_0.4.0.tar.gz |
Windows binaries: | r-devel: Spower_0.3.1.zip, r-release: Spower_0.3.1.zip, r-oldrel: Spower_0.3.1.zip |
macOS binaries: | r-release (arm64): Spower_0.3.1.tgz, r-oldrel (arm64): Spower_0.3.1.tgz, r-release (x86_64): Spower_0.3.1.tgz, r-oldrel (x86_64): Spower_0.3.1.tgz |
Old sources: | Spower archive |
Please use the canonical form https://CRAN.R-project.org/package=Spower to link to this page.