[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-120802-en":3,"doc-seo-120802-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},120802,8796095360427,"Lucas Martin","https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d",8,"Research & Report","A Comparative Simulation Study of Classical and Machine Learning Techniques for Forecasting Time Series Data - Simulation Study Summary","This manuscript presents a simulation comparison between statistical classical methods and machine learning algorithms for forecasting time series data. Models evaluated include ARIMA, K-Nearest Neighbors (KNN), Support Vector Regression (SVR), and Long-Short Term Memory (LSTM). Performance is assessed using Mean Squared Error (MSE), Mean Absolute Error (MAE), Median Absolute Error, and Root Mean Squared Error (RMSE). Results show KNN and LSTM achieve superior accuracy for medium- and long-term forecasts, while machine learning generally surpasses ARIMA for shorter-term predictions. ","Paper—A Comparative Simulation Study of Classical and Machine Learning Techniques for Forecasting…  \nA Comparative Simulation Study of Classical and Machine Learning Techniques for Forecasting Time  \nSeries Data  \n[https://doi.org/10.3991/ijoe.v19i08.39853](https://doi.org/10.3991/ijoe.v19i08.39853)  \nMbarek Iaousse1, Youness Jouilil2(*), Mohamed Bouincha3, Driss Mentagui2 1C3S Laboratory, Hassan II University of Casablanca, Casablanca, Morocco 2Department of Mathematics, Faculty of Sciences, Ibn Tofail University of Kenitra,  \nKenitra, Morocco  \n3Faculty of Legal, Economic and Social Sciences of Sale, Mohamed V University of Rabat,  \nRabat, Morocco  \n[y.jouilil@gmail.com](y.jouilil@gmail.com)  \nAbstract—This manuscript presents a simulation comparison of statistical classical methods and machine learning algorithms for time series forecasting notably the ARIMA model, K-Nearest Neighbors (KNN), The Support Vector Regression (SVR), and Long-Short Term Memory (LSTM) . The performance of the models was evaluated using different metrics especially Mean Squared Error (MSE), Mean Absolute Error (MAE), Median Absolute Error (Median AE), and Root Mean Squared Error (RMSE) . The results of the simulations approve that the KNN and LSTM algorithms have better accuracy than the others models’forecasting notably in the medium and long term. Hence, in the medium and long term, ML models are so powerful on big datasets. However, Machine learning architectures outperform ARIMA for shorter-term predictions. Thus, ARIMA is most appropriate in the case of univariate small data sets, where deep learning algorithms are not yet at their best.  \nKeywords—machine learning, time series forecasting, classical approaches, forecasting  \n1 Introduction  \nIn the recent decade, time series forecasting and analysis have become an important field, especially in medicine, economy, and industry [1] . This paper provides an in-depth examination of the most efficient and widely utilized machine learning algorithms for forecasting. In fact, we propose to conduct a general approach to time series generation.  \nThe simulation will be performed to investigate the potential of classical and machine learning algorithms to improve the accuracy of forecasting. We design simulations from stationary models where the residual terms follow the standard normal distribution.  \nPaper—A Comparative Simulation Study of Classical and Machine Learning Techniques for Forecasting…  \nThen, we simulate a large time process data set and compute their corresponding features.  \nThe rest of the paper will be structured as follows. We start with the methodology and then the time series generation and data preprocessing. In the third section, we will compare our time series algorithms using different accuracy metrics. In the last, we conclude.  \n2 Methodology  \nThis section exposes the methodology and a review of classical and deep sequential architectures for forecasting time series. Specifically, we consider the following algorithms: ARIMA, SVR, KNN and LSTM architectures.  \n2.1 ARIMA algorithm  \nAuto-Regressive Integrated Moving Average, or ARIMA, models are a class of models that are used to analyze and forecast time series data [2] . The model is defined mathematically as:  \n(1+ φ1B + φ2 B2 +􀀖+ φp Bp )(1− B)d Xt = (1+ θ1B + θ2 B2 +􀀖+ θqBq ) ηt (1)  \nWhere Xt the time series data at time t, B is the backshift operator, d is the order of differencing, θi and ϕi are the parameters of the model, and ηt is the error term.  \n2.2 K-nearest neighbors algorithm  \nThe K-nearest Neighbors (KNN) algorithm is a non-parametric method used for classification and regression. The algorithm tries to find the K observations in the training dataset that are closest to the observation to be predicted, and it assigns the most common output value among those K observations to the observation to be predicted. Mathematically, the KNN algorithm can be represented as: Given a new observation, xnew, and a training","cbCaibKtSa9WTJ3f","https://ap.wps.com/l/cbCaibKtSa9WTJ3f","pdf",1053724,1,10,"English","en",105,"# Introduction\n# Methodology\n## ARIMA algorithm\n## K-nearest neighbors algorithm\n## Support vector regression algorithm\n## Long-short term memory (LSTM) algorithm\n# Simulation setup and data preprocessing\n# Model comparison using accuracy metrics\n# Conclusion","[{\"question\":\"Which forecasting models are compared in the simulation study?\",\"answer\":\"The study compares ARIMA, KNN, SVR, and LSTM for time series forecasting.\"},{\"question\":\"How is model performance evaluated?\",\"answer\":\"Performance is evaluated using MSE, MAE, Median Absolute Error, and RMSE.\"},{\"question\":\"Which models perform better for medium- and long-term forecasting?\",\"answer\":\"KNN and LSTM provide better accuracy for medium- and long-term predictions compared with the other models.\"}]","A Comparative Simulation Study of Classical and Machine Learning Techniques for Forecasting Time Series Data - Simulation Study Summary | PDF",1785732101,25,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"a-comparative-simulation-study-of-classical-and-machine-learning-techniques-for-forecasting-time-series-data-simulation-study-summary","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/a-comparative-simulation-study-of-classical-and-machine-learning-techniques-for-forecasting-time-series-data-simulation-study-summary/120802/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-03",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Which forecasting models are compared in the simulation study?","Question",{"text":75,"@type":76},"The study compares ARIMA, KNN, SVR, and LSTM for time series forecasting.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How is model performance evaluated?",{"text":80,"@type":76},"Performance is evaluated using MSE, MAE, Median Absolute Error, and RMSE.",{"name":82,"@type":73,"acceptedAnswer":83},"Which models perform better for medium- and long-term forecasting?",{"text":84,"@type":76},"KNN and LSTM provide better accuracy for medium- and long-term predictions compared with the other models.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":21,"slug":133},"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]