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
graph catplot note overlaps with xaxisWhile creating some graphs I have discovered that a three line note overlaps with xaxis-title and (i…
Problem with dropping observations in longitudinal studyHi! I'm working with data collected in 2002 (round 1), 2007 (round 2) and 2017 (round 3). I want to…
Getting rid of overlapsHello Statlist I am fairly new to stata, and have run into a predicament in my data management. I …
Caluclate Value by using different months and yearsHello, I am currently working on an issue which I think is straight forward but somehow I am not ab…
Problem why time calculationsHey i'm wondering if anyone can help ? When i'm calculating the wait time(wait_time_new) i calcula…
Subscribe to:
Post Comments (Atom)
0 Response to Country-Sector, Country-Year fe
Post a Comment