Good evening, guys. I'm currently working on a gravity model with PPML estimator. Here is the thread: I'm using a book from Yotov et al that has a formula for fixed effects. I'm only using exporter fixed effects and getting the same results for all the variables (sum equals 100). Can someone please tell if its correct?
the commands for PPML: ppml exp area dist population gdp gdpc mercosul landlock border
commands for fixed effects: egen exp_time = group (exp year) ; tabulate exp_time, generate (EX_FE)
this is part of the result:
832 | 1 0.04 30.78
833 | 1 0.04 30.82
834 | 1 0.04 30.85
835 | 1 0.04 30.89
836 | 1 0.04 30.92
837 | 1 0.04 30.96
838 | 1 0.04 30.99
839 | 1 0.04 31.03
840 | 1 0.04 31.07
841 | 1 0.04 31.10
842 | 1 0.04 31.14
843 | 1 0.04 31.17
844 | 1 0.04 31.21
845 | 1 0.04 31.25
846 | 1 0.04 31.28
847 | 1 0.04 31.32
the sum equals 100. Shouldn't the fixed effects be different for each year? Tks in advance!
Related Posts with PPML and fixed effects commands
working out expressions(sum and multiply) in stata with some missing observationsHi Nick Cox I want to add and multiply certain variables in stata in a new variable VaR. My expres…
Generating a new variable that equals the Nth non-missing value in a rowHi All, I am essentially trying to compress a row of variables into just the non-missing entries. M…
Marginal effect after heckpoissonDear All, I am new to stata and I am using Heckpoisson, a poison regression model with endogenous s…
Looping Over the numeric value of a variable and use it for the subsequent loop.Hi, thanks for your help in advance. I have the following dataset. And I come up with the following …
two stage IV approchbootstrap "repeated time values within panel" 2 SRI I'm trying to run 2sri approach(control functio…
Subscribe to:
Post Comments (Atom)
0 Response to PPML and fixed effects commands
Post a Comment