normalized_diff: Normalized Differences

View source: R/balance-measures.R

normalized_diffR 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.


aggTrees documentation built on Sept. 11, 2024, 9:22 p.m.