Skip to contents

Estimates the Average Treatment Effect via a (weighted) mean difference between treated and control outcomes. Uses the explicit _matched suffix to distinguish it from the IPW estimator morie_estimate_ate in causal.R.

Usage

morie_matching_ate_matched(
  data,
  outcome,
  treatment,
  covariates,
  weights = NULL,
  alpha = 0.05
)

Arguments

data

Data frame.

outcome, treatment

Column names.

covariates

Character vector of covariates (carried for parity with the Python signature).

weights

Optional column of matching / weighting weights.

alpha

Significance level for confidence intervals.

Value

A list of class morie_te_result.

Examples

if (FALSE) { # \dontrun{
morie_matching_ate_matched(df, "y", "d", c("x1", "x2"),
                           weights = "._cem_weight")
} # }