Computes a measure of the difference between locations of the covariate distributions
across treatment arms.
Usage
normalized_diff(X, D)
Value
1xp data frame storing the normalized difference of each covariate.
Arguments
X
Covariate matrix (no intercept).
D
Treatment assignment vector.
Details
Normalized differences are computed as the difference in the means of each covariate across treatment arms, normalized
by the sum of the within-arm variances.