fevc: Leave-Out Bias-Corrected Variance Decompositions in Stata
Johannes Schmieder ()
Additional contact information
Johannes Schmieder: Boston University
No 19053, IZA Discussion Papers from IZA Network @ LISER
Abstract:
Variance decompositions with worker and firm fixed effects measure heterogeneity and sorting, but estimation noise biases plug-in estimates. This article introduces fevc, a Stata command implementing the leave-out bias correction of Kline, Saggio, and Sølvsten (2020). It reports corrected worker and firm variances, their covariance, and the variance of their sum, with choices over deletion units, controls, and population weights. It also reports standard errors for projections of fixed effects on observed characteristics. A source-only Mata backend provides portability; a parallel Rust backend handles large datasets. Randomized calculations report Monte Carlo standard errors. In public Italian social-security data, the correction halves estimated firm-effect variance and reverses the worker–firm covariance’s sign. In synthetic benchmarks with 6.4 million observations and 28 threads, Rust is 1.3–3.5 times as fast as the KSS Matlab package; under match deletion, measured peak memory is about 30 percent of Matlab’s.
Keywords: fevc; two-way fixed effects; variance decomposition; leave-out estimation; limited-mobility bias; Mata; Rust; randomized linear algebra (search for similar items in EconPapers)
JEL-codes: C13 C23 C55 J31 J62 (search for similar items in EconPapers)
Date: 2026-10
References: Add references at CitEc
Citations:
Downloads: (external link)
https://docs.iza.org/dp19053.pdf (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:iza:izadps:dp19053
Access Statistics for this paper
More papers in IZA Discussion Papers from IZA Network @ LISER Contact information at EDIRC.
Bibliographic data for series maintained by Mark Fallak ().