Description Usage Arguments Value Note Author(s) References See Also Examples
Performs the sequential allocation for the covariate-adjusted-imbalance-tolerance (CAIT) method of allocating observations in a randomized experiment.
1 | caitalloc(carwt_x1, p, tol)
|
carwt_x1 |
matrix of dimension n x n, where n is the number of units to be randomly assigned to treatments. The (i,j) element of the matrix is the weighted match score of unit i and unit j. The matrix should be symmetric with diagonal elements of 1. |
p |
probability the next unit should be allocated to the experiment arm that currently has fewer observations. |
tol |
imbalance tolerance for deviation from equal allocation. |
Vector with the allocation to treatment (denoted by 1) and control (denoted by 0)
This function works for categorical as well as binary covariates. The matrix carwt_x1 can be created from an X matrix by using the function weight_x in this package.
Xiaoshu Zhu xiaoshuzhu@westat.com and Sharon Lohr
Pocock, S.J. and R. Simon (1975). Sequential Treatment Assignment with Balancing for Prognostic Factors in a Controlled Clinical Trial. Biometrics 31, 103-115.
Lohr, S. and X. Zhu (2015). Randomized Sequential Individual Assignment in Social Experiments: Evaluating the Design Options Prospectively. Sociological Methods and Research. [Advance online publication: December 27, 2015] doi: 10.1177/0049124115621332.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.