This package is practical companion to the published work of statisticians such as Kari Morgan Lock and Donald Rubin on how to perform a 're-randomization' procedure. The overall purpose is provide an easy to use suite of functions for assigning individuals /units in randomized clinical trials. Consideration is given also to transparency and reporting for regulatory purposes.
```{r, eval=F}
install.packages("jumble")
# Or the the development version from GitHub:
# install.packages("devtools")
```{r, eval=F}
devtools::install_github("kmcconeghy/jumble")
This package relies heavily on the suite of packages and programming termed "Tidyverse", and "data.table" e.g. that must be installed for proper functioning.
Interested users should have a cohort of trial subjects to use with this package. The package functions will iteratively assign K treatments (currently only trials with two treatments can be evaluated), assess balance according to the Mahalanobis distance, then re-randomize if M-distance < minimum acceptable criteria. The criteria, or cut-off, can either be selected assuming M-distance is geometrically distributed with k degrees of freedom where k is the number of covariates. In this case the user can select an arbitrary acceptance probability. Or the user can use ancillary functions to generate an empirical distribution of M, and choose thier own cut-off.
Companion documents have been written to assist interested readers with the background and use of the package.
- Re-randomization
Goes over a particular re-randomization method using the Mahalanobis distance measures
```{r, eval=F}
vignette("02-rerand", "jumble")
- Stratification
Examples for how to perform stratified randomizations
```{r, eval=F}
vignette("04-stratification", "jumble")
This package is in the early stages of development. Many features may change in a short amount of time.
Kevin W. McConeghy, Pharm.D, M.S., Brown University School of Public Health, Dept. Health Services Research
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.