WAICimbal {SeqAlloc} | R Documentation |
Weighted Average of Allocation Imbalance for Covariates
Description
Evaluate weighted average of the allocation imbalance for all covariates
Usage
WAICimbal(alloc, xmat, carwt)
Arguments
alloc |
vector of allocations to treatment (1) or control (0) |
xmat |
matrix describing covariates for each prospective observation |
carwt |
vector of weights to be accorded to respective covariates |
Value
Weighted average of covariate imbalances
Author(s)
Xiaoshu Zhu xiaoshuzhu@westat.com and Sharon Lohr
References
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.
See Also
Examples
alloc <- rbinom(60,1,.5)
xmat <- matrix(rbinom(240,1,.4),ncol=4)
carwt <- c(.1,.3,.2,.4)
WAICimbal(alloc, xmat, carwt)
[Package SeqAlloc version 1.0 Index]