
Stabilized IPW (Austin 2009 / Robins et al. 2000)
Source:R/weight_native.R
morie_weight_stabilized.RdStabilized IPW (Austin 2009 / Robins et al. 2000)
Examples
d <- data.frame(t = rbinom(100, 1, 0.4), x = rnorm(100))
morie_weight_stabilized(d, "t", "x")
#> morie_weight: logistic propensity (estimand ATE)
#> n = 100 ESS = 98.6 weight range [0.687, 1.452]