Maximum Allocation Imbalance for Covariates

Share:

Description

Evaluate maximum of the allocation imbalance for all covariates

Usage

1
MAICimbal(alloc, xmat)

Arguments

alloc

vector of allocations to treatment (1) or control (0)

xmat

matrix describing covariates for each prospective observation

Value

maximum 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

WAICimbal

Examples

1
2
3
4
alloc <- rbinom(60,1,.5)
xmat <- matrix(rbinom(240,1,.4),ncol=4)

MAICimbal(alloc, xmat)