get_set_treatment_effects function

Calculate matched set level treatment effects

Calculate matched set level treatment effects

Calculate the size of treatment effects for each matched set.

get_set_treatment_effects(pm.obj, panel.data, lead)

Arguments

  • pm.obj: an object of class PanelMatch
  • panel.data: PanelData object with the time series cross sectional data used for matching, refinement, and estimation
  • lead: integer (or integer vector) indicating the time period(s) in the future for which the treatment effect size will be calculated. Calculations will be made for the period t + lead, where t is the time of treatment. If more than one lead value is provided, then calculations will be performed for each value.

Returns

a list equal in length to the number of lead periods specified to the lead argument. Each element in the list is a vector of the matched set level effect estimates.

Examples

dem.sub <- dem[dem[, "wbcode2"] <= 100, ] dem.sub.panel <- PanelData(dem.sub, "wbcode2", "year", "dem", "y") # create subset of data for simplicity PM.results <- PanelMatch(panel.data = dem.sub.panel, lag = 4, refinement.method = "ps.match", match.missing = TRUE, covs.formula = ~ tradewb, size.match = 5, qoi = "att", lead = 0:4, forbid.treatment.reversal = FALSE) set.effects <- get_set_treatment_effects(pm.obj = PM.results, panel.data = dem.sub.panel, lead = 0)
  • Maintainer: In Song Kim
  • License: GPL (>= 3)
  • Last published: 2025-03-03

Useful links