Learn R Programming

swdpwr (version 1.11)

Power Calculation for Stepped Wedge Cluster Randomized Trials

Description

To meet the needs of statistical power calculation for stepped wedge cluster randomized trials, we developed this software. Different parameters can be specified by users for different scenarios, including: cross-sectional and cohort designs, binary and continuous outcomes, marginal (GEE) and conditional models (mixed effects model), three link functions (identity, log, logit links), with and without time effects (the default specification assumes no-time-effect) under exchangeable, nested exchangeable and block exchangeable correlation structures. Unequal numbers of clusters per sequence are also allowed. The methods included in this package: Zhou et al. (2020) , Li et al. (2018) . Supplementary documents can be found at: . The Shiny app for swdpwr can be accessed at: . The package also includes functions that perform calculations for the intra-cluster correlation coefficients based on the random effects variances as input variables for continuous and binary outcomes, respectively.

Copy Link

Version

Install

install.packages('swdpwr')

Monthly Downloads

238

Version

1.11

License

GPL-3

Maintainer

Jiachen Chen

Last Published

October 8th, 2024

Functions in swdpwr (1.11)

BinICC

A function for calculating the intracluster correlation coefficient (ICC) for binary outcomes given the cluster level random effects variance
swdpwr-package

Power Calculation for Stepped Wedge Cluster Randomized Trials
print.swdpower

Print the results of swdpower
swdpower

A function of power calculation for Stepped Wedge Design Studies
ContICC

A function for calculating ICCs for continuous outcomes given random effects variances