Skip to main content

cvcrand: A package for covariate-constrained randomization and the clustered permutation test for cluster randomized trials

Publication ,  Journal Article
Yu, H; Li, F; Gallis, JA; Turner, EL
Published in: R Journal
December 1, 2019

The cluster randomized trial (CRT) is a randomized controlled trial in which randomization is conducted at the cluster level (e.g., school or hospital) and outcomes are measured for each individual within a cluster. Often, the number of clusters available to randomize is small (20), which increases the chance of baseline covariate imbalance between comparison arms. Such imbalance is particularly problematic when the covariates are predictive of the outcome because it can threaten the internal validity of the CRT. Pair-matching and stratification are two restricted randomization approaches that are frequently used to ensure balance at the design stage. An alternative, less commonly-used restricted randomization approach is covariate-constrained randomization. Covariate-constrained randomization quantifies baseline imbalance of cluster-level covariates using a balance metric and randomly selects a randomization scheme from those with acceptable balance by the balance metric. It is able to accommodate multiple covariates, both categorical and continuous. To facilitate implementation of covariate-constrained randomization for the design of two-arm parallel CRTs, we have developed the cvcrand R package. In addition, cvcrand also implements the clustered permutation test for analyzing continuous and binary outcomes collected from a CRT designed with covariateconstrained randomization. We used a real cluster randomized trial to illustrate the functions included in the package.

Duke Scholars

Published In

R Journal

EISSN

2073-4859

Publication Date

December 1, 2019

Volume

11

Issue

2

Start / End Page

191 / 204

Related Subject Headings

  • 4905 Statistics
  • 4612 Software engineering
  • 0803 Computer Software
  • 0104 Statistics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Yu, H., Li, F., Gallis, J. A., & Turner, E. L. (2019). cvcrand: A package for covariate-constrained randomization and the clustered permutation test for cluster randomized trials. R Journal, 11(2), 191–204.
Yu, H., F. Li, J. A. Gallis, and E. L. Turner. “cvcrand: A package for covariate-constrained randomization and the clustered permutation test for cluster randomized trials.” R Journal 11, no. 2 (December 1, 2019): 191–204.

Published In

R Journal

EISSN

2073-4859

Publication Date

December 1, 2019

Volume

11

Issue

2

Start / End Page

191 / 204

Related Subject Headings

  • 4905 Statistics
  • 4612 Software engineering
  • 0803 Computer Software
  • 0104 Statistics