S&P 500 stock selection using machine learning classifiers: A look into the changing role of factors
Antonio Caparrini,
Javier Arroyo and
Jordi Escayola Mansilla
Research in International Business and Finance, 2024, vol. 70, issue PA
Abstract:
This study examines the profitability of using machine learning algorithms to select a subset of stocks over the S&P 500 using factors as features. We use tree-based algorithms: Decision Tree, Random Forest, and XGBoost for their white model capabilities, allowing feature importances extraction. We defined a backtest to train the models with recent data and rebalance the portfolio. Despite incurring more risks, the selected assets of the portfolio outperform the index by using machine learning. Furthermore, we show that the feature importance that determines the best-performing assets changes at different times. Such models providing the evolution of the importance of factors can provide profitability insights while keeping explainability.
Keywords: Stock selection; Machine learning; XGBoost; Factor investing; Backtesting; Explainability (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0275531924001296
Full text for ScienceDirect subscribers only
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:eee:riibaf:v:70:y:2024:i:pa:s0275531924001296
DOI: 10.1016/j.ribaf.2024.102336
Access Statistics for this article
Research in International Business and Finance is currently edited by T. Lagoarde Segot
More articles in Research in International Business and Finance from Elsevier
Bibliographic data for series maintained by Catherine Liu ().