IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2410.07234.html
   My bibliography  Save this paper

A Dynamic Approach to Stock Price Prediction: Comparing RNN and Mixture of Experts Models Across Different Volatility Profiles

Author

Listed:
  • Diego Vallarino

Abstract

This study evaluates the effectiveness of a Mixture of Experts (MoE) model for stock price prediction by comparing it to a Recurrent Neural Network (RNN) and a linear regression model. The MoE framework combines an RNN for volatile stocks and a linear model for stable stocks, dynamically adjusting the weight of each model through a gating network. Results indicate that the MoE approach significantly improves predictive accuracy across different volatility profiles. The RNN effectively captures non-linear patterns for volatile companies but tends to overfit stable data, whereas the linear model performs well for predictable trends. The MoE model's adaptability allows it to outperform each individual model, reducing errors such as Mean Squared Error (MSE) and Mean Absolute Error (MAE). Future work should focus on enhancing the gating mechanism and validating the model with real-world datasets to optimize its practical applicability.

Suggested Citation

  • Diego Vallarino, 2024. "A Dynamic Approach to Stock Price Prediction: Comparing RNN and Mixture of Experts Models Across Different Volatility Profiles," Papers 2410.07234, arXiv.org.
  • Handle: RePEc:arx:papers:2410.07234
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2410.07234
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Lee, Chien-Chiang & Lee, Hsiang-Tai, 2023. "Optimal portfolio diversification with a multi-chain regime-switching spillover GARCH model," Global Finance Journal, Elsevier, vol. 55(C).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Diego Vallarino, 2025. "How Do Consumers Really Choose: Exposing Hidden Preferences with the Mixture of Experts Model," Papers 2503.05800, arXiv.org.

    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. Migliavacca, Milena & Goodell, John W. & Paltrinieri, Andrea, 2023. "A bibliometric review of portfolio diversification literature," International Review of Financial Analysis, Elsevier, vol. 90(C).
    2. Tiwari, Aviral Kumar & Trabelsi, Nader & Abakah, Emmanuel Joel Aikins & Nasreen, Samia & Lee, Chien-Chiang, 2023. "An empirical analysis of the dynamic relationship between clean and dirty energy markets," Energy Economics, Elsevier, vol. 124(C).
    3. Gupta, Rakesh & Haddad, Sama & Selvanathan, E.A., 2024. "Global power and Stock market co-movements: A study of G20 markets," Global Finance Journal, Elsevier, vol. 62(C).
    4. Wan, Jianjun & Lee, Chien-Chiang, 2023. "Corporate investment and the dilemma of the monetary policy: Evidence from China," Economic Analysis and Policy, Elsevier, vol. 78(C), pages 106-121.
    5. Shui-Ying Jin & Hong Chai & Chien-Chiang Lee, 2024. "Knowledge Transfer of China’s HSR Standards “Going Global” Based on System Dynamics," Journal of the Knowledge Economy, Springer;Portland International Center for Management of Engineering and Technology (PICMET), vol. 15(2), pages 6111-6150, June.
    6. Lee, Chien-Chiang & Ni, Wenjie & Zhang, Xiaoming, 2023. "FinTech development and commercial bank efficiency in China," Global Finance Journal, Elsevier, vol. 57(C).
    7. Abakah, Emmanuel Joel Aikins & Nasreen, Samia & Tiwari, Aviral Kumar & Lee, Chien-Chiang, 2023. "U.S. leveraged loan and debt markets: Implications for optimal portfolio and hedging," International Review of Financial Analysis, Elsevier, vol. 87(C).
    8. Chen-Yin Kuo & Shu-Mei Chiang, 2025. "Spillover effects and network connectedness among stock markets: evidence from the U.S. and Asia," Review of Quantitative Finance and Accounting, Springer, vol. 64(1), pages 1-52, January.
    9. Lee, Chien-Chiang & He, Zhi-Wen & Yuan, Zihao, 2023. "A pathway to sustainable development: Digitization and green productivity," Energy Economics, Elsevier, vol. 124(C).

    More about this item

    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:arx:papers:2410.07234. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.