Hi statalist! I have some question related to running regression of panel data with fixed effect, I really hope you guys could help me with:
1/ What is the different between these command?
xtreg Y X, fe vce(cluster FIRM)
xtreg Y X i.FIRM, fe vce(cluster FIRM)
xtreg Y X i.TIME i.FIRM, fe vce(cluster FIRM)
Is [xtreg Y X, fe] only control for firm fixed effect?
2/ My panel data is strongly balance, it has 26 FIRMS and 24 quarters (from 2017Q1 to 2022Q4).
+ If I want to control for both time and firm fixed effect, which xtreg command is suitable?
+ The mean firm SIZE=6. How can I separate regression between large firm (Size >6) and small firm (Size =<6)?
Thank you in advance.
1/ What is the different between these command?
xtreg Y X, fe vce(cluster FIRM)
xtreg Y X i.FIRM, fe vce(cluster FIRM)
xtreg Y X i.TIME i.FIRM, fe vce(cluster FIRM)
Is [xtreg Y X, fe] only control for firm fixed effect?
2/ My panel data is strongly balance, it has 26 FIRMS and 24 quarters (from 2017Q1 to 2022Q4).
+ If I want to control for both time and firm fixed effect, which xtreg command is suitable?
+ The mean firm SIZE=6. How can I separate regression between large firm (Size >6) and small firm (Size =<6)?
Thank you in advance.
Comment