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.0
Depends: R (≥ 2.10)
Imports: mvtnorm, PowerTOST, Hmisc, stats, knitr
Suggests: testthat (≥ 3.0.0)
Published: 2024-11-14
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 [issues need fixing before 2024-11-28]

Documentation:

Reference manual: powertools.pdf

Downloads:

Package source: powertools_0.1.0.tar.gz
Windows binaries: r-devel: powertools_0.1.0.zip, r-release: powertools_0.1.0.zip, r-oldrel: powertools_0.1.0.zip
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): powertools_0.1.0.tgz, r-oldrel (x86_64): powertools_0.1.0.tgz

Linking:

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