Hi,
In a Gravity Model estimation with PPML,
which is the difference between these two options if I want to include fixed effects on my model? Are both correct?
Option 1:
egen exp = group(exporter)
quietly tabulate exp, gen(EXPORTER_FE)
egen imp = group(importer)
quietly tabulate imp, gen(IMPORTER_FE)
egen time = group(year)
quietly tabulate imp, gen(YEAR_FE)
Option 2:
egen exp_time = group(exporter year)
quietly tabulate exp_time, gen(EXPORTER_TIME_FE)
egen imp_time = group(importer year)
quietly tabulate imp_time, gen(IMPORTER_TIME_FE)
Thanks,
Daniel
Related Posts with PPML Fixed Effects
merging two year database company keys with one year observations databaseHi all, I would like to have an answer regarding the following topic. I want to match observations f…
Correlation of the change of the current and the previous variable (autocorrelation)Hi, I am trying to find the auto correlation of current earnings change and past earnings change, bu…
foreach loop with fe (fixed effects) and constraintsHi I want to run fixed effects regression together with some restrictions(constraints) for 250 cros…
Converting globals in to scalarsHi all I have a question. During my .do file I created some globals in which I stored the value of …
replace if with no real changes madeDear Statalist, I have a variable State with storage type str3. I want to creat a dummy variable, 1…
Subscribe to:
Post Comments (Atom)
0 Response to PPML Fixed Effects
Post a Comment