<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article">
 <front>
  <journal-meta>
   <journal-id journal-id-type="publisher-id">
    jilsa
   </journal-id>
   <journal-title-group>
    <journal-title>
     Journal of Intelligent Learning Systems and Applications
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2150-8402
   </issn>
   <issn publication-format="print">
    2150-8410
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/jilsa.2024.164018
   </article-id>
   <article-id pub-id-type="publisher-id">
    jilsa-136343
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Computer Science 
     </subject>
     <subject>
       Communications
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Stock Price Prediction and Traditional Models: An Approach to Achieve Short-, Medium- and Long-Term Goals
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Opeyemi Sheu
      </surname>
      <given-names>
       Alamu
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Md Kamrul
      </surname>
      <given-names>
       Siam
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aDepartment of Statistics, Federal College of Animals Health and Production Technology, Ibadan, Nigeria
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aNew York Institute of Technology, New York, USA
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     09
    </day> 
    <month>
     09
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    16
   </volume> 
   <issue>
    04
   </issue>
   <fpage>
    363
   </fpage>
   <lpage>
    383
   </lpage>
   <history>
    <date date-type="received">
     <day>
      2,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      24,
     </day>
     <month>
      August
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      24,
     </day>
     <month>
      September
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © Copyright 2014 by authors and Scientific Research Publishing Inc. 
    </copyright-statement>
    <copyright-year>
     2014
    </copyright-year>
    <license>
     <license-p>
      This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/
     </license-p>
    </license>
   </permissions>
   <abstract>
    A comparative analysis of deep learning models and traditional statistical methods for stock price prediction uses data from the Nigerian stock exchange. Historical data, including daily prices and trading volumes, are employed to implement models such as Long Short Term Memory (LSTM) networks, Gated Recurrent Units (GRUs), Autoregressive Integrated Moving Average (ARIMA), and Autoregressive Moving Average (ARMA). These models are assessed over three-time horizons: short-term (1 year), medium-term (2.5 years), and long-term (5 years), with performance measured by Mean Squared Error (MSE) and Mean Absolute Error (MAE). The stability of the time series is tested using the Augmented Dickey-Fuller (ADF) test. Results reveal that deep learning models, particularly LSTM, outperform traditional methods by capturing complex, nonlinear patterns in the data, resulting in more accurate predictions. However, these models require greater computational resources and offer less interpretability than traditional approaches. The findings highlight the potential of deep learning for improving financial forecasting and investment strategies. Future research could incorporate external factors such as social media sentiment and economic indicators, refine model architectures, and explore real-time applications to enhance prediction accuracy and scalability.
   </abstract>
   <kwd-group> 
    <kwd>
     Stock Price Prediction
    </kwd> 
    <kwd>
      Deep Learning
    </kwd> 
    <kwd>
      Traditional Model
    </kwd> 
    <kwd>
      Evaluation Metrics
    </kwd> 
    <kwd>
      Comparative Analysis
    </kwd> 
    <kwd>
      Predictive Modeling
    </kwd> 
    <kwd>
      LSTM
    </kwd> 
    <kwd>
      ARIMA
    </kwd> 
    <kwd>
      ARMA
    </kwd> 
    <kwd>
      GRU
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>The nature of prediction in the ever-changing environment of finance has for long been a core aim in the quest for considering goals for the investor, the financial analyst or even the decision maker. The more conventional methods of analyzing the stock include the statistical and econometric models, which have provided most of the direction and forecast for stock prices, besides helping in the understanding of the existing market trends. However, the development and complexity of today’s financial markets have rather imposed certain restrictions on the application of these models and stimulated the increase of efforts toward finding more accurate tools for various investment management approaches.</p>
   <p>The pragmatic research question of this work is to discover whether traditional modeling techniques combined with modern machine learning and deep learning approaches can be put into practice in the area of stock price prediction. To this end, the research will seek to analyze their performance on a short, medium and long-term basis with the aim of establishing their overall characteristics and appropriateness for use in various investment goals.</p>
   <p>Therefore, the justification for undertaking this research rests in appreciation of the expanding role of knowledge in the management of risks in the financial markets. It is for this reason that giving accurate predictions on the stock price can help the investors to make the correct investment choices, manage the portfolio and reduce risk. Furthermore, employing such knowledge, the financial institutions and the policy makers can design more suitable trading plans and enact rational policies which support the stability and the further evolution of such markets.</p>
   <p>Previous research has discussed the use of such approaches as time-series analysis, regression models, and learning machines for the construction of stock price forecasts. Although these studies have been beneficial in nature, there is still a need to perform a comparative study of the returns from the traditional model, as well as the new-applied techniques in the short-term, medium term, and the long-term investment horizon <xref ref-type="bibr" rid="scirp.136343-1">
     [1]
    </xref>-<xref ref-type="bibr" rid="scirp.136343-4">
     [4]
    </xref>.</p>
   <p>This present research seeks to mitigate this fact by undertaking a thorough evaluation of the conventional models like ARIMA, GARCH, and Vector Autoregressive (VAR) models alongside new-class machine learning algorithms like Artificial Neural Networks (ANNs), Support Vector Machines, and Long Short-Term Memory (LSTMs). Hence, the research will compare and understand and compare the predictive capabilities and consistency of these approaches across multiple horizons thereby providing the foundation on which investors and financial experts can select the best approach for the achievement of the intended goals in investment.</p>
   <p>This work will examine whether it is possible to improve stock price prediction by using some mid-level models and integrate them or use deep learning methods on the same models. The outcomes of this study will expand the need-to-know base of financial forecasting scholarship and supply usable guidance for the investor, financial analysts, and policymakers who want to better understand the behavior of the stock market.</p>
   <p>Therefore, this study provides a detailed analysis of the efficacy in traditional model and new methods for stock price prediction with special consideration for meeting the demand of short-term, medium-term, and long-term investment horizons. This work will be useful to practitioners as well as researchers since the findings will be an invaluable resource in the anxiety-inspiring world of financial markets, and the decisions made within them.</p>
  </sec><sec id="s2">
   <title>2. Literature Review</title>
   <sec id="s2_1">
    <title>2.1. Introduction</title>
    <p>This literature review explores the existing research on stock price prediction, focusing on the use of both deep learning and traditional models. By reviewing the current state of the art, this section aims to identify the strengths and limitations of each approach and highlight areas for further improvement. Understanding the theoretical foundations and empirical findings of these models is essential for developing a comprehensive framework for stock price prediction that leverages the strengths of both deep learning and traditional techniques.</p>
   </sec>
   <sec id="s2_2">
    <title>2.2. Overview of Stock Price Prediction with Models</title>
    <p>The interest in stock market analysis is not limited to economics; it also attracts researchers from diverse backgrounds, including engineering disciplines. While most studies focus on stock market analysis, recent works have expanded to predicting forex and cryptocurrencies, reflecting the dynamic nature of financial markets <xref ref-type="bibr" rid="scirp.136343-5">
      [5]
     </xref> <xref ref-type="bibr" rid="scirp.136343-6">
      [6]
     </xref>. Cryptocurrencies, in particular, present unique challenges due to their decentralized structure and lack of regulatory oversight, making them more susceptible to manipulation and fraud compared to traditional stock markets.</p>
    <p>Research has incorporated machine learning and more precisely deep learning for predicting the stock price and cryptocurrency. Previous research established that RNN effectively predicted daily Bitcoin prices better than other approaches such as ARIMA because of its capability to consider time-related characteristics of the data <xref ref-type="bibr" rid="scirp.136343-7">
      [7]
     </xref>. The studies conducted by the researchers have shown that although ARIMA generally presents high accuracy it needs stationary data as opposed to non-stationary time series handled by machine learning algorithms.</p>
    <p>Also, a short-term stock prices forecasting model based was applied upon ARIMA, on three sectors based on the National Stock Exchange <xref ref-type="bibr" rid="scirp.136343-8">
      [8]
     </xref>. From their findings, the two identified possible gains in floating shares in the FMCG and Pharmaceuticals industries but possible loss in the Banking industry. In another study using data from Dhaka Stock Exchange was explored where they used a new univariate ANN model that overpowers the conventional ARIMA model for forecasting the total market capitalization analogously <xref ref-type="bibr" rid="scirp.136343-9">
      [9]
     </xref>.</p>
    <p>Further contributing to the area of work, some work was done on the impact that hybrid models and gated recurrent units (GRUs) have in enhancing stock price prediction <xref ref-type="bibr" rid="scirp.136343-10">
      [10]
     </xref> <xref ref-type="bibr" rid="scirp.136343-11">
      [11]
     </xref>. Those approaches were extended the study by using a GRU-based model coupled with a procedure of dataset reconstruction to address overfitting issues <xref ref-type="bibr" rid="scirp.136343-12">
      [12]
     </xref>. These works demonstrate the effectiveness of implementing deep learning techniques in the stock market prediction despite there are some approaches that highlight that such patterns are not the only factors that must be taken into consideration for accurate prediction of the stock markets <xref ref-type="bibr" rid="scirp.136343-13">
      [13]
     </xref> <xref ref-type="bibr" rid="scirp.136343-14">
      [14]
     </xref>.</p>
    <p>The problem of predicting stock prices has been deemed difficult due to the unstructured and non-stationary behavior of financial markets. Models based on statistical analysis have many drawbacks with regards to identifying the retrospective and probabilistic characteristics of patterns characteristic of stock markets. As for recent trends, authors have tried to use machine learning and deep learning to enhance the efficiency of stock price prediction.</p>
    <p>Also, the similar line was employed by Nabipour et al. using decision trees, boosting techniques, and LSTM in an effort to classify the stock market group of Tehran Stock Exchange <xref ref-type="bibr" rid="scirp.136343-15">
      [15]
     </xref>. Their outcome showed that the LSTM model has better performance than the other techniques, which pointed out the use of deep learning in stock market prediction.</p>
    <p>More recently, Liu et al., and Nikou et al. discovered that stock market indices and exchange-traded fund prices were better predicted by LSTM-based recurrent neural networks than simpler predictive models <xref ref-type="bibr" rid="scirp.136343-2">
      [2]
     </xref> <xref ref-type="bibr" rid="scirp.136343-4">
      [4]
     </xref>. These studies highlighted LSTM’s performance in modeling long-term dependencies in stock market data.</p>
    <p>Moreover, Vijh et al. evaluated the factors of artificial neural network (ANN) and random forest (RF) and proved that ANN had better prediction performance than that of RF for some companies, which supported that ANN can be used for stock price prediction <xref ref-type="bibr" rid="scirp.136343-3">
      [3]
     </xref>. Hu et al. surveyed the literature regarding the recent increase in the use of LSTM fused with other deep learning techniques for financial forecasting and found that the use of deep learning methods is increasing continuously <xref ref-type="bibr" rid="scirp.136343-16">
      [16]
     </xref>.</p>
    <p>Moghar et al. identified the application of LSTM in forecasting future stock market values, and this established the potential of recurrent neural networks in this field <xref ref-type="bibr" rid="scirp.136343-17">
      [17]
     </xref>. In a nutshell, the studies’ findings stress on the benefits of deep learning, especially LSTM, for improving the forecast of stock price and providing requisite information to investors and policymakers. Nti et al. conducted a comprehensive review of 122 papers published between 2007 and 2018 on stock market prediction <xref ref-type="bibr" rid="scirp.136343-18">
      [18]
     </xref>. They found that 66% of the papers used technical analysis methods, while 23% and 11% used fundamental analysis and combined analysis methods, respectively. Additionally, 98% of the fundamental analysis studies used data from social network sites to infer sentiment on financial markets. Commonly used technical indicators included SMA, EMA, MACD, RSI, and ROC.</p>
   </sec>
   <sec id="s2_3">
    <title>2.3. Comparison between Deep Learning and Traditional Models</title>
    <p>The field of stock price prediction has seen significant advancements with the introduction of deep learning models, particularly in comparison to traditional models like autoregressive integrated moving averages (ARIMA) and artificial neural networks (ANN). This comparison has been explored in various studies, shedding light on the strengths and limitations of each approach.</p>
    <p>Qihang compares three models: ARIMA, ANN, and LSTM networks, for stock price prediction <xref ref-type="bibr" rid="scirp.136343-19">
      [19]
     </xref>. The study suggests that LSTM may possess superior predictive abilities, contingent on effective data processing. Additionally, the ANN model outperforms the ARIMA model, highlighting the importance of incorporating time series data with external factors for improved predictions. Despite the advancements in LSTM models, all three models fundamentally derive predictions from potential relationships within time series data, neglecting external factors such as economic and political dynamics. The study emphasizes the need for future research to delve deeper into understanding and incorporating these external factors into predictive models for more accurate forecasting.</p>
    <p>Seabe et al. focus on predicting cryptocurrency prices using deep learning models, including LSTM, Gated Recurrent Unit (GRU), and Bi-Directional LSTM (Bi-LSTM) <xref ref-type="bibr" rid="scirp.136343-20">
      [20]
     </xref>. The study concludes that accurate cryptocurrency predictions are crucial, emphasizing the challenge posed by the market’s nonlinearity. The evaluation identifies Bi-LSTM as the most effective model, outperforming LSTM and GRU. The study suggests that incorporating external factors such as social media and trading volumes could further enhance prediction accuracy. Additionally, a cost–benefit analysis acknowledges the expenses involved in building and maintaining prediction models but underscores the potential revenue generation and valuable predictions as significant benefits.</p>
    <p>Both studies highlight the advancements made by deep learning models, particularly LSTM and Bi-LSTM, in stock price and cryptocurrency price prediction, respectively. These models have shown superior performance compared to traditional models like ARIMA and ANN. However, both studies also emphasize the importance of incorporating external factors into predictive models to improve accuracy further. While deep learning models have shown great promise, there is still ample room for further research and development to enhance their capabilities and address the complexities of financial markets.</p>
   </sec>
  </sec><sec id="s3">
   <title>3. Method</title>
   <p>This research focuses on the performance of deep learning models and in particular Recurrent Neural Network (RNNs) including LSTM and GRU as well as benchmarking them against conventional statistical models like ARMA and ARIMA in the context of Nigerian stock market price prediction.</p>
   <sec id="s3_1">
    <title>3.1. Scope of the Research</title>
    <p>The study aims at predicting the daily stock prices over a Five-year period starting from January 1, 2019, to December 31, 2023. The study tries to establish the models’ comparative performance in diverse scenarios by assessing their accuracy at various time frames, such as short-term (one year), mid-term (two and a half years), and long-term (five years).</p>
    <p>Two goals of the project are to compare the accuracy of deep learning models with standard statistical models in order to produce helpful recommendations for risk managers and investors in Nigeria’s stock market. In as much as it seeks to identify the relative performance of these models there is a noble goal of providing direction to this decision making and improving investment strategies, thus the researchers’ desire of advancing the use of financial forecasting techniques. <xref ref-type="fig" rid="fig1">
      Figure 1
     </xref> provides a clear and detailed illustration of how the deep learning method operates for stock prediction, aiding in a comprehensive understanding of its functionality.</p>
    <fig id="fig1" position="float">
     <label>Figure 1</label>
     <caption>
      <title>Figure 1. The architecture of deep learning model of stock price.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId18.jpeg?20240927022842" />
    </fig>
    <p>The use of this methodological framework will lay a good platform for proper assessment of any of the selected models as will be seen in the subsequent analysis and comparison of their forecasting capability and reliability in the Nigerian stock market.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. Source and Description of Dataset</title>
    <p>The dataset used in this study was obtained from reliable financial databases and covers daily stock prices for the specified period. It includes key parameters such as opening and closing prices, high and low prices, and trading volumes. To ensure the data’s accuracy and real-time updates, the study utilized the Yfinance API, which is known for providing comprehensive and dynamic financial data. This API forms a solid foundation for the analysis, crucial for the study’s success. The dataset’s reliability and comprehensiveness are vital, given its columns for Date, Open, High, Low, Close, Adjusted Close, and Volume. The Date column records the trading day, Open and Close prices reflect the stock’s prices at market opening and closing, High and Low indicate the day’s highest and lowest prices, Adjusted Close adjusts for corporate actions such as dividends, and Volume denotes the number of shares traded. <xref ref-type="table" rid="table1">
      Table 1
     </xref> and <xref ref-type="table" rid="table2">
      Table 2
     </xref> represents the pattern and summary of the data respectively.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.136343-"></xref>Table 1. Dataset retrieved from the Yfinance (From January 2019 to February 2019).</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="25.18%">Date<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">Open<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">High<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">Low<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">Close<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">Adj Close<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="12.47%">Volume<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="25.18%">2019-01-02 00:00:00<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">16.4<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">16.5<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">16.19<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">16.5<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">7.778549<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="12.47%">5133<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-03 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.23<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.98<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.91<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.91<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.500408<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8671<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-04 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.64<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.98<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.64<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.493<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.775249<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">2837<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-07 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.92<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.2<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.92<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.1<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.589979<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7249<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-08 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.09<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.44855<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">23243<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-09 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.92<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.5728<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.9<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.9<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.495693<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">9248<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-10 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.97<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.2537<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15.97<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.01<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.547551<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">6631<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-11 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.3097<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.16<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.618264<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">1239<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-14 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.25<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.37<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.2<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.2<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.637122<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">9561<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-15 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.38<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.31<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.731407<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">2700<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-16 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.3827<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.442<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.31<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.34<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.703121<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">1823<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-17 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4084<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4899<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4084<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.4841<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.771054<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">1539<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-18 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8246<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.721<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.882737<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">11415<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-22 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.57<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.57<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.1<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.1<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.589979<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8723<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-23 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.22<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.72<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.13<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.544<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.799292<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">11842<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-24 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.5<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.55<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.24<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.5202<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.788074<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">3602<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-25 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.78<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.15<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.76<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.1<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.061406<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">13156<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-28 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.15<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.5847<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.15<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.15<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.084977<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">4834<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-29 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.99<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.286<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.99<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.01<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.018978<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18050<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-30 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.94<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.2047<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.81<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.014263<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">2802<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-01-31 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.6<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.9201<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.57<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.65<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.849263<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">4780<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-01 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.65<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.6<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.6<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.825693<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">3043<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-04 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.85<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.0612<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.85<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.981263<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">5274<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-05 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.0651<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">7.919977<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">15532<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-06 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.1899<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16.8<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.014263<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">10645<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-07 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.43<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.44<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.253<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.37<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.188691<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">11853<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-08 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.65<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.88<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.65<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.831<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.406019<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">78599<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-11 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.89<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.2199<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.89<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.13<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.546975<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">10287<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-12 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.5465<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">19.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.5<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.53<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.735547<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">25820<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-13 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.56<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.74<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.96<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.4108<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.679354<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">70085<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-14 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.49<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.52<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.3<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.4<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.674261<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">21213<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-15 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.84<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.84<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.165<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.1862<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.57347<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">31359<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-19 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.2<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.2<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.77<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.45269<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">14893<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-20 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.79<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.5<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.79<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.1653<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.563616<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">23119<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-21 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.37<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.37<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.9275<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.05<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.509261<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">14052<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-22 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.33<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.355<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.3<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.627118<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">10887<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-25 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.5<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.55<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.16<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.17<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.565834<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">21680<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="25.18%">2019-02-26 00:00:00<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.1501<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.3899<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">17.81<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">18.3899<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">8.6695<p style="text-align:center"></p></td> 
       <td class="acenter" width="12.47%">16515<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.136343-"></xref>Table 2. Summary of the dataset.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="14.29%"><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">Open<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">High<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">Low<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">Close<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">Adj Close<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="14.29%">Volume<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="14.29%">Count<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="14.29%">1258<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">Mean<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.89<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">11.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.76<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.88<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.88<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">16892.58<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">Std<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">2.60<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">2.62<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">2.59<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">2.59<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">0.99<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">18906.56<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">Min<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.26<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.71<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.25<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.46<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">3.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">0<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">25%<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">8.91<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">9.03<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">8.84<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">8.93<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.16<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">6066.75<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">50%<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.13<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.28<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.01<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">10.14<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">5.73<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">11711.5<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">75%<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">12.48<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">12.62<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">12.31<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">12.45<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">6.56<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">21123.25<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="14.29%">Max<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">18.84<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">19.02<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">18.5<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">18.53<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">8.74<p style="text-align:center"></p></td> 
       <td class="acenter" width="14.29%">202207<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>The dataset consists of 1258 data points for each column. The mean values for the stock’s opening, highest, lowest, and closing prices are around 10.89, 11.03, 10.76, and 10.88, respectively. The mean adjusted close price is approximately 5.88, and the average trading volume is about 16892.58. The standard deviations indicate the degree of variation from the mean, with the highest variability observed in the trading volume.</p>
   </sec>
   <sec id="s3_3">
    <title>3.3. Method and Procedure of Analysis</title>
    <p>The analysis in this study involves comparing the performance of deep learning models (LSTMs, GRUs) with traditional statistical models (ARMA, ARIMA) in predicting stock prices in the Nigerian stock market.</p>
    <p>Long Short-Term Memory (LSTM) is a specialized form of recurrent neural network (RNN) designed to overcome the vanishing gradient problem, making it particularly effective at capturing long-term dependencies in sequential data such as stock prices. LSTMs are equipped with memory cells that can maintain information over long periods, enabling them to learn temporal patterns and relationships within the data. The LSTM architecture consists of several gates that regulate the flow of information:</p>
    <p>Input Gate ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          i 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math>): Determines how much of the new input to add to the cell state.</p>
    <p>Forget Gate ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          f 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math>): Decides what information to discard from the cell state.</p>
    <p>Output Gate ( 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          o 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math>): Controls the output and what information from the cell state to use for the hidden state.</p>
    <p>The equations governing the behavior of an LSTM cell are as follows:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               i 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               c 
             </mi> 
             <mi>
               i 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              c 
            </mi> 
            <mrow> 
             <mi>
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             + 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            f 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               f 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               f 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               c 
             </mi> 
             <mi>
               f 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              c 
            </mi> 
            <mrow> 
             <mi>
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             − 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              f 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            g 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           tanh 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               i 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               g 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mrow> 
             <mi>
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              g 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            o 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               o 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               o 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mrow> 
             <mi mathvariant="script">
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               c 
             </mi> 
             <mi>
               o 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              c 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              o 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            c 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <msub> 
          <mi>
            f 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ⊙ 
         </mo> 
         <msub> 
          <mi>
            c 
          </mi> 
          <mrow> 
           <mi>
             t 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msub> 
         <mo>
           + 
         </mo> 
         <msub> 
          <mi>
            i 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ⊙ 
         </mo> 
         <msub> 
          <mi>
            g 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            h 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <msub> 
          <mi>
            o 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ⊙ 
         </mo> 
         <mi>
           tanh 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              c 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math> (i)</p>
    <p>where:</p>
    <p>In the context of stock price prediction:</p>
    <p>Gated Recurrent Unit (GRU) is a simplified version of the Long Short-Term Memory (LSTM) network, designed to achieve similar results with fewer parameters, making it computationally more efficient. GRUs merge the memory and input gates into a single structure, streamlining the learning process while still capturing essential temporal dependencies in sequential data like stock prices.</p>
    <p>The GRU architecture includes two main gates:</p>
    <p>The equations governing the GRU cell are:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable columnalign="left"> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            z 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               z 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               z 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mrow> 
             <mi>
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              z 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            r 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           σ 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               r 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               h 
             </mi> 
             <mi>
               r 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              h 
            </mi> 
            <mrow> 
             <mi>
               t 
             </mi> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              r 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mover accent="true"> 
           <mi>
             h 
           </mi> 
           <mo>
             ˜ 
           </mo> 
          </mover> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mi>
           tanh 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi mathvariant="script">
              W 
            </mi> 
            <mrow> 
             <mi>
               x 
             </mi> 
             <mi>
               h 
             </mi> 
            </mrow> 
           </msub> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              f 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
           <mo>
             ⊙ 
           </mo> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi mathvariant="script">
                W 
              </mi> 
              <mrow> 
               <mi>
                 h 
               </mi> 
               <mi>
                 h 
               </mi> 
              </mrow> 
             </msub> 
             <msub> 
              <mi>
                h 
              </mi> 
              <mrow> 
               <mi>
                 t 
               </mi> 
               <mo>
                 − 
               </mo> 
               <mn>
                 1 
               </mn> 
              </mrow> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
           <mo>
             + 
           </mo> 
           <msub> 
            <mi>
              b 
            </mi> 
            <mi>
              h 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <msub> 
          <mi>
            h 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           = 
         </mo> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mn>
             1 
           </mn> 
           <mo>
             − 
           </mo> 
           <mo> 
           </mo> 
           <msub> 
            <mi>
              z 
            </mi> 
            <mi>
              t 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           ⊙ 
         </mo> 
         <msub> 
          <mi>
            h 
          </mi> 
          <mrow> 
           <mi>
             t 
           </mi> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msub> 
         <mo>
           + 
         </mo> 
         <msub> 
          <mi>
            z 
          </mi> 
          <mi>
            t 
          </mi> 
         </msub> 
         <mo>
           ⊙ 
         </mo> 
         <msub> 
          <mover accent="true"> 
           <mi>
             h 
           </mi> 
           <mo>
             ˜ 
           </mo> 
          </mover> 
          <mi>
            t 
          </mi> 
         </msub> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math> (ii)</p>
    <p>where:</p>
    <p>In the context of stock price prediction:</p>
    <p>The Autoregressive Moving Average (ARMA) model is a powerful statistical tool used to predict future values in a time series by combining autoregressive (AR) and moving average (MA) components. This model is particularly effective in capturing the linear dependencies in sequential data, making it suitable for stock price prediction.</p>
    <p>The ARMA model comprises two key components:</p>
    <p>Autoregressive (AR) Component: This part of the model expresses the current value of the series as a linear combination of its previous values. The order of the AR component is denoted by p.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         AR 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          p 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math> (iii)</p>
    <p>Moving Average (MA) Component: This part expresses the current value as a linear combination of past error terms. The order of the MA component is denoted by q.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         MA 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          q 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         − 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> (iv)</p>
    <p>Therefore, the combined ARMA model is represented as 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         ARMA 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           p 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         − 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> (v)</p>
    <p>where:</p>
    <p>In the context of stock price prediction, the ARMA model utilizes past stock prices and error terms to forecast future prices. This approach helps in understanding the underlying patterns in stock prices by accounting for both the linear relationships (AR part) and the shocks or unexpected changes (MA part).</p>
    <p>The AutoRegressive Integrated Moving Average (ARIMA) model is an extension of the ARMA model designed to handle non-stationary time series data by incorporating differencing. This makes ARIMA particularly effective for predicting stock prices, where trends and seasonal patterns often cause non-stationarity.</p>
    <p>The ARIMA model has three main components.</p>
    <p>AutoRegressive (AR) Component: Like in the ARMA model, the AR component uses previous values to predict the current value. The order of this component is denoted by p. So, from equation (iii):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         AR 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          p 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math></p>
    <p>Integrated (I) Component: This part involves differencing the time series data to make it stationary. The order of differencing is denoted by d.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         I 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          d 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <msub> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         − 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           d 
         </mi> 
        </mrow> 
       </msub> 
      </mrow> 
     </math> (vi)</p>
    <p>Moving Average (MA) Component: Similar to the ARMA model, the MA component uses past error terms to predict the current value. The order of this component is denoted by q. So, from equation (iv):</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         MA 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          q 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         : 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math></p>
    <p>Therefore, the combined ARMA model is represented as 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         ARIMA 
       </mtext> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           p 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           d 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mi>
          t 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϕ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           p 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mn>
           2 
         </mn> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <mo>
         ⋯ 
       </mo> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          θ 
        </mi> 
        <mi>
          p 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mo>
           − 
         </mo> 
         <mi>
           q 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          ϵ 
        </mi> 
        <mi>
          t 
        </mi> 
       </msub> 
      </mrow> 
     </math> (vii)</p>
    <p>where:</p>
    <p>In stock price prediction, the ARIMA model effectively captures both the linear relationships and the effects of trends and seasonality by differencing the data. This helps in stabilizing the time series and improving the accuracy of the forecasts.</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Evaluation Metrics</title>
    <p>To assess the accuracy and reliability of the models in predicting stock prices, this study employs several evaluation metrics. These metrics provide a quantitative basis for comparing the performance of deep learning models (LSTM, GRU) and traditional statistical models (ARMA, ARIMA). The metrics used include Mean Squared Error (MSE), Mean Absolute Percentage Error (MAPE), R-squared (R<sup>2</sup>), and Root Mean Squared Error (RMSE).</p>
    <p>Mean Squared Error (MSE) measures the average squared difference between the predicted and actual stock prices. It penalizes larger errors more significantly, making it sensitive to outliers. MSE is given by:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         MSE 
       </mtext> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mn>
          1 
        </mn> 
        <mi>
          n 
        </mi> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <msubsup> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           n 
         </mi> 
        </msubsup> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                P 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                A 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mstyle> 
      </mrow> 
     </math> (viii)</p>
    <p>where:</p>
    <p>In the context of stock prices, a lower MSE indicates that the model’s predictions are closer to the actual prices, suggesting better performance.</p>
    <p>Mean Absolute Percentage Error (MAPE) measures the average absolute percentage difference between the predicted and actual stock prices. It provides a relative measure of prediction accuracy, making it easy to interpret. MAPE is given by:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         MAPE 
       </mtext> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mn>
          1 
        </mn> 
        <mi>
          n 
        </mi> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <msubsup> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           n 
         </mi> 
        </msubsup> 
        <mrow> 
         <mrow> 
          <mo>
            | 
          </mo> 
          <mrow> 
           <mfrac> 
            <mrow> 
             <msub> 
              <mi>
                P 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
             <mo>
               − 
             </mo> 
             <msub> 
              <mi>
                A 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
            </mrow> 
            <mrow> 
             <msub> 
              <mi>
                A 
              </mi> 
              <mi>
                i 
              </mi> 
             </msub> 
            </mrow> 
           </mfrac> 
          </mrow> 
          <mo>
            | 
          </mo> 
         </mrow> 
        </mrow> 
       </mstyle> 
       <mo>
         × 
       </mo> 
       <mn>
         100 
       </mn> 
      </mrow> 
     </math> (ix)</p>
    <p>MAPE is expressed as a percentage, with lower values indicating better predictive accuracy. It is particularly useful for comparing the performance of models across different datasets.</p>
    <p>R-squared (R<sup>2</sup>) is a statistical measure that represents the proportion of the variance in the dependent variable (actual stock prices) that is predictable from the independent variable (predicted stock prices). It indicates the goodness of fit of the model. R<sup>2</sup> is given by:</p>
    <p>
     <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"> <mrow> 
       <msup> 
        <mtext>
          R 
        </mtext> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mrow> 
         <mstyle displaystyle="true"> 
          <msubsup> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             n 
           </mi> 
          </msubsup> 
          <mrow> 
           <msup> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  A 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
               <mo>
                 − 
               </mo> 
               <msub> 
                <mi>
                  P 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
         </mstyle> 
        </mrow> 
        <mrow> 
         <mstyle displaystyle="true"> 
          <msubsup> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             n 
           </mi> 
          </msubsup> 
          <mrow> 
           <msup> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  A 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
               <mo>
                 − 
               </mo> 
               <msub> 
                <mover accent="true"> 
                 <mi>
                   A 
                 </mi> 
                 <mo>
                   ¯ 
                 </mo> 
                </mover> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
         </mstyle> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math> (x)</p>
    <p>where:</p>
    <p>An R<sup>2</sup> value closer to 1 indicates that the model explains a large portion of the variance in the stock prices, signifying a good fit.</p>
    <p>Root Mean Squared Error (RMSE) is the square root of the average squared difference between the predicted and actual stock prices. It is similar to MSE but is in the same units as the original data, making it more interpretable. RMSE is given by:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mtext>
         RMSE 
       </mtext> 
       <mo>
         = 
       </mo> 
       <msqrt> 
        <mrow> 
         <mfrac> 
          <mn>
            1 
          </mn> 
          <mi>
            n 
          </mi> 
         </mfrac> 
         <mstyle displaystyle="true"> 
          <msubsup> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <mi>
              i 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             n 
           </mi> 
          </msubsup> 
          <mrow> 
           <msup> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  P 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
               <mo>
                 − 
               </mo> 
               <msub> 
                <mi>
                  A 
                </mi> 
                <mi>
                  i 
                </mi> 
               </msub> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
         </mstyle> 
        </mrow> 
       </msqrt> 
      </mrow> 
     </math> (xi)</p>
    <p>Like MSE, a lower RMSE indicates better predictive performance. RMSE is particularly useful when the magnitude of the errors is important.</p>
   </sec>
   <sec id="s3_5">
    <title>3.5. Analysis Approach</title>
    <p>The analysis approach involves independently testing LSTM, GRU, ARMA, and ARIMA models on short-term (1 year), medium-term (2.5 years), and long-term (5 years) datasets. <xref ref-type="fig" rid="fig2">
      Figure 2
     </xref> demonstrates the high-level abstraction of our analysis pattern. The Augmented Dickey-Fuller (ADF) test will be used to determine the stationarity of the data <xref ref-type="bibr" rid="scirp.136343-21">
      [21]
     </xref>. By assessing model performance across different time horizons, the study aims to provide insights into the models’ effectiveness under varying conditions. This progressive evaluation facilitates a comprehensive comparison, shedding light on the predictive accuracy of deep learning and statistical models over diverse time frames.</p>
    <fig id="fig2" position="float">
     <label>Figure 2</label>
     <caption>
      <title>Figure 2. Analysis approach explanation.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId125.jpeg?20240927022845" />
    </fig>
   </sec>
  </sec><sec id="s4">
   <title>4. Results</title>
   <p>This analysis aims to evaluate the effectiveness of deep learning models, including RNNs like LSTMs and GRUs, compared to traditional ARMA and ARIMA models, for predicting stock prices on the Nigerian stock market. Additionally, the study assesses the influence of various input parameters, such as historical price data, trading volumes, economic indicators, and sentiment data, on the accuracy of stock price predictions.</p>
   <p>Stock market charts are graphical representations of a stock or index’s price movements over time. They are essential tools for investors and analysts to analyze trends, patterns, and potential opportunities in the market. Typically, the y-axis of a stock market chart represents the price of the stock or index, while the x-axis represents time.</p>
   <p>The chart (<xref ref-type="fig" rid="fig3">
     Figure 3
    </xref>) depicting the Nigerian Exchange Stock Price over the past six years illustrates significant volatility in the market. It indicates that the stock price reached a peak of approximately 18 in 2021 and a low of around 6 in 2019, with the current trading price around 14. However, without further context or data, determining the specific reasons for these fluctuations is challenging. Possible factors influencing the stock price volatility could include changes in the Nigerian economy, fluctuations in interest rates, and global events impacting market sentiment. The chart’s representation of ‘Open’ and ‘Close’ prices in Nigerian Naira (NGN) suggests that it tracks the stock’s daily price movements, providing viewers with insights into the stock’s performance and potential trends. The Augmented Dickey-Fuller (ADF) test is commonly used to determine the stationarity of a time series dataset. The test statistic is compared to critical values at different confidence levels (1%, 5%, and 10%) to make this determination.</p>
   <p>In this case, the ADF statistic is −35.73, which is significantly lower than the critical values at all confidence levels. Additionally, the p-value is reported as 0.0, indicating strong evidence against the null hypothesis of non-stationarity. Therefore, we reject the null hypothesis and conclude that the time series data for stock prices in the Nigerian stock market is stationary.</p>
   <fig id="fig3" position="float">
    <label>Figure 3</label>
    <caption>
     <title>Figure 3. Nigeria stock exchange price (2019-2023).</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId126.jpeg?20240927022845" />
   </fig>
   <p>The decomposition trend analysis presented in <xref ref-type="fig" rid="fig4">
     Figure 4
    </xref> provides insights into the price fluctuations of gold over time, likely denominated in Naira per ounce. The decomposition comprises three distinct sections: Original, Trend, and Residuals. The Original graph depicts the actual price of gold over an unspecified time frame, presumably spanning several years. The graph reveals notable peaks and troughs, indicative of price volatility and fluctuations over time.</p>
   <p>The Trend line smooths out the inherent fluctuations in the original data, revealing a broader long-term trajectory. In this instance, the trend line demonstrates a modest upward slope, suggesting a gradual appreciation in the price of gold throughout the observed period.</p>
   <p>Possible factors influencing the stock price volatility could include changes in the Nigerian economy, fluctuations in interest rates, and global events impacting market sentiment. The chart’s representation of ‘Open’ and ‘Close’ prices in Nigerian Naira (NGN) suggests that it tracks the stock’s daily price movements, providing viewers with insights into the stock’s performance and potential trends.</p>
   <fig id="fig4" position="float">
    <label>Figure 4</label>
    <caption>
     <title>Figure 4. Decomposition trend.</title>
    </caption>
    <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId127.jpeg?20240927022845" />
   </fig>
   <sec id="s4_1">
    <title>4.1. Model Comparison</title>
    <p>In the short-term analysis of stock price prediction models, the performance of four models was evaluated: ARIMA, ARMA, LSTM, and GRU. The R-squared values indicate the goodness of fit of each model, with higher values indicating a stronger correlation between predicted and actual values. In <xref ref-type="table" rid="table3">
      Table 3
     </xref>, both ARIMA and ARMA models exhibited negative R-squared values, indicating poor performance compared to a simple mean model. This suggests that these traditional models were not effective in capturing the short-term movements of the stock price. On the other hand, the LSTM model showed impressive performance, with an R-squared value of 0.9885. This indicates a strong correlation between the predicted and actual values, suggesting that the LSTM model was highly effective in capturing short-term stock price movements. Similarly, the GRU model also performed well, with an R-squared value of 0.9796. This indicates that the GRU model was effective in capturing short-term stock price movements, although slightly less so than the LSTM model.</p>
    <table-wrap id="table3">
     <label>
      <xref ref-type="table" rid="table3">
       Table 3
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.136343-"></xref>Table 3. Medium term analysis.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="acenter" width="19.99%">Model<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">R-squared<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">RMSE<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">MSE<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">MAE<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="19.99%">ARIMA<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">−1.7288<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">1.1707<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">1.3705<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">1.0171<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">ARMA<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">−1.4705<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">1.1139<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">1.2408<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.9564<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">LSTM<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.9885<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0761<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0057<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0569<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">GRU<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.9796<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.1013<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0048<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0970<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>In terms of error metrics, both the LSTM and GRU models had considerably lower Root Mean Squared Error (RMSE), Mean Squared Error (MSE), and Mean Absolute Error (MAE) compared to the ARIMA and ARMA models. This further demonstrates the superior performance of the LSTM and GRU models in the short term.</p>
    <p>Overall, the results suggest that the LSTM model was the best-performing model for short-term stock price prediction, followed closely by the GRU model. Moreover, <xref ref-type="fig" rid="fig5">
      Figure 5
     </xref> shows the comparison of the predictions using different models that we discovered in short term analysis.</p>
    <fig id="fig5" position="float">
     <label>Figure 5</label>
     <caption>
      <title>Figure 5. Predictions trend for short-term data.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId128.jpeg?20240927022846" />
    </fig>
    <p>In the medium-term analysis of stock price prediction models, the performance of ARIMA, ARMA, LSTM, and GRU models was evaluated. In <xref ref-type="table" rid="table4">
      Table 4
     </xref>, the ARIMA model showed a slight improvement in R-squared compared to the short term but still indicated poor performance. The R-squared value was −0.5725, suggesting that the ARIMA model was not effective in capturing medium-term stock price movements. The ARMA model performed significantly worse in the medium term, with a very low R-squared value of −10.9650. This indicates that the ARMA model is not suitable for medium-term stock price prediction.</p>
    <p>In contrast, both the LSTM and GRU models performed well in the medium term. The LSTM model had an R-squared value of 0.8665, indicating a strong correlation between predicted and actual values. The GRU model performed slightly worse but still effectively captured medium-term stock price movements, with an R-squared value of 0.1256.</p>
    <table-wrap id="table4">
     <label>
      <xref ref-type="table" rid="table4">
       Table 4
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.136343-"></xref>Table 4. Medium term analysis.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="19.99%">Model<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="20.00%">R-squared<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="20.00%">RMSE<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="20.00%">MSE<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="20.00%">MAE<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="19.99%">ARIMA<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">−0.5725<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">0.4018<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">0.1615<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.00%">0.2961<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">ARMA<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">−10.9650<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">1.1084<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">1.2285<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.9567<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">LSTM<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.8665<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.1171<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0137<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.1066<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="19.99%">GRU<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.1256<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.2996<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.0898<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.00%">0.2959<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>In terms of error metrics, both the LSTM and GRU models had lower RMSE, MSE, and MAE compared to the ARIMA and ARMA models, further confirming their effectiveness in the medium term. Overall, the results suggest that the LSTM model was the best-performing model for medium-term stock price prediction, followed by the GRU model. Furthermore, <xref ref-type="fig" rid="fig6">
      Figure 6
     </xref> depicts the comparison of the predictions using different models that we discovered in medium term analysis.</p>
    <fig id="fig6" position="float">
     <label>Figure 6</label>
     <caption>
      <title>Figure 6. Predictions trend for medium-term data.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId129.jpeg?20240927022846" />
    </fig>
    <p>In the long-term analysis of stock price prediction models, the performance of ARIMA, ARMA, LSTM, and GRU models was evaluated. In <xref ref-type="table" rid="table5">
      Table 5
     </xref>, the ARIMA model exhibited an R-squared value of −2.3549, indicating poor performance in capturing long-term stock price movements. Similarly, the ARMA model performed poorly in the long term, with an R-squared value of −7.4547. In contrast, both the LSTM and GRU models showed much better performance in the long term. The LSTM model had an R-squared value of 0.4950, indicating a moderate correlation between predicted and actual values over the long term. The GRU model performed even better, with an impressive R-squared value of 0.9594, indicating a strong correlation between predicted and actual values in the long term. In terms of error metrics, both the LSTM and GRU models had lower RMSE, MSE, and MAE compared to the ARIMA and ARMA models, further confirming their effectiveness in the long term. Also, <xref ref-type="fig" rid="fig7">
      Figure 7
     </xref> depicts the comparison of the predictions using different models that we discovered in long term analysis.</p>
    <table-wrap id="table5">
     <label>
      <xref ref-type="table" rid="table5">
       Table 5
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.136343-"></xref>Table 5. Long term analysis.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="20.79%">Model<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="20.36%">R-squared<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="19.63%">RMSE<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="19.61%">MSE<p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="19.61%">MAE<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="20.79%">ARIMA<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="20.36%">−2.3549<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="19.63%">0.9607<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="19.61%">0.9229<p style="text-align:center"></p></td> 
       <td class="custom-top-td acenter" width="19.61%">0.8219<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="20.79%">ARMA<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.36%">−7.4547<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.63%">1.5250<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">2.3257<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">1.3248<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="20.79%">LSTM<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.36%">0.4950<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.63%">0.3727<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">0.1389<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">0.3703<p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="20.79%">GRU<p style="text-align:center"></p></td> 
       <td class="acenter" width="20.36%">0.9594<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.63%">0.1056<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">0.0111<p style="text-align:center"></p></td> 
       <td class="acenter" width="19.61%">0.0922<p style="text-align:center"></p></td> 
      </tr> 
     </table>
    </table-wrap>
    <fig id="fig7" position="float">
     <label>Figure 7</label>
     <caption>
      <title>Figure 7. Predictions trend for long-term data.</title>
     </caption>
     <graphic mimetype="image" position="float" xlink:type="simple" xlink:href="https://html.scirp.org/file/9601653-rId130.jpeg?20240927022846" />
    </fig>
    <p>In summary, the results suggest that the GRU model was the best-performing model for long-term stock price prediction, followed by the LSTM model.</p>
   </sec>
  </sec><sec id="s5">
   <title>5. Discussion</title>
   <p>In order to anticipate stock prices on the Nigerian stock market, a comparative comparison of deep learning models (LSTM, GRU) and conventional statistical methods (ARIMA, ARMA) offers important new insights into the predictive modeling potential of machine learning and generative AI in the future. The superior performance of deep learning models especially LSTM over the traditional techniques is consistent with their capacity to extract intricate, nonlinear correlations from financial data. This implies that the use of machine learning (ML) techniques can greatly improve prediction accuracy across a range of domains. This is corroborated by recent research, which shows how ML models like ANN, SVM, and fuzzy logic are successfully applied in fields like crop production prediction, underscoring the technology’ wider applicability <xref ref-type="bibr" rid="scirp.136343-22">
     [22]
    </xref> <xref ref-type="bibr" rid="scirp.136343-23">
     [23]
    </xref>.</p>
   <p>Furthermore, a new frontier for predicting and simulation is presented by the integration of generative AI (GenAI), which is quickly gaining popularity in both academic and industry contexts. Finance, agriculture, and climate science are just a few of the sectors that stand to gain from using GenAI’s capacity to create intricate scenarios based on past data to create predictive models that are more resilient and adaptive <xref ref-type="bibr" rid="scirp.136343-23">
     [23]
    </xref>. The ability of GenAI to generate precise simulations on its own has enormous potential since it enables data-driven, real-time decision-making in a variety of disciplines that can maximize results and handle uncertainty. Predictions’ future, then, will come from combining conventional machine learning techniques with the creative powers of artificial intelligence (GenAI), which will provide more accurate, scalable, and context-aware answers to challenging problems <xref ref-type="bibr" rid="scirp.136343-23">
     [23]
    </xref> <xref ref-type="bibr" rid="scirp.136343-24">
     [24]
    </xref>. We will explore that in our future research.</p>
  </sec><sec id="s6">
   <title>6. Conclusions</title>
   <p>The research undertaken in this study focused on comparing the effectiveness of deep learning models and traditional models in predicting stock prices. The primary objective was to evaluate their performance, identify strengths and weaknesses, and understand their practical applications in financial markets.</p>
   <p>The literature review revealed that while traditional models such as ARIMA and ARMA have been widely used, they face limitations in capturing the complex and nonlinear relationships in stock price data, particularly in volatile market conditions. On the other hand, deep learning models, including neural networks and LSTM, have shown promise in capturing these intricate patterns and dynamics. The methodology employed in this study involved data preprocessing, model implementation, and evaluation using metrics such as Mean Squared Error (MSE) and Mean Absolute Error (MAE). The Augmented Dickey-Fuller (ADF) test was used to assess the stationarity of the stock price series, which is crucial for effective modeling.</p>
   <p>The analysis and results demonstrated that deep learning models generally outperformed traditional models in predicting stock prices across short-, medium-, and long-term horizons. The superior performance of deep learning models can be attributed to their ability to capture complex patterns and nonlinear relationships in the data. However, it was also noted that deep learning models require substantial computational resources and are less interpretable compared to traditional models. The findings of this study have significant implications for various stakeholders in the financial industry. For investors and financial analysts, the insights gained from this research can aid in making more informed investment decisions by leveraging the predictive power of deep learning models. However, it is essential to understand the limitations and potential risks associated with relying solely on these models. From a policy perspective, the study highlights the need for regulatory frameworks that encourage innovation in financial technologies while mitigating potential risks. Policymakers can use these insights to develop guidelines and standards for the responsible use of predictive models in the financial industry. The study also acknowledges certain limitations, such as the reliance on historical data, which may not always reflect future market conditions. Additionally, the computational intensity of deep learning models may limit their practical application for some users.</p>
   <p>By offering a comparison of deep learning and conventional models for stock price prediction, this research advances financial theory and practice overall. However, acknowledging the utility of traditional models in some situations, it also highlights the promise of deep learning in capturing intricate market dynamics. In the end, the results promote better decision-making and increase market efficiency by providing investors, analysts, and regulators with actionable insights.</p>
  </sec><sec id="s7">
   <title>NOTES</title>
   <p>*These authors contributed equally to this work.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.136343-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chatterjee, A., Bhowmick, H. and Sen, J. (2021) Stock Price Prediction Using Time Series, Econometric, Machine Learning, and Deep Learning Models. In 2021 IEEE Mysore Sub Section International Conference (MysuruCon), Hassan, 24 October 2021, 89-296. &gt;https://doi.org/10.1109/MysuruCon52639.2021.9641610 
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Liu, J., Chao, F., Lin, Y.-C. and Lin, C.-M. (2019) Stock Prices Prediction Using Deep Learning Models. arXiv: 1909.12227. &gt;https://doi.org/10.48550/arxiv.1909.12227
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Vijh, M., Chandola, D., Tikkiwal, V.A. and Kumar, A. (2020) Stock Closing Price Prediction Using Machine Learning Techniques. Procedia Computer Science, 167, 599-606. &gt;https://doi.org/10.1016/j.procs.2020.03.326
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Nikou, M., Mansourfar, G. and Bagherzadeh, J. (2019) Stock Price Prediction Using DEEP Learning Algorithm and Its Comparison with Machine Learning Algorithms. Intelligent Systems in Accounting, Finance and Management, 26, 164-174. &gt;https://doi.org/10.1002/isaf.1459
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gao, W. and Su, C. (2020) Analysis on Block Chain Financial Transaction under Artificial Neural Network of Deep Learning. Journal of Computational and Applied Mathematics, 380, Article 112991. &gt;https://doi.org/10.1016/j.cam.2020.112991
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kalyoncu, S., Jamil, A., Karataş, E., Rasheed, J. and Djeddi, C. (2020) Stock Market Value Prediction Using Deep Learning. Data Science and Applications, 3, 10-14. &gt;https://www.jdatasci.com/index.php/jdatasci/article/view/42
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Aygun, B. and Kabakci Gunay, E. (2021) Günlük Bitcoin Değerini Tahmin Etmek İçin İstatistiksel ve Makine Öğrenimi Algoritmalarının Karşılaştırılması. European Journal of Science and Technology, No. 21, 444-454. &gt;https://doi.org/10.31590/ejosat.822153
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Khanderwal, S. and Mohanty, D. (2021) Stock Price Prediction Using ARI-MA Model. International Journal of Marketing &amp; Human Resource Research, 2, 98-107. &gt;https://journal.jis-institute.org/index.php/ijmhrr/article/view/235
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rubi, M.A., Chowdhury, S., Abdul Rahman, A.A., Meero, A., Zayed, N.M. and Islam, K.M.A. (2022) Fitting Multi-Layer Feed Forward Neural Network and Autoregressive Integrated Moving Average for Dhaka Stock Exchange Price Predicting. Emerging Science Journal, 6, 1046-1061. &gt;https://doi.org/10.28991/esj-2022-06-05-09
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Mehtab, S., Sen, J. and Dutta, A. (2021) Stock Price Prediction Using Machine Learning and LSTM-Based Deep Learning Models. Machine Learning and Metaheuristics Algorithms, and Applications, Chennai, 14-17 October 2020, 88-106. &gt;https://doi.org/10.1007/978-981-16-0419-5_8
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Rahman, M.O., Hossain, M.S., Junaid, T.S., Forhad, M.S.A. and Hossen, M.K. (2019) Predicting Prices of Stock Market Using Gated Recurrent Units (GRUs) Neural Networks. International Journal of Computer Science and Network Security, 19, 213-222. 
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Chen, C., Xue, L. and Xing, W. (2023) Research on Improved GRU-Based Stock Price Prediction Method. Applied Sciences, 13, Article 8813. &gt;https://doi.org/10.3390/app13158813
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Wu, H., Chen, S. and Ding, Y. (2023) Comparison of ARIMA and LSTM for Stock Price Prediction. Financial Engineering and Risk Management, 6, 1-7. &gt;https://doi.org/10.23977/ferm.2023.060101
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ghosh, A., Bose, S., Maji, G., Debnath, N. and Sen, S. (2019) Stock Price Prediction Using LSTM on Indian Share Market. EPiC Series in Computing, 63, 101-110. &gt;https://doi.org/10.29007/qgcz
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref15">
    <label>15</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Nabipour, M., Nayyeri, P., Jabani, H., Mosavi, A., Salwana, E. and Shahab, S. (2020) Deep Learning for Stock Market Prediction. Entropy, 22, Article 840. &gt;https://doi.org/10.3390/e22080840
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref16">
    <label>16</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Hu, Z., Zhao, Y. and Khushi, M. (2021) A Survey of Forex and Stock Price Prediction Using Deep Learning. Applied System Innovation, 4, Article 9. &gt;https://doi.org/10.3390/asi4010009
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref17">
    <label>17</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Moghar, A. and Hamiche, M. (2020) Stock Market Prediction Using LSTM Recurrent Neural Network. Procedia Computer Science, 170, 1168-1173. &gt;https://doi.org/10.1016/j.procs.2020.03.049
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref18">
    <label>18</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Nti, I.K., Adekoya, A.F. and Weyori, B.A. (2019) A Systematic Review of Fundamental and Technical Analysis of Stock Market Predictions. Artificial Intelligence Review, 53, 3007-3057. &gt;https://doi.org/10.1007/s10462-019-09754-z
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref19">
    <label>19</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Ma, Q. (2020) Comparison of ARIMA, ANN and LSTM for Stock Price Prediction. E3S Web of Conferences, 218, Article 01026. &gt;https://doi.org/10.1051/e3sconf/202021801026
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref20">
    <label>20</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Seabe, P.L., Moutsinga, C.R.B. and Pindza, E. (2023) Forecasting Cryptocurrency Prices Using LSTM, GRU, and Bi-Directional LSTM: A Deep Learning Approach. Fractal and Fractional, 7, Article 203. &gt;https://doi.org/10.3390/fractalfract7020203
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref21">
    <label>21</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Wikipedia (2024) Augmented Dickey-Fuller Test. &gt;https://en.wikipedia.org/w/index.php?title=Augmented_Dickey%E2%80%93Fuller_test&amp;oldid=1225407051
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref22">
    <label>22</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Siam, M.K.H., Tasnia, N., Mahmud, S., Halder, M. and Rana, M.M. (2023) A Next-Generation Device for Crop Yield Prediction Using IoT and Machine Learning. In: Nguyen, T.D.L., Verdú, E., Le, A.N. and Ganzha, M., Eds., Intelligent Systems and Networks, Springer, 668-678. &gt;https://doi.org/10.1007/978-981-99-4725-6_78
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref23">
    <label>23</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Siam, M.K., Bhattacharjee, M., Mahmud, S. and Masud, M. (2023) The Impact of Machine Learning on Society: An Analysis of Current Trends and Future Implications. EasyChair Preprint. &gt;https://doi.org/10.13140/RG.2.2.18751.48804
    </mixed-citation>
   </ref>
   <ref id="scirp.136343-ref24">
    <label>24</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Smith, C.E., Shiekh, K., Cooreman, H., Rahman, S., Zhu, Y., Siam, M.K., et al. (2024) Early Adoption of Generative Artificial Intelligence in Computing Education: Emergent Student Use Cases and Perspectives in 2023. Proceedings of the 2024 on Innovation and Technology in Computer Science Education V. 1, Milan, 8-10 July 2024, 3-9. &gt;https://doi.org/10.1145/3649217.3653575
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>