R/tmlefp_native.R
morie_optimal_alpha_att.Rd
Homoskedastic, as in the paper.
morie_optimal_alpha_att(pscore, treated, tol = 1e-12, max_iter = 200)
Numeric propensity scores.
Integer 0/1 treatment indicators.
Convergence parameters.
A list with alpha_t, keep, trim, no_trimming.
alpha_t
keep
trim
no_trimming
Crump, R. K. et al. (2009). Theorem 5.3.
set.seed(11) ps <- runif(500, 0.02, 0.98) morie_optimal_alpha_att(ps, rbinom(500, 1, ps))$alpha_t #> [1] 0.8038996