Unconditional quantile regression has quickly become popular after being introduced by Firpo, Fortin, and Lemieux (2009, Econometrica 77: 953–973) and is easily implemented using the user-written command rifreg by the same authors. However, including high-dimensional fixed effects in rifreg is quite burdensome and sometimes even impossible. In this article, I show that when the number of fixed effects is large, the computational speed is massively increased by using xtreg rather than regress to fit the unconditional quantile regression models. I also introduce the xtrifreg command, which should be considered a supplement to rifreg. The xtrifreg command has many of the same features as rifreg but can be used to include a large number of fixed effects, to estimate cluster–robust standard errors, and to estimate cluster–bootstrapped standard errors.
CITATION STYLE
Borgen, N. T. (2016). Fixed Effects in Unconditional Quantile Regression. Stata Journal, 16(2), 403–415. https://doi.org/10.1177/1536867X1601600208
Mendeley helps you to discover research relevant for your work.