Hi,
I am having some troubles with my model and will be grateful for all help with it.
I am doing the research on the volume of trade between China and 45 partner countries between 2004 and 2016. Totally 585 ovservations over 13 years.
It's a gravity model under the panel data framework and it includes different kinds of variables,
in general my model is like this: lnTradeVolume = lnGDPi(china) + lnGDPj(partner x) + lnPopulationi + lnPopulationj + lnDevelopmentLeveli + lnDevelopmentLevelj + lnRealExchangeRate + lnLandDistance + InflationRatei + InflationRatej + CommonLandBorder + SeaAccess + StrategicPartnership.
Most of my explanatory variables are in logs. Inflation is in its level form and three last variables are binary dummy variables
I've started with Hausman test to make sure, the RE GLS will be relevant and performed Breusch-Pagan LM to confirm it. Both tests suggested I should use the RE GLS framework.
However, I have two problems:
-I have no idea how to test RE GLS Panel Data Regression for Heteroskedasticity. I'm a newbie in econometrics.
-I have done the wooldridge test to check for serial correlation, and the test rejected the H0 with a really bad result of 0.0001
I am not sure if it results from data itself or maybe i did something wrong with the construction of panel data in excel. All variables for China are repeating themself 45 times over each 13 years period, for each of the partner country. Is it okay?
I've been looking for an answer how to deal with the autocorrelation issue and found suggestions of Professor Suborno Aditya. According to him, "If it is AR of order 1, using XTREGAR instead of XTREG" could solve the problem, although, he has also told that if serial autocorrelation is present alongside heteroskedasticity or cross section dependance, PCSE would be a better choice.
Right now I am not sure which method should I addopt, because I don't know how to check heteroskedasticity for panel data and I don't know how to check if the problem is AR of order 1. I'm not really sure what does it mean. I;m not sure, how to check what type of autocorrelation is present, thus i can't choose any method of dealing with it
Thank you in advance for all help
I am having some troubles with my model and will be grateful for all help with it.
I am doing the research on the volume of trade between China and 45 partner countries between 2004 and 2016. Totally 585 ovservations over 13 years.
It's a gravity model under the panel data framework and it includes different kinds of variables,
in general my model is like this: lnTradeVolume = lnGDPi(china) + lnGDPj(partner x) + lnPopulationi + lnPopulationj + lnDevelopmentLeveli + lnDevelopmentLevelj + lnRealExchangeRate + lnLandDistance + InflationRatei + InflationRatej + CommonLandBorder + SeaAccess + StrategicPartnership.
Most of my explanatory variables are in logs. Inflation is in its level form and three last variables are binary dummy variables
I've started with Hausman test to make sure, the RE GLS will be relevant and performed Breusch-Pagan LM to confirm it. Both tests suggested I should use the RE GLS framework.
However, I have two problems:
-I have no idea how to test RE GLS Panel Data Regression for Heteroskedasticity. I'm a newbie in econometrics.
-I have done the wooldridge test to check for serial correlation, and the test rejected the H0 with a really bad result of 0.0001
I am not sure if it results from data itself or maybe i did something wrong with the construction of panel data in excel. All variables for China are repeating themself 45 times over each 13 years period, for each of the partner country. Is it okay?
I've been looking for an answer how to deal with the autocorrelation issue and found suggestions of Professor Suborno Aditya. According to him, "If it is AR of order 1, using XTREGAR instead of XTREG" could solve the problem, although, he has also told that if serial autocorrelation is present alongside heteroskedasticity or cross section dependance, PCSE would be a better choice.
Right now I am not sure which method should I addopt, because I don't know how to check heteroskedasticity for panel data and I don't know how to check if the problem is AR of order 1. I'm not really sure what does it mean. I;m not sure, how to check what type of autocorrelation is present, thus i can't choose any method of dealing with it
Thank you in advance for all help
Comment