Power distribution R Package (Version 0.4.0) The previous version are named during the development process and will not be published
This is a package for calculating attained power and constructing power distributions for unequal cluster-size, cross-sectional stepped-wedge and parallel cluster randomized trials, with or without stratification. Allowed outcome types are: continuous (Gaussian), binary and count.
install.packages("devtools")
library(devtools)
install_github("https://github.com/douyangyd/CRTpowerdist")
Remember to load the package before using the package
library(CRTpowerdist)
A shinyapp has been created for non-R user (https://douyang.shinyapps.io/CRTpowerdist/)
This package is developed and maintained by Yongdong Ouyang, Liang Xu and Hubert Wong. The Shinyapp is created by Yongdong Ouyang
We are welcome any suggestions and comments. If you noticed any bugs or errors, please let us know by creating a pull request or contacting Yongdong Ouyang (douyang@cheos.ubc.ca)
Ouyang Y, Karim ME, Gustafson P, et al. Explaining the variation in the attained power of a stepped-wedge trial with unequal cluster sizes. BMC Medical Research Methodology 2020; 20: 166.
Longford NT. Logistic regression with random coefficients. Computational Statistics & Data Analysis 1994; 17: 1–15.
Hussey MA, Hughes JP. Design and analysis of stepped wedge cluster randomized trials. Contemp Clin Trials 2007; 28: 182–191.
Karla Hemming, Jessica Kasza, Richard Hooper, Andrew Forbes, Monica Taljaard, A tutorial on sample size calculation for multiple-period cluster randomized parallel, cross-over and stepped-wedge trials using the Shiny CRT Calculator, International Journal of Epidemiology, Volume 49, Issue 3, June 2020, Pages 979-995.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.