Code:
egen pairid = group(ReporterName PartnerName) tab pairid, gen(pair_) reg lnexport lndist contig comlang_off comcol fta_wto EUtrade Brexit EUBrexit year_* pair_*, robust cluster(distw)
Code:
ppml export lndist contig comlang_off comcol fta_wto Brexit EUtrade BrexitEU year_* pair_*, cluster(distw)
Code:
xtpqml export lndist contig comlang_off comcol fta_wto Brexit EUtrade BrexitEU year_*, fe i(pairid) cluster(distw)
The problem is that it drops variables of interest. Should I cluster this by pairid instead?
Sum up:
1) how do I run a quicker version of OLS that takes country pair into consideration?
2) How do I run a quicker version of PPML correctly?
Best regards,
John
0 Response to OLS, PPML, xtpoisson, xtqpml
Post a Comment