IDEAS home Printed from https://ideas.repec.org/p/iza/izadps/dp19053.html

fevc: Leave-Out Bias-Corrected Variance Decompositions in Stata

Author

Listed:
  • Schmieder, Johannes

    (Boston University)

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.

Suggested Citation

  • Schmieder, Johannes, 2026. "fevc: Leave-Out Bias-Corrected Variance Decompositions in Stata," IZA Discussion Papers 19053, IZA Network @ LISER.
  • Handle: RePEc:iza:izadps:dp19053
    as

    Download full text from publisher

    File URL: https://docs.iza.org/dp19053.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • J31 - Labor and Demographic Economics - - Wages, Compensation, and Labor Costs - - - Wage Level and Structure; Wage Differentials
    • J62 - Labor and Demographic Economics - - Mobility, Unemployment, Vacancies, and Immigrant Workers - - - Job, Occupational and Intergenerational Mobility; Promotion

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:iza:izadps:dp19053. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Mark Fallak (email available below). General contact details of provider: https://edirc.repec.org/data/izaaalu.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.