Hello everyone I a little bit new with Stata and now I am using the pseudo-gravity equation from the paper of Bacardio-Colom (2013) to study the efectts of the FTA of Perú and China ONLY in the Peruvian exports, that's why the name es PSEUDO-gravity equation. For my estimation I use 60 countries including China from the period 1994 to 2017. The FTA starts in 2000.
There is how I order mi panel data base:
Array
This pseudo-Gravity equation takes this form:
Array
where:
Xijt : Exports for country i (Perú un this case) to country f in time t
PBIij : GDP of the country j in time t
DISTij: Distance from the capital of country i to country j
Zijt: Dummy variable that takes the valué of 1 if in the time t country i and j share a diplomatic relationship and 0 if they don't.
TLCCHINAijt : Dummy variable that takes the value of for China 1 when the FTA agreements starts.
I also use other dummy variables like same continent, lenguaje, colony.
My biggest problema starts with the method I have of estimation, when I estimate by OLS-pooled all my results are okay, then I estimate by FE or RE and it make that my variable of FTA not significant that is totally wrong because many studies find that this FTA make the export from Perú grow very much.
I`ll post my code here:
cls
clear all
set more off
import excel using "", firstrow
egen CountryNumber = group (Country)
destring Year, replace
gen log_y_j = log(PBIj)
gen log_y_i = log(PBII)
gen exp = log(ImportExport)
gen log_dis = log(Distancia)
xtset CountryNumber
xtset CountryNumber Year, yearly
Ols-Pooled:
reg exp log_y_j log_dis TLCCHINA Colonia Lenguaje Continuo i.Year, r
reg exp log_y_j log_dis TLCCHINA Relacionesdiplomticas Colonia Lenguaje MismoContinente, r
FE:
xtreg exp log_y_j log_y_i log_dis TLCCHINA Relacionesdiplomticas Colonia Lenguaje, fe
xtreg exp log_y_j log_dis TLCCHINA Colonia Lenguaje i.Year, fe
* I also add year fixed effects
* And I have another question how can I add country-time fixed effects
I deeply appreciate any help or comments you can give me.
Related Posts with How can I estimate a pseudo-gravity equation
annual cross sectional regression versus panel regressionDear all In one article I have read that they estimate "average coefficients from ten annual (2005–2…
Merge IssueHello Everyone, Hope you are doing great. I am running my code, but right in the middle of my code …
New to stata need help.hi my final year project involves analyzing bicycle crashes in my state, im new to the software stat…
(Country) fixed effects for bilateral trade data in gravity modelHello everyone, I'm currently working on a Gravity Model and I'm quite confused about how to proper…
Data Set required for Economic Turmoil and ConflictHello I am looking for two dataset to create dummy variables from. 1. Regarding Economic Turmoil ex.…
Subscribe to:
Post Comments (Atom)
0 Response to How can I estimate a pseudo-gravity equation
Post a Comment