Task container for synthetic control analysis. Holds treated unit data, donor pool data, treatment time, and results after estimation.
Public fields
treated_dataTibble with
timeandoutcomecolumns for the treated unit.donor_dataTibble in long format with
unit,time, andoutcomecolumns for donor units.treatment_timeThe time period when treatment begins.
resultsEstimation results (populated after estimation).
Methods
SyntheticControlTask$new()
Create a new SyntheticControlTask.
Usage
SyntheticControlTask$new(treated_data, donor_data, treatment_time)