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. 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.
    5. Cristian Bartolucci & Francesco Devicienti, 2012. "Better Workers Move to Better Firms: A Simple Test to Identify Sorting," Carlo Alberto Notebooks 259, Collegio Carlo Alberto.
    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 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.
    8. 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.
    9. 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.
    10. 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.
    11. Amine Ouazad, 2008. "A2REG: Stata module to estimate models with two fixed effects," Statistical Software Components S456942, Boston College Department of Economics.
    12. Gaure, Simen, 2013. "OLS with multiple high dimensional category variables," Computational Statistics & Data Analysis, Elsevier, vol. 66(C), pages 8-18.
    13. 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.
    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. Markussen, Simen & Røed, Knut, 2017. "The market for paid sick leave," Journal of Health Economics, Elsevier, vol. 55(C), pages 244-261.
    2. 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.
    3. 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).
    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. 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. 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.
    7. 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.
    8. Stephane Bonhomme, 2021. "Teams: Heterogeneity, Sorting, and Complementarity," Papers 2102.01802, arXiv.org.

    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. Benjamin Lochner & Bastian Schulz, 2024. "Firm Productivity, Wages, and Sorting," Journal of Labor Economics, University of Chicago Press, vol. 42(1), pages 85-119.
    6. 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.
    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. 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. 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.
    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. Mario Macis & Fabiano Schivardi, 2016. "Exports and Wages: Rent Sharing, Workforce Composition, or Returns to Skills?," Journal of Labor Economics, University of Chicago Press, vol. 34(4), pages 945-978.
    13. 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.
    14. Rasmus Lentz & Jean Marc Robin & Suphanit Piyapromdee, 2018. "On Worker and Firm Heterogeneity in Wages and Employment Mobility: Evidence from Danish Register Data," 2018 Meeting Papers 469, Society for Economic Dynamics.
    15. Bassi, Vittorio & Nyshadham, Anant & Tamayo, Jorge & Adhvaryu, Achyuta, 2020. "No Line Left Behind: Assortative Matching Inside the Firm," CEPR Discussion Papers 14554, C.E.P.R. Discussion Papers.
    16. Cho, Chanho & Halford, Joseph T. & Hsu, Scott & Ng, Lilian, 2016. "Do managers matter for corporate innovation?," Journal of Corporate Finance, Elsevier, vol. 36(C), pages 206-229.
    17. 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.
    18. Fanfani, Bernardo, 2022. "Tastes for discrimination in monopsonistic labour markets," Labour Economics, Elsevier, vol. 75(C).
    19. Bastien Drut & Richard Duhautois, 2017. "Assortative Matching Using Soccer Data," Journal of Sports Economics, , vol. 18(5), pages 431-447, June.
    20. Morchio, Iacopo & Moser, Christian, 2018. "The Gender Pay Gap: Micro Sources and Macro Consequences," MPRA Paper 99276, University Library of Munich, Germany, revised 24 Mar 2020.

    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.