I am trying to use the synth package in R.
The way synthetic control works is that it matches pre-treatment data for a treated unit and control units, and it selects weights to approximate equate the two, so that the treated unit "looks like" a synthetic control unit.
The way it works is explained here.
When matching on the pre-treatment outcomes, we pick up to T0
linear combination of the data. The synth package seems to only pick just one, and it is the one that equates the MEANS. This is what the predictor.op
function does.
Suppose, however, I want to just have it so that I select all T0
linear combinations so X1
is a T0 x 1
vector rather than a 1x1
, is there a way to do this non-manually?