Skip to contents

Investigators are faced with many challenges in designing efficient, ethical randomized trials due to competing demands: a trial must collect enough information to identify meaningful benefits or harms with a desired probability while also minimizing potential harm and suboptimal treatment of participants. Satisfying these competing demands is further complicated by the limited and imprecise information available during the design of a study.

Studies designed around a fixed sample size are inflexible, requiring investigators to wait until the end of data collection to perform statistical analyses. Group sequential designs are more flexible, allowing studies to be stopped for efficacy or futility according to a pre-planned analyses, which occur when the number of obtained primary outcomes reach pre-specified fractions of the final sample size.

Covariate adjustment allows investigators to potentially gain additional precision by utilizing information collected from individuals prior to randomization in the statistical analysis. This potential increase in precision can be used to provide additional power in a fixed sample size design or a group sequential design. Not all methods of covariate adjustment are directly compatible with group sequential designs, but a broad class of methods can be made compatible by performing an orthogonalization of the resulting estimates and their variance-covariance matrix (Van Lancker, Betz, and Rosenblum 2022).

A disadvantage of covariate adjustment is that the amount of precision gained from covariate adjustment is not known precisely at the outset of a study. This complicates the ability to use covariate adjustment to reduce the required sample size instead of providing additional power. Rather than planning analyses based on a specific number of participants, investigators can pre-specify when analyses reach pre-specified levels of precision: this is known as information monitoring (Mehta and Tsiatis 2001). This allows investigators to adapt their study to the precision in the accruing data, reducing the risk of under- or overpowered trials. This also allows investigators to use covariate adjustment to shorten the trial duration, rather than just providing additional power and precision.

The impart package can be used for performing covariate adjustment in group sequential designs or designing, monitoring, and analyzing information monitored designs.

Installation

You can install the development version of impart from GitHub using:

# install.packages("devtools")
devtools::install_github("jbetz-jhu/impart")
#> 
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#>          checking for file 'C:\Users\jbetz\AppData\Local\Temp\Rtmp8mEBtO\remotes3f4280a339d\jbetz-jhu-impart-151f98d/DESCRIPTION' ...  ✔  checking for file 'C:\Users\jbetz\AppData\Local\Temp\Rtmp8mEBtO\remotes3f4280a339d\jbetz-jhu-impart-151f98d/DESCRIPTION'
#>       ─  preparing 'impart':
#>    checking DESCRIPTION meta-information ...     checking DESCRIPTION meta-information ...   ✔  checking DESCRIPTION meta-information
#>       ─  checking for LF line-endings in source and make files and shell scripts
#>   ─  checking for empty or unneeded directories
#>       ─  building 'impart_0.1.0.tar.gz'
#>      
#> 

There are several vignettes built into impart: These are listed in the ‘Articles’ tab above, and can be listed in the R console:


Background for Information Monitoring

We can estimate the precision required to achieve power (1β)(1 - \beta) to identify a treatment effect δ\delta with a ss-sided test with type I error rate α\alpha using:

=(Zα/s+Zβδ)21(SE(δ̂))2=1Var(δ̂)\mathcal{I} = \left(\frac{Z_{\alpha/s} + Z_{\beta}}{\delta}\right)^2 \approx \frac{1}{\left(SE(\hat{\delta})\right)^2} = \frac{1}{Var(\hat{\delta})}

This uses the square of the empirical standard error (or the empirical variance estimate) to measure the precision to which the treatment effect δ\delta can be measured with the data in hand. A precision-adaptive design can reduce the risk of under- or overpowered trials by collecting data until the precision is sufficient to conduct analyses.


Approximate Precision vs. Sample Size

Let TT denote treatment and CC denote control, and Y(A)Y^{(A)} denote the outcome of interest under treatment assigment AA, where A=1A = 1 indicates assignment to the treatment arm and A=0A = 0 denotes assignment to the control arm.

For a continuous outcome, the required information to estimate the difference in means δDIM=E[Y(1)]E[Y(0)]\delta_{DIM} = E[Y^{(1)}] - E[Y^{(0)}] depends on the sample size and variances of outcomes in each treatment arm:

SE(δ)=σT2nT+σC2nCSE(\delta) = \sqrt{\frac{\sigma^{2}_{T}}{n_{T}} + \frac{\sigma^{2}_{C}}{n_{C}}}

For a binary outcome, the required information to estimate the risk difference δRD=E[Y(1)]E[Y(0)]\delta_{RD} = E[Y^{(1)}] - E[Y^{(0)}] depends on the response rate in the control arm (πC=πTδ)(\pi_{C} = \pi_{T} - \delta):

SE(δ)=πT(1πT)nT+πC(1πC)nCSE(\delta) = \sqrt{\frac{\pi_{T}(1 - \pi_{T})}{n_{T}} + \frac{\pi_{C}(1 - \pi_{C})}{n_{C}}}

For an ordinal outcome with KK categories, let πAK=Pr{Y(A)=k}\pi_{A}^{K} = Pr\{Y^{(A)} = k\} denote the probability of an outcome in category kk under treatment AA. The Mann-Whitney estimand ϕ\phi is the probability of having an outcome as good or better under the treatment arm relative to control with an adjustment for ties:

ϕ=Pr{Y(T)>Y(C)}+12Pr{Y(T)=Y(C)}\phi = Pr\{Y^{(T)} > Y^{(C)}\} + \frac{1}{2} Pr\{Y^{(T)} = Y^{(C)}\}

This is also known as the competing probability. The precision/information depends on ϕ\phi (Fay and Malinovsky 2018):

