IDEAS home Printed from https://ideas.repec.org/p/zbw/iubhhr/340172.html

Assessing wage inequality with machine learning: Approaches for measuring the adjusted gender pay gap

Author

Listed:
  • Plüghan, Oliver
  • Rehfeld, Katharina-Maria

Abstract

This paper investigates the methodological performance of Ordinary Least Squares (OLS) regression and Random Forest machine learning algorithms in measuring adjusted gender pay gaps. The research is motivated by the European Union's Pay Transparency Directive (2023/970), which mandates that employers report adjusted gender pay gaps. While Oaxaca-Blinder Decomposition and the underlying OLS regression have served as the industry standard for gap estimation, this paper examines whether machine learning approaches can better capture complex, nonlinear compensation relationships. Using synthetic datasets with controlled discrimination parameters, the study compares both methods across two sample sizes and multiple discrimination scenarios. Key findings demonstrate that both methods successfully distinguish between occupational segregation and direct wage discrimination at large sample sizes. However, at smaller sample sizes, Random Forest exhibits substantial instability whereas OLS remains slightly more stable. A methodological adjustment, training Random Forest on the larger population before applying predictions to subsets substantially improves small-sample performance. The paper concludes that OLS regression remains preferable for formal regulatory compliance due to its interpretability and stability, while Random Forest can serve as a complementary validation tool for largescale analysis.

