Dear Statalist,
Using a gravity model, I am estimating the impact of ASEAN-China Free Trade Agreement on trade creation and trade diversion using a panel of 21 countries (China, 10 ASEAN countries, and top 10 China's trading partners) spanning from 2000 to 2015 and generates 6720 obs with around 100 zeros in my dependent variable (export).
I have read through the forum and decided to use PPML to estimate my model with different FEs, but when I tried to perform RESET test I obtained very low p-value, which suggests that PPML does not pass the RESET test, which is confusing since the paper from Santo Silva and Tenreyro (2006) suggest that PPML should be the best method given the presence of zeros.
TIME AND COUNTRY-PAIR FIXED EFFECT ESTIMATION
I used the code:
I followed the approach from the "Log of Gravity" website and perform the RESET test using the following code:
The test p-value is as following:
If I am not wrong, the p-value suggests the above specification is not in correct functional form i.e. PPML is not a good estimator. I would like to ask why is this the case and is there any solutions to that?
COUNTRY-TIME AND COUNTRY-PAIR FIXED EFFECT ESTIMATION
I used the code:
I run the RESET test using the above approach. However after running the regression that includes the fit2 value, I received a warning saying variance matrix is nonsymmetric or highly singular after Iteration 34. All SE and p-value etc is missing so I cannot run the test for fit2.
I don't quite understand how this happened and is there any solutions to that?
On a side note, I tried to estimate the second FE estimation using other commands but in no luck:
When I run ppml_panel_sg with the following code, only coefficient of FTA_1 can be estimated - is it possible to estimate all FTA coefficients using this command?
PS: FTA_1 takes a value of 1 if both countries belong to the RTA; FTA_2 takes a value of 1 if country i belongs to the RTA but country j doesn't; FTA_3 takes a value of 1 if country j belongs to the RTA and country i doesn't.
Thank you very much in advance and really really appreciate your help!
Best Regards
Karen
Using a gravity model, I am estimating the impact of ASEAN-China Free Trade Agreement on trade creation and trade diversion using a panel of 21 countries (China, 10 ASEAN countries, and top 10 China's trading partners) spanning from 2000 to 2015 and generates 6720 obs with around 100 zeros in my dependent variable (export).
I have read through the forum and decided to use PPML to estimate my model with different FEs, but when I tried to perform RESET test I obtained very low p-value, which suggests that PPML does not pass the RESET test, which is confusing since the paper from Santo Silva and Tenreyro (2006) suggest that PPML should be the best method given the presence of zeros.
TIME AND COUNTRY-PAIR FIXED EFFECT ESTIMATION
I used the code:
Code:
ppml ex lgdp1 lgdp2 lgdpc1 lgdpc2 ldis adj lang lpop1 lpop2 FTA_1 FTA_2 FTA_3 id_* time_*, cluster(id)
Code:
predict fit, xb gen fit2=fit^2 ppml ex lgdp1 lgdp2 lgdpc1 lgdpc2 ldis adj lang lpop1 lpop2 FTA_1 FTA_2 FTA_3 id_* time_* fit2, cluster(id) test fit2=0
( 1) fit2 = 0
chi2( 1) = 13.38
Prob > chi2 = 0.0003
chi2( 1) = 13.38
Prob > chi2 = 0.0003
COUNTRY-TIME AND COUNTRY-PAIR FIXED EFFECT ESTIMATION
I used the code:
Code:
egen impyear_=group(impid time) qui tab impyear_, gen(impyear_) egen expyear_=group(expid time) qui tab expyear_, gen(expyear_) ppml ex FTA_1 FTA_2 FTA_3 expyear_* impyear_* id_*
I don't quite understand how this happened and is there any solutions to that?
On a side note, I tried to estimate the second FE estimation using other commands but in no luck:
When I run ppml_panel_sg with the following code, only coefficient of FTA_1 can be estimated - is it possible to estimate all FTA coefficients using this command?
ppml_panel_sg ex FTA_1 FTA_2 FTA_3, ex(expid) im(impid) y(time)
Thank you very much in advance and really really appreciate your help!
Best Regards
Karen
Comment