The goal of Superpower is to easily simulate factorial designs and empirically calculate power using a simulation approach. This package and its functions are intended to be utilized for prospective (a priori) power analysis. In addition to this site we have written a short book documenting a wide range of applications of this package and how to perform power analysis outside this R package using custom code.

## Installation

You can install the most recent version of Superpower from GitHub with:

devtools::install_github("arcaldwell49/Superpower")

Or you can install the stable version of Superpower from CRAN with:

install.packages("Superpower")

## Other Simulation & Power Analysis Packages

We started this project to create a simple way to do ANOVA power calculations that the average experimental scientist can use. However, there are many cases that an ANOVA may not be appropriate. Therefore, we suggest using other packages such as simr which allows for linear and generalized mixed models. Custom code can also be written and for such specialized simulations we highly recommend the simstudy R package. For sequential analyses and adaptive designs the rpact package will also be very helpful.

• simstudy: Simulation of Study Data
• faux: Simulate data with a specified structure.
• simr: Power Analysis of Generalised Linear Mixed Models by Simulation
• rpact: Confirmatory Adaptive Clinical Trial Design, Simulation, and Analysis
• pwr: Basic functions for power analysis