View source: R/calculate_placebo_estimates.R
calculate_placebo_estimates | R Documentation |
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 a PanelEstimate object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.