POSSA: Power simulation for sequential analysis and multiple hypotheses

This R package serves to calculate, via simulation, power and appropriate “stopping” alpha boundaries (and/or futility bounds) for sequential analyses (i.e., “group sequential design”) as well as for multiple hypotheses (multiple tests included in an analysis), given any specified global error rate. This enables the sequential use of practically any significance test, as long as the underlying data can be simulated in advance to a reasonable approximation.

For how to use, see the vignettes linked below.

Installation in R

For now, POSSA is only available via GitHub. It can be installed as follows.

install.packages("devtools") # if "devtools" package is not yet installed
library("devtools")
install_github("gasparl/possa")

Usage

Please see the vignettes:

  1. General introduction
  2. Multiple hypotheses
  3. Practical examples (unequal variances; ranked data; ANOVA; DeLong’s test)

(Less important: Benchmarking)

For detailed information about each function and parameter, see the manual.

Support

Contributions

Given that this project is not part of my “day job”, the intended additional features grew beyond my capacity. Help would be most welcome; if you are up to it, feel free to email me (or to reply to the relevant issue or open a new one).

Citation

See citation("POSSA").

DOI R-CMD-check