Codes used to perform a simulation study in
Xin, J. and Ma, W. (2024+) On the achievability of efficiency bounds for covariate-adjusted response-adaptive randomization.
The repository includes the R and C++ code used to produce the presented results in the manuscript and supplementary material.
base_randomization.cpp
contains C++ code to perform randomization methods. simulatoin.R
contains R code to generate simulation models and results.
Replication code is contained in codes.Rmd
and the output file is codes.pdf
.
- R packages:
paralle, Rcpp, RcppAmardillo, ggplot2, tidyr, dplyr, patchwork, latex2exp