SE(δ)ϕ(1ϕ)nTnC(1+(nT+nC22)(ϕ1+ϕ+1ϕ2ϕ))SE(\delta) \approx \sqrt{\frac{\phi(1 - \phi)}{n_{T}n_{C}}\left(1 + \left(\frac{n_{T} + n_{C} - 2}{2}\right)\left(\frac{\phi}{1 + \phi} + \frac{1 - \phi}{2 - \phi} \right)\right)}

Alternatively, the precision/information can be obtained from the distribution of outcomes under each treatment arm (Zhao, Rahardja, and Qu 2008). Let N=nT+nCN = n_{T} + n_{C}:

SE(δ)=112(nTnC)(N+11N(N1))k=1K(πTknT+πCknC)SE(\delta) = \sqrt{\frac{1}{12(n_{T}n_{C})}\left(N+1 - \frac{1}{N(N-1)}\right)\sum_{k = 1}^{K}(\pi_{T}^{k}n_{T} + \pi_{C}^{k}n_{C})}

Expressions for the information for other estimands can be obtained elsewhere (Jennison and Turnbull 1999). In practice, the parameters in these expressions are not precisely known a priori. The advantage of an information monitoring design is that the sample size is not fixed a priori based on estimates of these parameters, but adapts automatically to the precision of the accruing data.


Covariate Adjustment in Randomized Trials

Covariate adjusted analyses can also give greater precision than an unadjusted analyses without introducing more stringent assumptions, however the amount of precision gained in adjusted analyses are also not precisely known a priori (Benkeser et al. 2020). Instead of predicating the design on assumptions about the potential gain in precision from covariate adjustment, a precision-adaptive design automatically adjusts the sample size accordingly.

The relative efficiency of a covariate adjusted estimator to an unadjusted estimator is REA/U=Var(θU)/Var(θA)RE_{A/U} = Var(\theta_{U})/Var(\theta_{A}). The relative change in variance of a covariate-adjusted analysis to an unadjusted analysis is:

RCVA/U=Var(θA)Var(θU)Var(θU)=1REA/U1RCV_{A/U} = \frac{Var(\theta_{A}) - Var(\theta_{U})}{Var(\theta_{U})} = \frac{1}{RE_{A/U}} - 1 Alternatively, REA/U=1/(1+RCVA/U)RE_{A/U} = 1/(1 + RCV_{A/U}): If a covariate adjusted analysis has a relative efficiency of 1.25, the relative change in variance would be -0.2, or a -20% change in variance. Since precision is the inverse of variance, the relative change in precision of a covariate-adjusted analysis to an unadjusted analysis is:

RCPA/U=1/Var(θA)1/Var(θU)1/Var(θU)=Var(θU)/Var(θA)1=REA/U1RCP_{A/U} = \frac{1/Var(\theta_{A}) - 1/Var(\theta_{U})}{1/Var(\theta_{U})} = Var(\theta_{U})/Var(\theta_{A}) - 1 = RE_{A/U} - 1 Alternatively, REA/U=1+RCPA/URE_{A/U} = 1 + RCP_{A/U}: If a covariate adjusted analysis has a relative efficiency of 1.25, the relative change in precision would be 0.25, or a 25% change in precision.


Sequential Analyses

Pre-planned interim analyses allow investigators to stop a randomized trial early for efficacy or futility (Jennison and Turnbull 1999). Precision-adaptive trials can integrate both interim analyses and covariate adjustment, using a broad class of methods (Van Lancker, Betz, and Rosenblum 2022). Mehta and Tsiatis (2001) illustrate information-adaptive designs in practice. For a tutorial on implementing interim analyses, see Lakens, Pahlke, and Wassmer (2021).


References

Benkeser, David, Iván Dı́az, Alex Luedtke, Jodi Segal, Daniel Scharfstein, and Michael Rosenblum. 2020. “Improving Precision and Power in Randomized Trials for COVID-19 Treatments Using Covariate Adjustment, for Binary, Ordinal, and Time-to-Event Outcomes.” Biometrics 77 (4): 1467–81. https://doi.org/10.1111/biom.13377.
Fay, Michael P., and Yaakov Malinovsky. 2018. “Confidence Intervals of the Mann-Whitney Parameter That Are Compatible with the Wilcoxon-Mann-Whitney Test.” Statistics in Medicine 37 (27): 3991–4006. https://doi.org/10.1002/sim.7890.
Jennison, Christopher, and Bruce W. Turnbull. 1999. Group Sequential Methods with Applications to Clinical Trials. Chapman; Hall/CRC. https://doi.org/10.1201/9780367805326.
Lakens, Daniel, Friedrich Pahlke, and Gernot Wassmer. 2021. “Group Sequential Designs: A Tutorial,” January. https://doi.org/10.31234/osf.io/x4azm.
Mehta, Cyrus R., and Anastasios A. Tsiatis. 2001. “Flexible Sample Size Considerations Using Information-Based Interim Monitoring.” Drug Information Journal 35 (4): 1095–1112. https://doi.org/10.1177/009286150103500407.
Van Lancker, Kelly, Joshua Betz, and Michael Rosenblum. 2022. “Combining Covariate Adjustment with Group Sequential, Information Adaptive Designs to Improve Randomized Trial Efficiency.” arXiv Preprint arXiv:1409.0473. https://doi.org/10.48550/ARXIV.2201.12921.
Zhao, Yan D., Dewi Rahardja, and Yongming Qu. 2008. “Sample Size Calculation for the Wilcoxonmannwhitney Test Adjusting for Ties.” Statistics in Medicine 27 (3): 462–68. https://doi.org/10.1002/sim.2912.