Hello everyone,
I am a graduate student writing their thesis on the determinants of China’s exports to its 35 biggest trading partners. I am working on a three dimensional balanced panel (country sector year) and including sector dimension to the panel is imperative for my research. I also work on STATA 13.
I have a problem with being able to set up a three dimensional panel with xtset, as it does not allow three variables and does not allow for repeated time values within panel (There are 4 sectors for each country and observations through 14 years for each sector). I tried to circumvent this by grouping together country-industry dummies, yet it has longstanding implications for fixed effects in such a model. Is there another way that I could set up the data to be able to run all the relevant tests? (for unit root and whatnot).
Another question is, assuming there is no other way than to include country-industry fe, the resulting xtunitroot (ips and dfuller) tests seem to imply two of my variables which are ln(exporter gdp) and ln(exporter gdp per capita) are nonstationary. The dependant variable is stationary(log(export)) is stationary including 1 lag, as well as importer gdp and importer gdp per capita. I am not sure how to proceed from this, as I know this violates OLS assumptions as I can’t regress I(0) on I(1) series. What should I do?
I have a few more questions, but this is a nice start.
Thank you VERY much to anyone who can help in any way.
I am a graduate student writing their thesis on the determinants of China’s exports to its 35 biggest trading partners. I am working on a three dimensional balanced panel (country sector year) and including sector dimension to the panel is imperative for my research. I also work on STATA 13.
I have a problem with being able to set up a three dimensional panel with xtset, as it does not allow three variables and does not allow for repeated time values within panel (There are 4 sectors for each country and observations through 14 years for each sector). I tried to circumvent this by grouping together country-industry dummies, yet it has longstanding implications for fixed effects in such a model. Is there another way that I could set up the data to be able to run all the relevant tests? (for unit root and whatnot).
Another question is, assuming there is no other way than to include country-industry fe, the resulting xtunitroot (ips and dfuller) tests seem to imply two of my variables which are ln(exporter gdp) and ln(exporter gdp per capita) are nonstationary. The dependant variable is stationary(log(export)) is stationary including 1 lag, as well as importer gdp and importer gdp per capita. I am not sure how to proceed from this, as I know this violates OLS assumptions as I can’t regress I(0) on I(1) series. What should I do?
I have a few more questions, but this is a nice start.
Thank you VERY much to anyone who can help in any way.
Comment