Hi,
I am using the synthetic control method to analyse the effects of economic sanctions on income inequality.
After uploading my dataset into stata, the commands I have used are as follows:
Stata gives me:
control units: for at least one unit predictor gininet(1995) is missing for ALL periods specified
How do I solve/bypass this problem so that my regression works?
Thank you
I am using the synthetic control method to analyse the effects of economic sanctions on income inequality.
After uploading my dataset into stata, the commands I have used are as follows:
Code:
ssc install synth
Code:
tsset country_n year
Code:
synth gininet log_GDPcap log_exports log_investment log_secondarygross coupdetat gininet(1995) gininet(2000) gininet(2005) gininet(2010), trunit(7) trperiod(2011) xperiod(1995(1)2010) fig
control units: for at least one unit predictor gininet(1995) is missing for ALL periods specified
How do I solve/bypass this problem so that my regression works?
Thank you
Comment