Hi,
I am using the synthetic control method to analyse the effects of economic sanctions on income inequality.
After running the following codes, Stata said control units: for at least one unit predictor gininet(1995) is missing for ALL periods specified
I therefore applied the following code to solve for the 'missing' problem
and then dropped the observations with missing values.
Now, Stata gives me 'conformability error'. How do I fix this 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 running the following codes, Stata said control units: for at least one unit predictor gininet(1995) is missing for ALL periods specified
Code:
ssc install synth
Code:
tsset country_n year
Code:
synth gininet log_GDPcap log_exports log_investment log_secondarygross coupdum gininet(1992) gininet(1997) gininet(2003), trunit(7) trperiod(2004) xperiod(1993(1)2003) fig
Code:
list country_n if missing(gininet) & inlist(year, 1992, 1997, 2003)
Now, Stata gives me 'conformability error'. How do I fix this so that my regression works?
Thank you
Comment