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).
Package details |
|
---|---|
Author | Catherine M. Crespi [aut, cre], Zichen Liu [aut], Kristen M. McGreevy [ctb] |
Maintainer | Catherine M. Crespi <ccrespi@ucla.edu> |
License | MIT + file LICENSE |
Version | 0.1.2 |
URL | https://github.com/powerandsamplesize/powertools |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.