Feasible Estimation of the Two-Way Fixed Effect Model

Implemented is an algorithm to estimate the two-way fixed effect linear model. The coefficients of interest are computed using the residuals from the projection of all variables on the two sets of fixed effects. Our algorithm has three desirable features. First, it manages memory and computational resources efficiently which speeds up the computation of the estimates. Second, it allows the researcher to estimate multiple specifications using the same set of fixed effects at a very low computational cost. Third, the asymptotic variance of the parameters of interest can be consistently estimated using standard routines on the residualized data. Somaini P., Wolak F. A. (2016) Arellano, M. (1987) < https://ideas.repec.org/a/bla/obuest/v49y1987i4p431-34.html>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.0 by Paulo Somaini, a year ago


Browse source code at https://github.com/cran/xtreg2way

Authors: Paulo Somaini [aut, cre, cph] , Frank Wolak [aut] , Brian Chivers [aut]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports pracma, Matrix, stats, MASS

Suggests knitr, rmarkdown, testthat

See at CRAN