Hello!
I am doing a 2SLS estimation using the xtivreg2 command. I want to include a country-specific time trend, however, when I include c.year#i.country into the command, I get the following error: "cyear#i: operator invalid"
Am I doing something wrong?
Or is there a way to generate the time trend mannually and then include it in the xtivreg2 command?
Thanks!
Best regards
I am doing a 2SLS estimation using the xtivreg2 command. I want to include a country-specific time trend, however, when I include c.year#i.country into the command, I get the following error: "cyear#i: operator invalid"
Am I doing something wrong?
Or is there a way to generate the time trend mannually and then include it in the xtivreg2 command?
Thanks!
Best regards


Comment