Hi,
If I estimate a gravity model using PPML from a balanced data panel for a several number of countries, but I would like to focus only in one specific country AAA is it the following correct? :
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)
ppml TRADE EXPORTER_TIME_FE* IMPORTER_TIME_FE* ln_DIST CNTG LANG CLNY RTA if exporter == "AAA" | importer == "AAA", cluster(DIST)
Or should I drop exporters and importers that are different from country AAA?
Thanks!
Related Posts with PPML for one country
propensity score matching with ordered outcome variableHi all, I have a question on propensity score matching for the outcome variable that is not in a con…
Generate date on conditionDear all Please advise how I can replace "extr_date" ONLY for id's where "age2019" is less than 18 …
Model development support: Mixed effects on a quantile regressionHi there, I am wondering the best way to go about accounting for mixed effects of a variable in quan…
Grouping Households in Panel Data Based on IdentifiersHi All, I am trying to follow households over time in a panel dataset. Currently, each individual h…
Applying weights to multilevel hazard analysis using Cox regressionHello everyone, I'm running a Stata code for frailty survival model (multilevel hazard analysis) us…
Subscribe to:
Post Comments (Atom)
0 Response to PPML for one country
Post a Comment