Please use this identifier to cite or link to this item: https://hdl.handle.net/10419/340172 
Year of Publication: 
2026
Series/Report no.: 
IU Discussion Papers - Human Resources No. 4 (März 2026)
Publisher: 
IU Internationale Hochschule, Erfurt
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.
Subjects: 
Gender Pay Gap
Pay Transparency
OLS Regression
Random Forest
Wage Discrimination
Unexplained Wage Gap
Adjusted Gender Pay Gap
JEL: 
J16
J31
J71
M52
C13
C45
Persistent Identifier of the first edition: 
Document Type: 
Working Paper

Files in This Item:
File
Size





Items in EconStor are protected by copyright, with all rights reserved, unless otherwise indicated.