Hi,
i have a question about my regression, I found some threads about it but still some questionmarks left:
I like to have a fixed effect regression with year and firm-fixed effects but unfortunately I don't get it until now.
Currently as I understand it correctly I only have year-fixed effets included and if I want to have year and firm-fixed effects I need to include i.firm_code or does it belong to the brackets?
I used xtset upfront with the firm_code and year
Many thanks!
i have a question about my regression, I found some threads about it but still some questionmarks left:
I like to have a fixed effect regression with year and firm-fixed effects but unfortunately I don't get it until now.
Code:
xtreg f. em_intensity environmental_metric firm_size roa leverage firm_value cap_intensity sales_growth_win ceo_duality board_size board_independence prc_busy3 i.year, fe vce(robust)
I used xtset upfront with the firm_code and year
Code:
xtset firm_code_num year
Comment