,Dear

I am trying to perform xtabond2 using my dataset(below I provide link where you can download it), but I am getting one error.

Exactly, when I perform next commands

xtset idstate yyear
bacon lnfdi, generate(out) percentile(10) replace
xtabond2 lngini_dispv6 l.lngini_dispv6 c.ProsekEBDR##c.ProsekEBDR fh_ipolity2 tdummyeu lnfdi lnsstran growth if !out, gmm (l.lngini_dispv6 ProsekEBDR2 fh_ipolity2 lnsstran growth , lag (2 2) collapse) iv( lnfdi tdummyeu, eq(level)) robust noconst

I get next error message:

cProsekEBDR##c: operator invalid
r(198); .

Any ideas how to solve this?

Thanks a lot in advance.

Regards,

Slaven

On this link you can find dataset:

https://drive.google.com/open?id=1pT..._gazgyss6uskQD