Hi,
I am trying to run a synthetic control model using the "synth" command with no predictor variables. I am only trying to match on the dependent variable as in this paper.
The code I'm using is: synth y, trunit(n) trperiod(xxxx), where y is the name of the dependent variable, n is the number of the treated unit and xxxx is the year of treatment.
However, I get the following error: "not a single variable specified. please supply at least a response variable"
Could someone please help?
Thanks
I am trying to run a synthetic control model using the "synth" command with no predictor variables. I am only trying to match on the dependent variable as in this paper.
The code I'm using is: synth y, trunit(n) trperiod(xxxx), where y is the name of the dependent variable, n is the number of the treated unit and xxxx is the year of treatment.
However, I get the following error: "not a single variable specified. please supply at least a response variable"
Could someone please help?
Thanks
Comment