EconPapers    
Economics at your fingertips  
 

Long-term forecasting in asset pricing: Machine learning models’ sensitivity to macroeconomic shifts and firm-specific factors

Yihe Qian and Yang Zhang

The North American Journal of Economics and Finance, 2025, vol. 78, issue C

Abstract: This study investigates the long-term forecasting capabilities of five prominent machine learning models—decision tree, random forest, gradient boosted regression trees, support vector machines, and neural networks—within the domain of asset pricing. Applying these models to S&P 500 constituent stocks from 2000 to 2023, we examine their predictive performance over extended horizons. Our findings indicate that Gradient Boosting and Random Forest models stand out for their superior performance, though their predictive accuracy exhibits sensitivity to the prevailing economic stability. Furthermore, these models show enhanced effectiveness in forecasting returns for larger companies, with their performance demonstrating significant variation across different industry sectors. A notable decline in accuracy with the increase in forecasting horizons underscores the challenges inherent in long-term financial prediction. Our results highlight the substantial impact of macroeconomic factors, particularly Consumer Sentiment and Net Exports, whose influences fluctuate over time. Practically, machine learning models, especially Gradient Boosting and Random Forest, are shown to consistently surpass the benchmark S&P 500 index in portfolio construction scenarios. We show the importance of economic stability, firm size, and industry sector context, providing novel insights for the strategic application of machine learning in asset pricing and the formulation of investment strategies suited to diverse market conditions.

Keywords: Machine learning; Asset pricing; Long-term forecasting; Gradient boosting; Random forest (search for similar items in EconPapers)
JEL-codes: C52 C55 C58 G0 G1 G17 (search for similar items in EconPapers)
Date: 2025
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S1062940825000634
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:ecofin:v:78:y:2025:i:c:s1062940825000634

DOI: 10.1016/j.najef.2025.102423

Access Statistics for this article

The North American Journal of Economics and Finance is currently edited by Hamid Beladi

More articles in The North American Journal of Economics and Finance from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-07-12
Handle: RePEc:eee:ecofin:v:78:y:2025:i:c:s1062940825000634