Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Synthetic Control Method Error message: variable X does not uniquely identify observations in the using data

    Hi experts,

    I am trying to investigate the impact of the coup that happened in 1980 on the economy of Liberia through utilizing the synthetic control method.

    I have obtained the result using the following command which might look better fit, and am trying to how better the synthetic fits the treatment using the following command. However I got an error message like this.

    "variable country_id does not uniquely identify observations in the using data"

    Code:
    tsset country_id year
    Code:
    synth rgdpe hc(1970&1975) pop(1970&1975) rconna(1970&1975) csh_i(1970&1975) csh_x(1970&1975) cn(1970&1975), trunit(22) trperiod(1980) keep("liberia") replace fig
    Code:
    synth_asmd, trunit(22) trperiod(1980) depvar( rgdpe ) data("liberia")
    Can anyone please give me a remedy? Furthermore, I am struggling with the other case of the SCM method to create a better synthetic for another coup case, it would be also appreciated if you experts helped me out. (the link is attached)




    Thank you and sincerely,


    Attached Files
    Hi experts, I am trying to investigate the impact of the coup that happened in 1999 on the economy of Ivory Coast through utilizing the synthetic control
    Last edited by Kenta Kunte; 13 Sep 2022, 20:46.
Working...
X