Hi All,
I am trying to run a bilateral trade gravity model using PPML and trying to control for country-pair fixed effects. I am trying to control for country-pair fixed effects by introducing country-pair dummies in the PPML. I am using the following commands to create the country-pair dummies.
egen pair=group(exporter importer)
tab pair, gen(pair_dum)
However, I am receiving an error message stating that there are too many values. I would really appreciate if you could please help me to solve this problem.
Thanks
Bibhu
Related Posts with PPML Country Pair Fixed Effects
Regressing an interaction of two independent variables, of which one should get lower and one higher, on a dependent variableHi everyone! I want to perform a linear regression with two interacting independent variables but I…
(I NEED HELP) How to manually compute generalized residuals and score for a right-censored Tobit model?Hello, Statalist fellows! I'm finishing my bachelor's thesis, in which I'm running a right-censored…
r(198) programm error: code follows on th same line as open bracesI'm working on two loops, one for downloadig data from a website from stata and the other one for tr…
F-statistic from the joint test of the significance of a particular set of coefficientsHi, I employ panel data by using the code: xtset execid fyear Now i want to reg the following mode…
Repeated anova with changing treatmentsHello, I have some problems with the repeated anova. Basically, I observed certain reactions of pa…
Subscribe to:
Post Comments (Atom)
0 Response to PPML Country Pair Fixed Effects
Post a Comment