Skip to contents

Equation 10.1 of Weisburd et al. (2022): 100 (xbar_t - xbar_c) over the square root of the average of the two variances. Mirrors ca10e1.

Usage

morie_psm_balance(mean_t, mean_c, s_t, s_c)

Arguments

mean_t, mean_c

Group means.

s_t, s_c

Group SDs.

Value

Numeric bias in percent.

Examples

morie_psm_balance(mean_t = c(1, 2, 3, 4, 5, 6, 7, 8), mean_c = c(1, 2, 3, 4, 5, 6, 7, 8),
  s_t = c(1, 2, 3, 4, 5, 6, 7, 8), s_c = c(1, 2, 3, 4, 5, 6, 7, 8))
#> [1] 0 0 0 0 0 0 0 0