Dear All,
I am applying the method of General equilibrium analysis with Poisson pseudo-maximum-likelihood (PPML) by Anderson et al. (2018). I have panel data for nine years from 2006-2016, with ten exporting countries and 154 importing countries for each exporter (total observations 11,781). The dependent variable is bilateral export. I have six independent variables. All variables are continuous. I have also included importer and exporter fixed effects.
The problem I face is that when I enter the following command in STATA:
ppml logexport transshipment geometricavg shipsize competition loggdp_rest loggdp_ten Exporter_fixed* Importer_fixed1-Importer_fixed '=NoC'-1',iter(30) noconst
I got the message "variable Importer_fixed not found"
Could you please guide me on how to fix this problem?
I hope Joao Santos Silva can help me to solve this issue.
Reference
Anderson, J. E., Larch, M., and Yotov, Y. V. (2018). GEPPML: general equilibrium analysis with PPML, The World Economy, 41: 2750–2782.
Related Posts with Gravity model with GEPPML: General equilibrium analysis with PPML
Median per group for every year (panel data)Hello! For my thesis I want to test a specific hypothesis that requires me to generate a variable U…
How to change the 'levelsof' a panel variable?Hello All, I am trying to create a synthetic control group using Stata's 'synth' package but when I…
Egen invalid syntax errorI am at my wits end with this. Can someone please see the error in my code. It was working before. T…
How can I count the number of elements in a numlist?Is there a command or function that counts the number of elements in a numlist? …
stata graph and equationsif i have xt = 1.004 * xt-1 + ut and yt = 1.04 * yt-1 + vt where ut and vt are normally distributed…
Subscribe to:
Post Comments (Atom)
0 Response to Gravity model with GEPPML: General equilibrium analysis with PPML
Post a Comment