Description Usage Arguments Value Author(s) References Examples
This package will calculate conditional power for stopping a trial for futility or stop for efficacy. It is possible to calculate the conditional power of the study to reject the null hypothesis given the current results obtained from gsDesign (Group sequential designs). An user has to first calculate the sample size for any types of endpoint: Continuous, Binary and Time-to-Event based on R-package gsDesign. Then using this results one can calculate the Conditional power, which is one of the tools, when computed over a range of alternatives, can be of guidance in deciding whether to continue the study given those available information.
1 | continuous(n, N, delta, se, delta_assumed, zfinal)
|
n |
Sample size obtained at Interim stage/look |
N |
Total Sample size at Final Stage/look |
delta |
Observed Treatment Effect at Interim which needs to calculate Test Statistic (Z) |
se |
Standard Error for Mean(delta) difference |
delta_assumed |
Assumed treatment effect for future/remaining patients |
zfinal |
Final stage/Look Z-Statistic value which was obtained while planning analysis in Design Stage |
conditional power for specified (continuous or binary) endpoint
Mohammad Anamul Haque, Tomasz Burzykowski, Emmanuel Quinaux and Nahid Sultana
Jennison, C. and Turnbull, B.W. (2005). Group Sequential Methods with Applications to Clinical Trials. Boca Raton: Chapman and Hall.
Chang, M. (2015). Introductory Adaptive Trial Designs: A Practical Guide with R. CRC press, Chapman and Hall.
1 2 | continuous(n=10, N=25, delta=1, se=2, delta_assumed=1, zfinal=1.97) #for Continous endpoint
continuous(n=200, N=294, delta=0.15, se=0.07, delta_assumed=0.20, zfinal=1.99) #for binary endpoint
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.