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
mvprobit or cmp?Dear STATA Users, I am trying to estimate a multivariate probit for a given outcome that would mode…
Reshape commandHello everybody I'd like to reshape my data from wide to long format but as the name of my variable…
Sample size for one proportion (prevalence in cross-sectional design)Hello everybody, and thank you in advance. I'm trying to calculate a sample size for a cross-sectio…
Predicted probabilities out of range after HeckmanDear all, I would like to know your opinion on the following issue I am encountering: I am running …
The Number of Iterations for Convergence in mlI am writing a programme for the ml command. I found that even if a slight difference in my codes ca…
Subscribe to:
Post Comments (Atom)
0 Response to PPML Fixed Effects
Post a Comment