normalized_diff {aggTrees} | R Documentation |
Normalized Differences
Description
Computes a measure of the difference between locations of the covariate distributions across treatment arms.
Usage
normalized_diff(X, D)
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.
Value
1xp data frame storing the normalized difference of each covariate.
[Package aggTrees version 2.0.2 Index]