IDEAS home Printed from https://ideas.repec.org/a/col/000520/023322.html

Comparative analysis between traditional momentum and machine learning (random forest): evidence from the S&P 500 (2000-2024)

Author

Listed:
  • Carlos Palomino Selem

    (Universidad Nacional Mayor de San Marcos)

  • Ruth Milagros Delgado Yana

    (Universidad ESAN)

Abstract

Introduction: This study examines the validity and persistence of the momentum effect in the S&P 500 index (2000–2024), a developed equity market with high informational efficiency. It analyzes whether the empirical evidence supports the continuity of momentum across different time horizons. Objective: To compare the performance of traditional momentum (TM) with a supervised learning model based on Random Forest (RF), assessing predictive ability, risk-adjusted performance, and out-of-sample stability. Methodology: Long–short TM strategies were implemented for horizons of 1, 3, 6, and 12 months, and the RF model was trained using equivalent cumulative returns. Out-of-sample validation was applied through an expanding window, homogeneous backtesting, and temporal stability tests. Results: TM showed limited performance over short horizons and greater consistency over long horizons. RF exhibited greater predictive ability and profitability, especially over long horizons, although with episodes of volatility and overfitting risk. Discussion: Machine learning models capture nonlinear patterns not identifiable by traditional methods, but depend on market conditions and show lower temporal stability, evidencing a trade-off between profitability and robustness. Conclusions: The findings confirm the persistence of momentum and highlight the value of machine learning in financial prediction, underscoring the importance of rigorous validation and risk control.

Suggested Citation

  • Carlos Palomino Selem & Ruth Milagros Delgado Yana, 2026. "Comparative analysis between traditional momentum and machine learning (random forest): evidence from the S&P 500 (2000-2024)," Revista Tendencias, Universidad de Narino, vol. 27(02), pages 32-61, July.
  • Handle: RePEc:col:000520:023322
    DOI: 10.22267/rtend.26272.296
    as

    Download full text from publisher

    File URL: https://revistas.udenar.edu.co/index.php/rtend/article/view/10388
    Download Restriction: no

    File URL: https://revistas.udenar.edu.co/index.php/rtend/article/view/10388/11304
    Download Restriction: no

    File URL: https://libkey.io/10.22267/rtend.26272.296?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
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics
    • G11 - Financial Economics - - General Financial Markets - - - Portfolio Choice; Investment Decisions
    • G12 - Financial Economics - - General Financial Markets - - - Asset Pricing; Trading Volume; Bond Interest Rates
    • G14 - Financial Economics - - General Financial Markets - - - Information and Market Efficiency; Event Studies; Insider Trading

    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:col:000520:023322. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Universidad de Narino The email address of this maintainer does not seem to be valid anymore. Please ask Universidad de Narino to update the entry or send us the correct address (email available below). General contact details of provider: https://edirc.repec.org/data/fenarco.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.