| SyntheticControlTask | R Documentation |
Task container for synthetic control analysis. Holds treated unit data, donor pool data, treatment time, and results after estimation.
treated_dataTibble with time and outcome columns
for the treated unit.
donor_dataTibble in long format with unit, time,
and outcome columns for donor units.
treatment_timeThe time period when treatment begins.
resultsEstimation results (populated after estimation).
SyntheticControlTask$new()Create a new SyntheticControlTask.
SyntheticControlTask$new(treated_data, donor_data, treatment_time)
treated_dataTibble with time and outcome.
donor_dataLong-format tibble with unit, time,
outcome.
treatment_timePeriod when treatment begins.
SyntheticControlTask$print()Print summary.
SyntheticControlTask$print(...)
SyntheticControlTask$clone()The objects of this class are cloneable with this method.
SyntheticControlTask$clone(deep = FALSE)
deepWhether to make a deep clone.
Other eventstudy-tasks:
IntradayEventStudyTask,
PanelEventStudyTask,
estimate_panel_event_study(),
estimate_synthetic_control(),
nonparametric_intraday_test(),
plot_panel_event_study(),
plot_synthetic_control(),
prepare_intraday_event_study(),
sc_placebo_test()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.