OLS with multiple high dimensional category variables

Lenke til artikkel:



Gaure, Simen




Computational Statistics and Data Analysis

Vol 66, 8-18

Sammendrag (engelsk)

A new algorithm is proposed for OLS estimation of linear models with multiple high-dimensional category variables. It is a generalization of the within transformation to arbitrary number of category variables. The approach, unlike other fast methods for solving such problems, provides a covariance matrix for the remaining coefficients. The article also sets out a method for solving the resulting sparse system, and the new scheme is shown, by some examples, to be comparable in computational efficiency to other fast methods. The method is also useful for transforming away groups of pure control dummies. A parallelized implementation of the proposed method has been made available as an R-package lfe on CRAN.


Alternating projections; Fixed effect estimator; Kaczmarz method; Two-way fixed effects; Multiple fixed effects; High dimensional category variables; Panel data

Prosjekt info:

Oppdragsgiver: Norges forskningsråd
Oppdragsgivers prosjektnr.: 202513
Frisch prosjekt: 1172 - Social Insurance and Labor Market Inclusion in Norway