Dear all,
I'm running a panel data regression, for 12 countries and 13 firms over 10 years. I have 3013 observations. I created the panel typing: egen(Country_Sector) and then xtset Country_Sector Year. I run a country_sector fe regression with time fixed effects. I want to add sector-year FE, but how do I do this? Now my regression looks like:
xtreg dependent independent controlvar i.year,fe cluster(country)
Is this then the correct way to add sector_year fe?
xtreg dependent independent controlvar i.Sector_year,fe cluster(country)
Kind regards,
Joris
Related Posts with Country-Sector, Country-Year fe
Generating Probabilities from RangeHi everyone, I have question regarding how to calculate probabilities from data. My idea is to crea…
Parallel trends assumption with continuous treatment variable - DiDHi, I have survey data on individual firms from 2008-2017. I want to test how a reform that happene…
Identify observations appeared in the previous yearDear All, I find this question here. The data set is Code: * Example generated by -dataex-. To inst…
Pooling dataHi everyone. I have a question on how pooling data in stata. I am working with a repeated cross-sect…
ArdlHello STATA users, what technics can be used to fix heteroskedasticity in ARDL model besides droppin…
Subscribe to:
Post Comments (Atom)
0 Response to Country-Sector, Country-Year fe
Post a Comment