MyNixOS website logo
Description

Power Simulation for Sequential Analyses and Multiple Hypotheses.

Calculates, 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. Lukács (2022) <doi:10.21105/joss.04643>.

POSSA: Power simulation for sequential analyses 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

To install the stable version from CRAN, just run:

install.packages("POSSA")

Then load with: library("POSSA")

Alternatively, if you want to install the latest (and potentially unstable) version from this repository:

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

  • If you run into an error despite carefully following the documentation, open a new issue.
  • If you have sound reason to believe that some of the presented statistics or functions are not optimal and/or could be improved in some plausible way, email me.

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; see details here).

Etymology

The name "POSSA" refers not to the Italian meaning "power, strength" (/ˈpɔs.sa/), but to the plural of "possum" (/ˈpɑsə/).

Citation

When you use POSSA in a publication, you can either cite the specific version you used (enter citation("POSSA") in R), or the following paper:

Lukács, G. (2022). POSSA: Power simulation for sequential analyses and multiple hypotheses. Journal of Open Source Software, 7(76), 4643. https://doi.org/10.21105/joss.04643

DOI R-CMD-check DOI codecov

Metadata

Version

0.6.4

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows