The Stata Command Felsdvreg to Fit a Linear Model with Two High-Dimensional Fixed Effects
Open accessThe DOI matches its Crossref record.
Abstract
This article proposes a memory-saving decomposition of the design matrix to facilitate the estimation of a linear model with two high-dimensional fixed effects. A common way to fit such a model is to take into account one of the effects by including dummy variables and to sweep out the other effect by the within transformation (fixed-effects transformation). If the number of panel units is high, creating and storing the dummy variables can involve prohibitively large computer-memory requirements. The memory-saving procedure to set up the moment matrices for estimation presented in this article can reduce the memory requirements considerably. The companion Stata ado-file felsdvreg implements the estimation method, takes care of identification issues, and provides useful summary statistics.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cited by
Common Errors: How to (and Not to) Control for Unobserved Heterogeneity
Gormley, T. A., & Matsa, D. A. (2014) · Review of Financial Studies · doi:10.1093/rfs/hht047 · Cited by 1,151
Fast Poisson estimation with high-dimensional fixed effects
Correia, S., Guimarães, P., & Zylkin, T. (2020) · The Stata Journal: Promoting communications on statistics and Stata · doi:10.1177/1536867x20909691 · Cited by 1,007
Managerial Attributes and Executive Compensation
Graham, J. R., Li, S., & Qiu, J. (2012) · Review of Financial Studies · doi:10.1093/rfs/hhr076 · Cited by 549
A Simple Feasible Procedure to fit Models with High-dimensional Fixed Effects
Guimarães, P., & Portugal, P. (2010) · The Stata Journal: Promoting communications on statistics and Stata · doi:10.1177/1536867x1101000406 · Cited by 430
A community college instructor like me: Race and ethnicity interactions in the classroom
Fairlie, R. W., Hoffmann, F., & Oreopoulos, P. (2014) · American Economic Review · doi:10.1257/aer.104.8.2567 · Cited by 274
“Cornelissen (2008) has written a Stata-routine based on these algorithms.”
Balsvik, R. (2011) · Review of Economics and Statistics · doi:10.1162/rest_a_00061 · Cited by 268
What Happens When Firms Patent? New Evidence from U.S. Economic Census Data
Balasubramanian, N., & Sivadasan, J. (2011) · Review of Economics and Statistics · doi:10.1162/rest_a_00058 · Cited by 205
“Hence, we were constrained to clustering standard errors at the firm level for these regressions.(23) The results, presented in Table 4B, confirm the findings in Table 4A.”
MethodResultManagerial Attributes and Executive Compensation
Graham, J., Li, S., & Qiu, J. (2011) · National Bureau of Economic Research · doi:10.3386/w17368 · Cited by 202
On the direct and indirect real effects of credit supply shocks
Alfaro, L., García-Santana, M., & Moral-Benito, E. (2021) · Journal of Financial Economics · doi:10.1016/j.jfineco.2020.09.004 · Cited by 181
“We find that weak banks (3)Given the sparsity of typical matrices involved in estimating high-dimensional fixed effects, the use of efficient algorithms for matrix inversion and storage is fundamental to the matched employer-employee techniques used here (see, for example, Cornelissen (2008)).”
BackgroundMethodInfluentialHuang, N., Burtch, G., Hong, Y., & Polman, E. (2016) · Journal of Consumer Psychology · doi:10.1016/j.jcps.2016.03.001 · Cited by 175
“Following the procedure proposed by Cornelissen (2008), we employed the following econometric specification, which corresponds to the three-way fixed effects models with interactions and time dummies (see final column of Table 2):”
MethodOnline Course-taking and Student Outcomes in California Community Colleges
Hart, C. M. D., Friedmann, E., & Hill, M. (2018) · Education Finance and Policy · doi:10.1162/edfp_a_00218 · Cited by 136
“We use the felsdvreg command in Stata for these models (Cornelissen 2008). the row label.”
BackgroundMethod
Metadata
- Authors
- Cornelissen, T.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2008-06
- Volume
- 8
- Issue
- 2
- Pages
- 170-189
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W1588928292
- Cited by
- 137
- References
- 0
- FWCI
- 19.72
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.