Dear Stata users,
I’m running a regression to examine how ESG performance affects firms’ leverage ratios across regions. My model includes an interaction between region and ESGscore:
reg leverage i.region##c.ESGscore controls...
In the regression results, Stata omits the interaction for South America, since no firm in that region reports ESG data:
ESGscore | -.0103867 .0058873 -1.76 0.078 -.0219256 .0011521
region#c.ESGscore |
EUROPEAN UNION | .0318336 .0093585 3.40 0.001
NORTH AMERICA | .0235601 .0082043 2.87 0.004
OCEANIA | -.0128253 .0157819 -0.81 0.416
REST OF EUROPE | .0028498 .0096993 0.29 0.769
SOUTH AMERICA | 0 (omitted)
But when I compute marginal effects using:
margins, dydx(ESGscore) over(region)
Stata still reports a marginal effect for South America:
SOUTH AMERICA | -.0001096 .0000604 -1.81 0.070 -.0002281 8.83e-06
I’m trying to understand how margins is producing a dy/dx value for a region that had its interaction term omitted in the main regression so any clarification on how margins handles such omitted interactions when data are missing for a subgroup would be greatly appreciated.
Thank you in advance for your help !
Best regards,
Syrine
I’m running a regression to examine how ESG performance affects firms’ leverage ratios across regions. My model includes an interaction between region and ESGscore:
reg leverage i.region##c.ESGscore controls...
In the regression results, Stata omits the interaction for South America, since no firm in that region reports ESG data:
ESGscore | -.0103867 .0058873 -1.76 0.078 -.0219256 .0011521
region#c.ESGscore |
EUROPEAN UNION | .0318336 .0093585 3.40 0.001
NORTH AMERICA | .0235601 .0082043 2.87 0.004
OCEANIA | -.0128253 .0157819 -0.81 0.416
REST OF EUROPE | .0028498 .0096993 0.29 0.769
SOUTH AMERICA | 0 (omitted)
But when I compute marginal effects using:
margins, dydx(ESGscore) over(region)
Stata still reports a marginal effect for South America:
SOUTH AMERICA | -.0001096 .0000604 -1.81 0.070 -.0002281 8.83e-06
I’m trying to understand how margins is producing a dy/dx value for a region that had its interaction term omitted in the main regression so any clarification on how margins handles such omitted interactions when data are missing for a subgroup would be greatly appreciated.
Thank you in advance for your help !
Best regards,
Syrine

! Thanks.
Comment