View source: R/balance-measures.R
normalized_diff | R Documentation |
Computes a measure of the difference between locations of the covariate distributions across treatment arms.
normalized_diff(X, D)
X |
Covariate matrix (no intercept). |
D |
Treatment assignment vector. |
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.
1xp data frame storing the normalized difference of each covariate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.