powertools: Power and Sample Size Tools

Power and sample size calculations for a variety of study designs and outcomes. Methods include t tests, ANOVA (including tests for interactions, simple effects and contrasts), proportions, categorical data (chi-square tests and proportional odds), linear, logistic and Poisson regression, alternative and coprimary endpoints, power for confidence intervals, correlation coefficient tests, cluster randomized trials, individually randomized group treatment trials, multisite trials, treatment-by-covariate interaction effects and nonparametric tests of location. Utilities are provided for computing various effect sizes. Companion package to the book "Power and Sample Size in R", Crespi (2025, ISBN:9781138591622).

Version: 0.1.2
Depends: R (≥ 2.10)
Imports: mvtnorm, PowerTOST, Hmisc, stats, knitr
Suggests: testthat (≥ 3.0.0)
Published: 2024-11-21
DOI: 10.32614/CRAN.package.powertools
Author: Catherine M. Crespi [aut, cre], Zichen Liu [aut], Kristen M. McGreevy [ctb]
Maintainer: Catherine M. Crespi <ccrespi at ucla.edu>
BugReports: https://github.com/powerandsamplesize/powertools/issues
License: MIT + file LICENSE
URL: https://github.com/powerandsamplesize/powertools
NeedsCompilation: no
CRAN checks: powertools results

Documentation:

Reference manual: powertools.pdf

Downloads:

Package source: powertools_0.1.2.tar.gz
Windows binaries: r-devel: powertools_0.1.2.zip, r-release: powertools_0.1.2.zip, r-oldrel: powertools_0.1.2.zip
macOS binaries: r-release (arm64): powertools_0.1.2.tgz, r-oldrel (arm64): powertools_0.1.2.tgz, r-release (x86_64): powertools_0.1.2.tgz, r-oldrel (x86_64): powertools_0.1.2.tgz
Old sources: powertools archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=powertools to link to this page.