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). Further resources available at < https://powerandsamplesize.org/>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("powertools")

1.0.0 by Catherine M. Crespi, a year ago


https://github.com/powerandsamplesize/powertools


Report a bug at https://github.com/powerandsamplesize/powertools/issues


Browse source code at https://github.com/cran/powertools


Authors: Catherine M. Crespi [aut, cre] , Zichen Liu [aut] , Kristen M. McGreevy [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports mvtnorm, PowerTOST, Hmisc, stats, knitr

Suggests testthat


See at CRAN