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
Cumulative incidence proportions by covariateHi Stata forum, I would like to estimate the cumulative incidence proportions with a competing risk …
Destring and generate hundreds of variables with an underscore in the nameHi I have a question on how to destring and generate hundreds of variables that have a similar name…
Matched pair identifierDear Statalisters, I have a dataset which matches romantic partners in the following way: Code: c…
using xtreg for decompositionHello, We have the following dataset: A limited panel in which an establishment is found in the sam…
Structural Break Tests with an unknown date - Ambiguous information given in STATA output.Hello, I am running a structural break test with an unknown data (command in STATA: estat sbsingle)…
Subscribe to:
Post Comments (Atom)
0 Response to Country-Sector, Country-Year fe
Post a Comment