calculate_placebo_estimates function

calculate_placebo_estimates

calculate_placebo_estimates

Handles the procedures for calculating point estimates and standard errors for the placebo test. Code is structured very similarly to the calculate_estimates() code, but with appropriate modifications for the placebo test. See that function for description of arguments. Bootstrap SEs are available for any specification. Conditional, unconditional standard errors only available for att, art, atc.

calculate_placebo_estimates( qoi.in, data.in, lead, number.iterations, att.treated.unit.ids, atc.treated.unit.ids, outcome.variable, unit.id.variable, confidence.level, att.sets, atc.sets, placebo.test = FALSE, lag, placebo.lead, se.method = "bootstrap", parallel = FALSE, num.cores = 1 )

Returns

Returns a PanelEstimate object

  • Maintainer: In Song Kim
  • License: GPL (>= 3)
  • Last published: 2025-03-03

Useful links