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
Individual level data, Clustering Standard Error at city level, IV regression need syntax helpSay your data is at individual level, instrument and independent variable at city level, data on 2 y…
MICE for single imputationHello, I am wondering if you can use multiple imputation for chained equation (MICE) to just perfor…
Plot interaction effect after stcox with tvc?Since proportional hazards assumption is violated, I use tvc option to estimate my model, which surp…
Stata code wighted census data for PCAHello all, I am new to the Stata Community and working on the 2016 Canadian census of population mi…
Global macrosI was looking at some guide and saw them using the commands cd, global datadir, global dirresults. I…
Subscribe to:
Post Comments (Atom)
0 Response to PPML Fixed Effects
Post a Comment