A comparative study of hybrid and individual models for predicting the Moroccan MASI index: Integrating machine learning and deep learning approaches

IF 2.7 Q2 MULTIDISCIPLINARY SCIENCES
Hamza Kadiri , Hassan Oukhouya , Khalid Belkhoutout
{"title":"A comparative study of hybrid and individual models for predicting the Moroccan MASI index: Integrating machine learning and deep learning approaches","authors":"Hamza Kadiri ,&nbsp;Hassan Oukhouya ,&nbsp;Khalid Belkhoutout","doi":"10.1016/j.sciaf.2025.e02671","DOIUrl":null,"url":null,"abstract":"<div><div>Forecasting financial market fluctuations is inherently challenging due to its complexity, volatility, and non-linear behavior. This research investigates the predictive accuracy of novel machine learning (ML) approaches for forecasting stock prices. Our approach combines individual ML and deep learning (DL) techniques to predict the daily price of the Moroccan all-share index (MASI). This study introduces novel hybrid models, specifically SVR-XGBoost, MLP-XGBoost, and LSTM-XGBoost. Daily closing price data for the MASI index and sector indices, from 2013 to 2023, is collected. The dataset is used to train and optimize Support Vector Regression (SVR), XGBoost, Multilayer Perceptron (MLP), and Long Short-Term Memory (LSTM) models using the Grid search (GS) algorithm. The performance of these individual models is compared with the hybrid model using standard metrics such as mean absolute error (MAE), mean square error (MSE), mean absolute percentage error (MAPE), and root mean square error (RMSE). In addition, backtesting and bootstrapping interval from the Skforecast library are used. The results demonstrate that the hybrid model achieves the highest accuracy. Moreover, this research holds significant value for investors, financial analysts, and policymakers by refining investment strategies and improving risk management practices.</div></div>","PeriodicalId":21690,"journal":{"name":"Scientific African","volume":"28 ","pages":"Article e02671"},"PeriodicalIF":2.7000,"publicationDate":"2025-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific African","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2468227625001413","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Forecasting financial market fluctuations is inherently challenging due to its complexity, volatility, and non-linear behavior. This research investigates the predictive accuracy of novel machine learning (ML) approaches for forecasting stock prices. Our approach combines individual ML and deep learning (DL) techniques to predict the daily price of the Moroccan all-share index (MASI). This study introduces novel hybrid models, specifically SVR-XGBoost, MLP-XGBoost, and LSTM-XGBoost. Daily closing price data for the MASI index and sector indices, from 2013 to 2023, is collected. The dataset is used to train and optimize Support Vector Regression (SVR), XGBoost, Multilayer Perceptron (MLP), and Long Short-Term Memory (LSTM) models using the Grid search (GS) algorithm. The performance of these individual models is compared with the hybrid model using standard metrics such as mean absolute error (MAE), mean square error (MSE), mean absolute percentage error (MAPE), and root mean square error (RMSE). In addition, backtesting and bootstrapping interval from the Skforecast library are used. The results demonstrate that the hybrid model achieves the highest accuracy. Moreover, this research holds significant value for investors, financial analysts, and policymakers by refining investment strategies and improving risk management practices.
预测摩洛哥MASI指数的混合和个体模型的比较研究:整合机器学习和深度学习方法
由于金融市场的复杂性、波动性和非线性行为,预测金融市场波动本身就具有挑战性。本研究探讨了预测股票价格的新型机器学习(ML)方法的预测准确性。我们的方法结合了个人ML和深度学习(DL)技术来预测摩洛哥全股指数(MASI)的每日价格。本研究引入了新颖的混合模型,特别是SVR-XGBoost、MLP-XGBoost和LSTM-XGBoost。收集了2013年至2023年MASI指数和行业指数的每日收盘价数据。该数据集用于使用网格搜索(GS)算法训练和优化支持向量回归(SVR)、XGBoost、多层感知器(MLP)和长短期记忆(LSTM)模型。使用平均绝对误差(MAE)、均方误差(MSE)、平均绝对百分比误差(MAPE)和均方根误差(RMSE)等标准指标将这些单个模型的性能与混合模型进行比较。此外,还使用了来自Skforecast库的回溯测试和引导间隔。结果表明,该混合模型具有较高的精度。此外,本研究通过完善投资策略和改进风险管理实践,对投资者、金融分析师和政策制定者具有重要价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Scientific African
Scientific African Multidisciplinary-Multidisciplinary
CiteScore
5.60
自引率
3.40%
发文量
332
审稿时长
10 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信