IDEAS home Printed from https://ideas.repec.org/p/hes/wpaper/0306.html

How to deal with machine learning bias in economic history

Author

Listed:
  • Torben S. D. Johansen

    (University of Southern Denmark)

  • Julius Koschnick

    (University of Southern Denmark)

  • Christian Vedel

    (University of Southern Denmark)

Abstract

Machine learning (ML) has rapidly transformed economic history, lowering costs of digitization, data linkage, and imputation, and making information in historical text usable at scale. This paper offers a practical guide to using these tools well. However, ML tools have also created new problems. Prediction errors are often systematically correlated with covariates of interest, so even highly accurate models can distort and sometimes reverse coefficients, and standard validation cannot detect this. Given that ML tools often perform worse for historical data, this problem is especially severe for the field of economic history. We also identify a solution to this problem. We show that recent debiasing methods can correct such bias for a wide class of applications, using a small, randomly sampled set of expert-coded labels while retaining the efficiency of large-scale prediction. We organize the field with a taxonomy of three ML tasks, survey the literature along it, and indicate where debiasing applies and where validation against proxies remains the only recourse. We close with best-practice guidance on digitization, model choice, and reproducibility.

Suggested Citation

  • Torben S. D. Johansen & Julius Koschnick & Christian Vedel, 2026. "How to deal with machine learning bias in economic history," Working Papers 0306, European Historical Economics Society (EHES).
  • Handle: RePEc:hes:wpaper:0306
    as

    Download full text from publisher

    File URL: https://ehes.org/wp/EHES_306.pdf
    Download Restriction: no
    ---><---

    Other versions of this item:

    References listed on IDEAS

    as
    1. Manuel Trajtenberg, 1990. "A Penny for Your Quotes: Patent Citations and the Value of Innovations," RAND Journal of Economics, The RAND Corporation, vol. 21(1), pages 172-187, Spring.
    2. Philippe Aghion & Antonin Bergeaud & John Van Reenen, 2023. "The Impact of Regulation on Innovation," American Economic Review, American Economic Association, vol. 113(11), pages 2894-2936, November.
    3. Roland G. Fryer & Steven D. Levitt, 2004. "The Causes and Consequences of Distinctively Black Names," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 119(3), pages 767-805.
    4. Ran Abramitzky & Leah Boustan & Katherine Eriksson, 2020. "Do Immigrants Assimilate More Slowly Today Than in the Past?," American Economic Review: Insights, American Economic Association, vol. 2(1), pages 125-141, March.
    5. Fabio Gatti & Joel Huesler, 2025. "Text Analysis Methods for Historical Letters, The case of Michelangelo Buonarrotti," Working Papers 0279, European Historical Economics Society (EHES).
    6. Boeing, Philipp & Brandt, Loren & Dai, Ruochen & Lim, Kevin & Peters, Bettina, 2024. "The anatomy of Chinese innovation: Insights on patent quality and ownership," ZEW Discussion Papers 24-016, ZEW - Leibniz Centre for European Economic Research.
    7. Michael Roach & Wesley M. Cohen, 2013. "Lens or Prism? Patent Citations as a Measure of Knowledge Flows from Public Research," Management Science, INFORMS, vol. 59(2), pages 504-525, October.
    8. repec:hal:pseptp:halshs-04330712 is not listed on IDEAS
    9. Posch, Max & Raz, Itzchak Tzachi, 2025. "Doux Commerce: Markets, Culture, and Cooperation in 1850-1920 U.S," CEPR Discussion Papers 20960, Centre for Economic Policy Research.
    10. Fong, Christian & Tyler, Matthew, 2021. "Machine Learning Predictions as Regression Covariates," Political Analysis, Cambridge University Press, vol. 29(4), pages 467-484, October.
    11. Joris Kok, 2026. "What’s in a (Jewish) name? Identifying Jews in Dutch civil certificates, 1811–1932," Historical Methods: A Journal of Quantitative and Interdisciplinary History, Taylor & Francis Journals, vol. 59(1), pages 55-72, January.
    12. Fabio Gatti & Joel Huesler, 2025. "Text Analysis Methods for Historical Letters, The case of Michelangelo Buonarroti," BAFFI CAREFIN Working Papers 25251, BAFFI CAREFIN, Centre for Applied Research on International Markets Banking Finance and Regulation, Universita' Bocconi, Milano, Italy.
    13. Ali Almelhem & Murat Iyigun & Austin Kennedy & Jared Rubin, 2026. "Enlightenment Ideals and Belief in Progress in the Run-up to the Industrial Revolution: A Textual Analysis," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 141(1), pages 263-314.
    14. Elliott Ash & Daniel L. Chen & Arianna Ornaghi, 2024. "Gender Attitudes in the Judiciary: Evidence from US Circuit Courts," American Economic Journal: Applied Economics, American Economic Association, vol. 16(1), pages 314-350, January.
    15. Elliott Ash & Stephen Hansen, 2023. "Text Algorithms in Economics," Annual Review of Economics, Annual Reviews, vol. 15(1), pages 659-688, September.
    16. Price, Joseph & Buckles, Kasey & Van Leeuwen, Jacob & Riley, Isaac, 2021. "Combining family history and machine learning to link historical records: The Census Tree data set," Explorations in Economic History, Elsevier, vol. 80(C).
    17. Ver'onica Backer-Peral & Vitaly Meursault & Christopher Severen, 2025. "Can LLMs Credibly Transform the Creation of Panel Data from Diverse Historical Tables?," Papers 2505.11599, arXiv.org, revised Jul 2026.
    18. Feigenbaum, James J & Helgertz, Jonas & Price, Joseph, 2025. "Examining the role of training data for supervised methods of automated record linkage: Lessons for best practice in economic history," Explorations in Economic History, Elsevier, vol. 96(C).
    19. Matthew Gentzkow & Jesse M. Shapiro & Matt Taddy, 2019. "Measuring Group Differences in High‐Dimensional Choices: Method and Application to Congressional Speech," Econometrica, Econometric Society, vol. 87(4), pages 1307-1340, July.
    20. Max Posch & Itzchak Tzachi Raz, 2025. "Doux Commerce: Markets, Culture, and Cooperation in 1850-1920 U.S," Discussion Papers 2503, University of Exeter, Department of Economics.
    Full references (including those not matched with items on IDEAS)

    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. Manuel Acosta & Daniel Coronado & Esther Ferrándiz & Manuel Jiménez, 2022. "Effects of knowledge spillovers between competitors on patent quality: what patent citations reveal about a global duopoly," The Journal of Technology Transfer, Springer, vol. 47(5), pages 1451-1487, October.
    2. Ran Abramitzky & Leah Platt Boustan & Dylan Connor, 2020. "Leaving the Enclave: Historical Evidence on Immigrant Mobility from the Industrial Removal Office," Working Papers 2020-35, Princeton University. Economics Department..
    3. Cassiman, Bruno & Veugelers, Reinhilde & Arts, Sam, 2018. "Mind the gap: Capturing value from basic research through combining mobile inventors and partnerships," Research Policy, Elsevier, vol. 47(9), pages 1811-1824.
    4. Leonardo Costa Ribeiro & Glenda Kruss & Gustavo Britto & Américo Tristão Bernardes & Eduardo Motta e Albuquerque, 2014. "A methodology for unveiling global innovation networks: patent citations as clues to cross border knowledge flows," Scientometrics, Springer;Akadémiai Kiadó, vol. 101(1), pages 61-83, October.
    5. Bryan, Kevin A. & Ozcan, Yasin & Sampat, Bhaven, 2020. "In-text patent citations: A user's guide," Research Policy, Elsevier, vol. 49(4).
    6. Ran An & Feng Tian & Yinglei Zhang, 2025. "Individualistic CEOs and financial misstatements," Review of Quantitative Finance and Accounting, Springer, vol. 65(3), pages 929-971, October.
    7. Jonathan H. Ashtor, 2019. "Investigating Cohort Similarity as an Ex Ante Alternative to Patent Forward Citations," Journal of Empirical Legal Studies, John Wiley & Sons, vol. 16(4), pages 848-880, December.
    8. Julius Koschnick, 2025. "Did a feedback mechanism between propositional and prescriptive knowledge create modern growth?," Papers 2512.16587, arXiv.org, revised Jun 2026.
    9. Julie Callaert & Maikel Pellens & Bart Looy, 2014. "Sources of inspiration? Making sense of scientific references in patents," Scientometrics, Springer;Akadémiai Kiadó, vol. 98(3), pages 1617-1629, March.
    10. Samuel Bazzi & Martin Fiszbein & Mesay Gebresilasse, 2020. "Frontier Culture: The Roots and Persistence of “Rugged Individualism” in the United States," Econometrica, Econometric Society, vol. 88(6), pages 2329-2368, November.
    11. Sreevidya Ayyar & Uta Bolt & Eric French & Cormac O'Dea, 2024. "Imagine your life at 25: Gender conformity and later-life outcomes," IFS Working Papers W24/32, Institute for Fiscal Studies.
    12. Ran Abramitzky & Leah Platt Boustan & Dylan Connor, 2020. "Leaving the Enclave: Historical Evidence on Immigrant Mobility from the Industrial Removal Office," NBER Working Papers 27372, National Bureau of Economic Research, Inc.
    13. Wen, Wen & Forman, Chris & Jarvenpaa, Sirkka L, 2022. "The effects of technology standards on complementor innovations: Evidence from the IETF," Research Policy, Elsevier, vol. 51(6).
    14. Fairclough, Ruth & Thelwall, Mike, 2015. "National research impact indicators from Mendeley readers," Journal of Informetrics, Elsevier, vol. 9(4), pages 845-859.
    15. Laura Battaglia & Timothy M. Christensen & Stephen Hansen & Szymon Sacher, 2024. "Inference for regression with variables generated from unstructured data," CeMMAP working papers 10/24, Institute for Fiscal Studies.
    16. David Popp, 2015. "Using Scientific Publications to Evaluate Government R&D Spending: The Case of Energy," NBER Working Papers 21415, National Bureau of Economic Research, Inc.
    17. Pontus Braunerhjelm & Roger Svensson, 2024. "Inventions, commercialization strategies, and knowledge spillovers in SMEs," Small Business Economics, Springer, vol. 63(1), pages 275-297, June.
    18. Anna Bindler & Randi Hjalmarsson & Stephen Machin & Melissa Rubio-Ramos, 2026. "Disparate Treatment of the Irish in 19th Century English Courtrooms," Discussion Papers of DIW Berlin 2152, DIW Berlin, German Institute for Economic Research.
    19. Adam B. Jaffe & Gaétan de Rassenfosse, 2017. "Patent citation data in social science research: Overview and best practices," Journal of the Association for Information Science & Technology, Association for Information Science & Technology, vol. 68(6), pages 1360-1374, June.
    20. Sarah Kaplan & Keyvan Vakili, 2015. "The double-edged sword of recombination in breakthrough innovation," Strategic Management Journal, Wiley Blackwell, vol. 36(10), pages 1435-1457, October.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • N01 - Economic History - - General - - - Development of the Discipline: Historiographical; Sources and Methods
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • C80 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - General
    • C81 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Methodology for Collecting, Estimating, and Organizing Microeconomic Data; Data Access
    • C82 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Methodology for Collecting, Estimating, and Organizing Macroeconomic Data; Data Access
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics

    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:hes:wpaper:0306. 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: Christian Vedel (email available below). General contact details of provider: https://edirc.repec.org/data/ehessea.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.