Announcement

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

  • Help csdid2/xthdidregress

    Hi there!

    I am analyzing panel data of companies from 8 individual countries. I include various company-specific covariates to condition on parallel trends. I also want to include macroeconomic variables, as these heavily impact my outcome variable. However, the values of these macroeconomic variables are repeatedly identical for all companies within the same cohort in each of the observation years. This results in the cohorts being omitted due to no within-cohort variation. How can I control for the defined macroeconomic variables other than "just" adding them as a control in the model?

    Additionally, what command is more suitable to use? csdid2 or xthdidregress? When I'm trying to use csdid2, stata starts computing the ATET's, however, suddenly stops without presenting any of the results.

    I appreciate the help, Thank you!
Working...
X