evalRand.sim {carat} | R Documentation |
Evaluation Randomization Procedures with Covariate Data Generating Mechanism
Description
Evaluates randomization procedure based on several different quantities of imbalances by simulating patients' covariate profiles under the assumption of independence between covariates and levels within each covariate.
Usage
evalRand.sim(n = 1000, N = 500, Replace = FALSE, cov_num = 2,
level_num = c(2, 2), pr = rep(0.5, 4), method = "HuHuCAR", ...)
Arguments
N |
the iteration number. The default is 500. |
n |
the number of patients. The default is |
Replace |
a bool. If |
cov_num |
the number of covariates. The default is |
level_num |
a vector of level numbers for each covariate. Hence the length of |
pr |
a vector of probabilities. Under the assumption of independence between covariates, |
method |
the randomization procedure to be evaluated. This package provides assessment for |
... |
arguments to be passed to
|
Details
See evalRand
.
Value
See evalRand
.
See Also
See evalRand
to evaluate a randomization procedure with complete covariate data.