IDEAS home Printed from https://ideas.repec.org/p/hhs/osloec/2014_021.html
   My bibliography  Save this paper

Practical Correlation Bias Correction in Two-way Fixed Effects Linear Regression

Author

Listed:
  • Gaure, Simen

    (The Ragnar Frisch Centre for Economic Research, Oslo, Norway)

Abstract

When doing two-way fixed effects OLS estimations, both the variances and covariance of the fixed effects are biased. A formula for a bias correction is known, but in large datasets it involves inverses of impractically large matrices. We detail how to compute the bias correction in this case.

Suggested Citation

  • Gaure, Simen, 2014. "Practical Correlation Bias Correction in Two-way Fixed Effects Linear Regression," Memorandum 21/2014, Oslo University, Department of Economics.
  • Handle: RePEc:hhs:osloec:2014_021
    as

    Download full text from publisher

    File URL: http://www.sv.uio.no/econ/english/research/unpublished-works/working-papers/pdf-files/2014/memo-21-2014.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. David Card & Jörg Heining & Patrick Kline, 2013. "Workplace Heterogeneity and the Rise of West German Wage Inequality," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 128(3), pages 967-1015.
    2. Davidson, Carl & Heyman, Fredrik & Matusz, Steven & Sjöholm, Fredrik & Zhu, Susan Chun, 2014. "Globalization and imperfect labor market sorting," Journal of International Economics, Elsevier, vol. 94(2), pages 177-194.
    3. John M. Abowd & Francis Kramarz & David N. Margolis, 1999. "High Wage Workers and High Wage Firms," Econometrica, Econometric Society, vol. 67(2), pages 251-334, March.
    4. Cristian Bartolucci & Francesco Devicienti, 2012. "Better Workers Move to Better Firms: A Simple Test to Identify Sorting," Carlo Alberto Notebooks 259, Collegio Carlo Alberto.
    5. Mendes, Rute & van den Berg, Gerard J. & Lindeboom, Maarten, 2010. "An empirical assessment of assortative matching in the labor market," Labour Economics, Elsevier, vol. 17(6), pages 919-929, December.
    6. Johannes F. Schmieder, 2009. "GPREG: Stata module to estimate regressions with two dimensional fixed effects," Statistical Software Components S457048, Boston College Department of Economics.
    7. John R. Graham & Si Li & Jiaping Qiu, 2012. "Managerial Attributes and Executive Compensation," The Review of Financial Studies, Society for Financial Studies, vol. 25(1), pages 144-186.
    8. M. J. Andrews & L. Gill & T. Schank & R. Upward, 2008. "High wage workers and low wage firms: negative assortative matching or limited mobility bias?," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 171(3), pages 673-697, June.
    9. Amine Ouazad, 2008. "A2REG: Stata module to estimate models with two fixed effects," Statistical Software Components S456942, Boston College Department of Economics.
    10. Anabela Carneiro & Paulo Guimarães & Pedro Portugal, 2012. "Real Wages and the Business Cycle: Accounting for Worker, Firm, and Job Title Heterogeneity," American Economic Journal: Macroeconomics, American Economic Association, vol. 4(2), pages 133-152, April.
    11. John M. Abowd & Robert H. Creecy & Francis Kramarz, 2002. "Computing Person and Firm Effects Using Linked Longitudinal Employer-Employee Data," Longitudinal Employer-Household Dynamics Technical Papers 2002-06, Center for Economic Studies, U.S. Census Bureau.
    12. Torben Sørensen & Rune Vejlin, 2013. "The importance of worker, firm and match effects in the formation of wages," Empirical Economics, Springer, vol. 45(1), pages 435-464, August.
    13. Gaure, Simen, 2013. "OLS with multiple high dimensional category variables," Computational Statistics & Data Analysis, Elsevier, vol. 66(C), pages 8-18.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Sacarny, Adam, 2018. "Adoption and learning across hospitals: The case of a revenue-generating practice," Journal of Health Economics, Elsevier, vol. 60(C), pages 142-164.
    2. Markussen, Simen & Røed, Knut, 2017. "The market for paid sick leave," Journal of Health Economics, Elsevier, vol. 55(C), pages 244-261.
    3. Paul Anand & Jere R. Behrman & Hai-Anh H. Dang & Sam Jones, 2018. "Inequality of opportunity in education: Accounting for the contributions of Sibs, schools and sorting across East Africa," Working Papers 480, ECINEQ, Society for the Study of Economic Inequality.
    4. David Card & Ana Rute Cardoso & Joerg Heining & Patrick Kline, 2018. "Firms and Labor Market Inequality: Evidence and Some Theory," Journal of Labor Economics, University of Chicago Press, vol. 36(S1), pages 13-70.
    5. Stephane Bonhomme, 2021. "Teams: Heterogeneity, Sorting, and Complementarity," Papers 2102.01802, arXiv.org.
    6. Paul Anand & Jere R. Behrman & Hai‐Anh H. Dang & Sam Jones, 2019. "Does sorting matter for learning inequality?: Evidence from East Africa," WIDER Working Paper Series wp-2019-110, World Institute for Development Economic Research (UNU-WIDER).
    7. Stéphane Bonhomme & Kerstin Holzheu & Thibaut Lamadon & Elena Manresa & Magne Mogstad & Bradley Setzler, 2023. "How Much Should We Trust Estimates of Firm Effects and Worker Sorting?," Journal of Labor Economics, University of Chicago Press, vol. 41(2), pages 291-322.
    8. Stéphane Bonhomme, 2021. "Selection on Welfare Gains: Experimental Evidence from Electricity Plan Choice," Working Papers 2021-15, Becker Friedman Institute for Research In Economics.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Erling Barth & James Davis & Richard B. Freeman, 2018. "Augmenting the Human Capital Earnings Equation with Measures of Where People Work," Journal of Labor Economics, University of Chicago Press, vol. 36(S1), pages 71-97.
    2. Bombardini, Matilde & Orefice, Gianluca & Tito, Maria D., 2019. "Does exporting improve matching? Evidence from French employer-employee data," Journal of International Economics, Elsevier, vol. 117(C), pages 229-241.
    3. Mittag, Nikolas, 2016. "A Simple Method to Estimate Large Fixed Effects Models Applied to Wage Determinants and Matching," IZA Discussion Papers 10447, Institute of Labor Economics (IZA).
    4. Ajay Bhaskarabhatla & Luis Cabral & Deepak Hegde & Thomas Peeters, 2021. "Are Inventors or Firms the Engines of Innovation?," Management Science, INFORMS, vol. 67(6), pages 3899-3920, June.
    5. Stéphane Bonhomme & Kerstin Holzheu & Thibaut Lamadon & Elena Manresa & Magne Mogstad & Bradley Setzler, 2023. "How Much Should We Trust Estimates of Firm Effects and Worker Sorting?," Journal of Labor Economics, University of Chicago Press, vol. 41(2), pages 291-322.
    6. Pedro Portugal & Hugo Reis & Paulo Guimarães & Ana Rute Cardoso, 2023. "What lies behind returns to schooling: the role of labor market sorting and worker heterogeneity," Working Papers w202322, Banco de Portugal, Economics and Research Department.
    7. Benjamin Lochner & Bastian Schulz, 2024. "Firm Productivity, Wages, and Sorting," Journal of Labor Economics, University of Chicago Press, vol. 42(1), pages 85-119.
    8. Andrews, M.J. & Gill, L. & Schank, T. & Upward, R., 2012. "High wage workers match with high wage firms: Clear evidence of the effects of limited mobility bias," Economics Letters, Elsevier, vol. 117(3), pages 824-827.
    9. Torres, Sónia & Portugal, Pedro & Addison, John T. & Guimarães, Paulo, 2018. "The sources of wage variation and the direction of assortative matching: Evidence from a three-way high-dimensional fixed effects regression model," Labour Economics, Elsevier, vol. 54(C), pages 47-60.
    10. Nikolas Mittag, 2015. "A Simple Method to Estimate Large Fixed Effects Models Applied to Wage Determinants and Matching," CERGE-EI Working Papers wp532, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
    11. Jae Song & David J Price & Fatih Guvenen & Nicholas Bloom & Till von Wachter, 2019. "Firming Up Inequality," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 134(1), pages 1-50.
    12. John M. Abowd & Francis Kramarz & Sébastien Pérez-Duarte & Ian M. Schmutte, 2018. "Sorting Between and Within Industries: A Testable Model of Assortative Matching," Annals of Economics and Statistics, GENES, issue 129, pages 1-32.
    13. Christopher Taber & Rune Vejlin, 2020. "Estimation of a Roy/Search/Compensating Differential Model of the Labor Market," Econometrica, Econometric Society, vol. 88(3), pages 1031-1069, May.
    14. Battisti, Michele, 2017. "High wage workers and high wage peers," Labour Economics, Elsevier, vol. 46(C), pages 47-63.
    15. Engbom, Niklas & Moser, Christian & Sauermann, Jan, 2023. "Firm pay dynamics," Journal of Econometrics, Elsevier, vol. 233(2), pages 396-423.
    16. Katarína Borovičková & Robert Shimer, 2017. "High Wage Workers Work for High Wage Firms," NBER Working Papers 24074, National Bureau of Economic Research, Inc.
    17. Jorge Alvarez & Felipe Benguria & Niklas Engbom & Christian Moser, 2018. "Firms and the Decline in Earnings Inequality in Brazil," American Economic Journal: Macroeconomics, American Economic Association, vol. 10(1), pages 149-189, January.
    18. Cristian Bartolucci & Francesco Devicienti & Ignacio Monzón, 2018. "Identifying Sorting in Practice," American Economic Journal: Applied Economics, American Economic Association, vol. 10(4), pages 408-438, October.
    19. Huitfeldt, Ingrid & Kostøl, Andreas R. & Nimczik, Jan & Weber, Andrea, 2023. "Internal labor markets: A worker flow approach," Journal of Econometrics, Elsevier, vol. 233(2), pages 661-688.
    20. Woodcock, Simon D., 2023. "The determinants of displaced workers’ wages: Sorting, matching, selection, and the Hartz reforms," Journal of Econometrics, Elsevier, vol. 233(2), pages 568-595.

    More about this item

    Keywords

    Limited mobility bias; Two way fuxed effects; Linear regression;
    All these keywords.

    JEL classification:

    • A19 - General Economics and Teaching - - General Economics - - - Other
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • C33 - Mathematical and Quantitative Methods - - Multiple or Simultaneous Equation Models; Multiple Variables - - - Models with Panel Data; Spatio-temporal Models
    • C50 - Mathematical and Quantitative Methods - - Econometric Modeling - - - General
    • C87 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Econometric Software

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:hhs:osloec:2014_021. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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: Mari Strønstad Øverås (email available below). General contact details of provider: https://edirc.repec.org/data/souiono.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.