Skip to contents

Matches on the propensity score, then applies bias-corrected linear regression adjustment within the matched sample. Standard errors come from a non-parametric bootstrap.

Usage

morie_matching_doubly_robust(
  data,
  outcome,
  treatment,
  covariates,
  ps = NULL,
  n_bootstrap = 200L,
  seed = 42L,
  alpha = 0.05
)

Arguments

data

Data frame.

outcome, treatment

Column names.

covariates

Character vector of covariates.

ps

Optional pre-computed propensity scores.

n_bootstrap

Number of bootstrap replications.

seed

Random seed.

alpha

Significance level.

Value

A list of class morie_te_result with estimand "ATT_DR".

Examples

if (FALSE) { # \dontrun{
morie_matching_doubly_robust(df, "y", "d", c("x1", "x2"),
                             n_bootstrap = 200)
} # }