Regression model years fix effects + robust regression

Hey everybody,

is it possible to create a robust regression in R with consideration of the years-fix-effects ? I cant find anything like that but i need it for my Thesis

Thanks for helping me

The fixest package is great for fixed effects and has lots of standard error adjustments. This post gives a good summary of lots of the options but the basic syntax looks something like this.


feols(outcome ~ treatment | fixedeffects, data, vcov = "adjustmentofyourchoice") 

Look at the rlm() function in the MASS package. Nothing special is needed for the year fixed effects; just turn year into a factor.

PS: I don't believe the fixest package does robust regression.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.