Hello Experts! I'm conducting a study on the effect of trade openness on industry competition. My panel dataset is composed by 3 dimensions: country (5), industry (19) and time (9 years). The purpose of my study is to capture a dynamic equilibrium relationship. For that I need to distinguish between the short-run impact of a trade openness on industry price markups and the long-run equilibrium relationship between price markups and the competitive environment. It is important from an econometric point of view to control for the high degree of persistence of price markups: an Error Correction Model specification I allow industries to trend to different equilibria.
Now my question concerns the stata code for an error correction model with a 3 dimension panel data. I'm also indecisive between combining country and industry information to one panel unit instead of having 2 units - which doesn't let me perform xtset due to repeated time values within panel.
Thank you for you attention and time to consider my issue!