Native stacking: fits a small library of propensity learners (logistic, logistic-with-interactions, and optionally GBM/ranger when installed), combines their cross-validated predictions by non-negative least squares on the CV log-loss surface (native NNLS via Lawson-Hanson active set), and converts the ensemble scores to estimand weights.
Examples
d <- data.frame(t = rbinom(150, 1, 0.5), x1 = rnorm(150), x2 = rnorm(150))
morie_weight_super(d, "t", c("x1", "x2"))
#> morie_weight: SuperLearner (native NNLS stack) (estimand ATE)
#> n = 150 ESS = 146.3 weight range [1.106, 3.901]