Suggested Citation

  • Plüghan, Oliver & Rehfeld, Katharina-Maria, 2026. "Assessing wage inequality with machine learning: Approaches for measuring the adjusted gender pay gap," IU Discussion Papers - Human Resources 4 (März 2026), IU International University of Applied Sciences.
  • Handle: RePEc:zbw:iubhhr:340172
    DOI: 10.56250/4118
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/340172/1/1969110317.pdf
    Download Restriction: no

    File URL: https://libkey.io/10.56250/4118?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Marianna Baggio & Ginevra Marandola, 2023. "Employees’ reaction to gender pay transparency: an online experiment," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 38(113), pages 161-188.
    2. ., 2022. "Introduction to The Behavioral Economics of John Maynard Keynes," Chapters, in: The Behavioral Economics of John Maynard Keynes, chapter 1, pages 1-25, Edward Elgar Publishing.
    3. Francine D. Blau & Lawrence M. Kahn, 2017. "The Gender Wage Gap: Extent, Trends, and Explanations," Journal of Economic Literature, American Economic Association, vol. 55(3), pages 789-865, September.
    4. Martha Ceballos & Annick Masselot & Richard Watt, 2022. "Pay Transparency across Countries and Legal Systems," CESifo Forum, ifo Institute - Leibniz Institute for Economic Research at the University of Munich, vol. 23(02), pages 3-11, March.
    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. Masayuki MORIKAWA, 2025. "Female Workers and Firms’ Productivity and Wages," Discussion papers 25008, Research Institute of Economy, Trade and Industry (RIETI).
    2. Joanna Tyrowicz & Lucas van der Velde, 2017. "When the opportunity knocks: large structural shocks and gender wage gaps," GRAPE Working Papers 2, GRAPE Group for Research in Applied Economics.
    3. Katrin Huber & Geske Rolvering, 2023. "Public child care and mothers’ career trajectories," Working Papers 228, Bavarian Graduate Program in Economics (BGPE).
    4. Amano-Patiño, N. & Baron, T. & Xiao, P., 2020. "Human Capital Accumulation, Equilibrium Wage-Setting and the Life-Cycle Gender Pay Gap," Cambridge Working Papers in Economics 2010, Faculty of Economics, University of Cambridge.
    5. Dreber, Anna & Heikensten, Emma & Säve-Söderbergh, Jenny, 2022. "Why do women ask for less?," Labour Economics, Elsevier, vol. 78(C).
    6. Masso, Jaan & Meriküll, Jaanika & Roosaar, Liis & Rõigas, Kärt & Paas, Tiiu, 2025. "What determines the gender pay gap in academia?," Labour Economics, Elsevier, vol. 95(C).
    7. Manuel Bagues & Natalia Zinovyeva, 2025. "Gender Segregation in Childhood Friendships and the Gender-Equality Paradox," RFBerlin Discussion Paper Series 2538, ROCKWOOL Foundation Berlin (RFBerlin).
    8. Genz, Sabrina & Schnabel, Claus, 2023. "Digitalization is not gender-neutral," Economics Letters, Elsevier, vol. 230(C).
    9. Rania Gihleb & Osnat Lifshitz, 2022. "Dynamic Effects of Educational Assortative Mating on Labor Supply," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 46, pages 302-327, October.
    10. Brenøe, Anne Ardila & Eyibak, Zeynep & Heursen, Lea & Ranehill, Eva & Weber, Roberto A., 2024. "Gender Identity and Economic Decision Making," IZA Discussion Papers 17564, IZA Network @ LISER.
    11. Christian Pfeifer & Gesine Stephan, 2019. "Why women do not ask: gender differences in fairness perceptions of own wages and subsequent wage growth," Cambridge Journal of Economics, Cambridge Political Economy Society, vol. 43(2), pages 295-310.
    12. Kelley Sarussi & Thomas Walstrum, 2019. "Education and the Evolution of Earnings Across Population Groups Since 2000," Profitwise, Federal Reserve Bank of Chicago, issue 5, pages 1-13.
    13. Lorenzo Ductor & Sanjeev Goyal & Anja Prummer, 2018. "Gender & Collaboration," Working Papers 856, Queen Mary University of London, School of Economics and Finance.
    14. Benjamin Bennett & Isil Erel & Léa H. Stern & Zexi Wang, 2020. "Paid Leave Pays Off: The Effects of Paid Family Leave on Firm Performance," NBER Working Papers 27788, National Bureau of Economic Research, Inc.
    15. Katie Meara & Francesco Pastore & Allan Webster, 2020. "The gender pay gap in the USA: a matching study," Journal of Population Economics, Springer;European Society for Population Economics, vol. 33(1), pages 271-305, January.
    16. Kessel, Dany & Mollerstrom, Johanna & van Veldhuizen, Roel, 2021. "Can simple advice eliminate the gender gap in willingness to compete?," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 138, pages 1-1.
    17. Asadullah, M. Niaz & Xiao, Saizi, 2020. "The changing pattern of wage returns to education in post-reform China," Structural Change and Economic Dynamics, Elsevier, vol. 53(C), pages 137-148.
    18. Oliver Fabel & Sandra Mauser & Yingchao Zhang, 2024. "Performance contests and merit pay with empathic employees," Managerial and Decision Economics, John Wiley & Sons, Ltd., vol. 45(1), pages 353-372, January.
    19. Zhang, Cheng & Weng, Xiyan, 2024. "Can broadband infrastructure construction promote equality of opportunity? Evidence from a quasi-natural experiment in China☆," Journal of Asian Economics, Elsevier, vol. 93(C).
    20. Urs Fischbacher & Dorothea Kübler & Robert Stüber, 2024. "Betting on Diversity—Occupational Segregation and Gender Stereotypes," Management Science, INFORMS, vol. 70(8), pages 5502-5516, August.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • J16 - Labor and Demographic Economics - - Demographic Economics - - - Economics of Gender; Non-labor Discrimination
    • J31 - Labor and Demographic Economics - - Wages, Compensation, and Labor Costs - - - Wage Level and Structure; Wage Differentials
    • J71 - Labor and Demographic Economics - - Labor Discrimination - - - Hiring and Firing
    • M52 - Business Administration and Business Economics; Marketing; Accounting; Personnel Economics - - Personnel Economics - - - Compensation and Compensation Methods and Their Effects
    • C13 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Estimation: General
    • 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:zbw:iubhhr:340172. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://www.iu.de/forschung/ .

    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.