Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Industry and country fixed effects

    How to add country fixed effects and industry fixed effects in a panel model?

  • #2
    Well I assume you have a random effects model, like

    Code:
    xtreg var1 var2, re
    Then simply add the cluster variable with the i.prefix like

    Code:
    xtreg var1 var2 i.country i.industry, re
    Best wishes

    Stata 18.0 MP | ORCID | Google Scholar

    Comment

    Working...
    X