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
Create a loop for a one step ahead out-of-sample analisysGood morning everybody, I would like to create a kind of loop to perform and out-of-sample analysis…
SMOTE in StataDear Statalist, I am currently training a random forest algorithm with a heavily imbalanced dataset…
Changing matrix entries to 1Hello, I am trying to edit a spatial weighting matrix created by the spmatrix create command in Sta…
MLE and log likelihood functionHere, Y = {y1, y2, ..., y10} = {10, 9, 21, 4, 14, 11, 22, 9, 6, 4}. Using the (log-)likelihood funct…
How to draw a volcano plot using statai always use stata analyze data,and I'm new to the R language,who can tell me is any package in stat…
Subscribe to:
Post Comments (Atom)
0 Response to Gravity model with GEPPML: General equilibrium analysis with PPML
Post a Comment