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
What is intreg? What is the theory behind it?The UCLA IDRE website has an article on -intreg- to estimate models with interval dependent variable…
Export multiple xtabond2 resultsHello Statalist users, I need help with exporting multiple xtbond2 estimations along with their pos…
Diff-in-diff graphI am currently running a diff-in-diff analysis on stop and frisk policies in new york city using New…
How to create groups of observations based on shared characteristics and create variables around that.So I'm doing some work with election data. The data I have is formatted like this: Code: * Example…
Testing the CAPM using the Fama-MacBeth (1973) ApproachDear all, This is a purely statistical question, and has nothing to do with the programming languag…
Subscribe to:
Post Comments (Atom)
0 Response to Country-Sector, Country-Year fe
Post a Comment