Skip to contents

Normalised Difference (Imbens, Rubin 2015) for observational studies

Usage

norm_diff(df, treat, value)

Arguments

df

dataframe to check balance

treat

dummy for treatment

value

covariate to calculate normalised difference statistic

Examples

norm_diff(mtcars, vs, gear)
#> [1] 0.4227752