<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.4 20241031//EN" "JATS-journalpublishing1-4.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="1.4" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">am</journal-id>
      <journal-title-group>
        <journal-title>Applied Mathematics</journal-title>
      </journal-title-group>
      <issn pub-type="epub">2152-7393</issn>
      <issn pub-type="ppub">2152-7385</issn>
      <publisher>
        <publisher-name>Scientific Research Publishing</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.4236/am.2026.175015</article-id>
      <article-id pub-id-type="publisher-id">am-151474</article-id>
      <article-categories>
        <subj-group>
          <subject>Article</subject>
        </subj-group>
        <subj-group>
          <subject>Physics</subject>
          <subject>Mathematics</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Comparative Evaluation of LSTM and GRU for Long-Term Temperature Forecasting: A Case Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Purwadaria</surname>
            <given-names>Dipta Divakara Pius</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Lie</surname>
            <given-names>Ting</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <name name-style="western">
            <surname>Yuan</surname>
            <given-names>Fong-Ching</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
      </contrib-group>
      <aff id="aff1"><label>1</label> Department of Information Management, Yuan Ze University, Taoyuan </aff>
      <author-notes>
        <fn fn-type="conflict" id="fn-conflict">
          <p>The authors declare no conflicts of interest.</p>
        </fn>
      </author-notes>
      <pub-date pub-type="epub">
        <day>26</day>
        <month>05</month>
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="collection">
        <month>05</month>
        <year>2026</year>
      </pub-date>
      <volume>17</volume>
      <issue>05</issue>
      <fpage>249</fpage>
      <lpage>264</lpage>
      <history>
        <date date-type="received">
          <day>17</day>
          <month>03</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>23</day>
          <month>05</month>
          <year>2026</year>
        </date>
        <date date-type="published">
          <day>26</day>
          <month>05</month>
          <year>2026</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2026 by the authors and Scientific Research Publishing Inc.</copyright-statement>
        <copyright-year>2026</copyright-year>
        <license license-type="open-access">
          <license-p> This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link> ). </license-p>
        </license>
      </permissions>
      <self-uri content-type="doi" xlink:href="https://doi.org/10.4236/am.2026.175015">https://doi.org/10.4236/am.2026.175015</self-uri>
      <abstract>
        <p>Accurate long-term temperature forecasting is essential for climate-sensitive planning in subtropical regions characterized by pronounced seasonal variability. This study compares two recurrent neural network architectures Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) for long-term monthly temperature prediction in Taiwan region. Meteorological data from 2010 - 2025 were used, with correlation-based feature selection and Min-Max normalization applied prior to training. The dataset was chronologically partitioned into training, validation, and testing subsets to ensure temporal integrity. Model performance was evaluated using Mean Absolute Percentage Error (MAPE), and convergence behavior was examined to assess computational efficiency. Both models successfully captured nonlinear seasonal dynamics and achieved high forecasting accuracy. However, GRU converged in approximately half the number of training epochs required by LSTM, demonstrating superior computational efficiency. These results suggest that greater architectural complexity does not necessarily yield materially improved long-term forecasting performance. The findings provide empirical evidence to inform recurrent neural network selection for extended-horizon monthly climate prediction tasks.</p>
      </abstract>
      <kwd-group kwd-group-type="author-generated" xml:lang="en">
        <kwd>Forecasting</kwd>
        <kwd>Temperature</kwd>
        <kwd>LSTM</kwd>
        <kwd>GRU</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec1">
      <title>1. Introduction</title>
      <p>Accurate temperature forecasting plays a critical role in modern energy system management. In electricity-intensive regions, particularly during extended heat periods, even minor forecasting errors can substantially alter cooling demand, peak load intensity, and overall grid stability [<xref ref-type="bibr" rid="B1">1</xref>]. As climate variability intensifies and extreme temperature events become more frequent, reliable long-term temperature prediction is no longer solely a meteorological challenge. It has become a strategic component of sustainable energy planning.</p>
      <p>Taiwan region provides a compelling context for examining this issue. As a highly industrialized and densely populated economy, Taiwan region’s electricity consumption is strongly influenced by temperature fluctuations, especially during summer months when air-conditioning demand surges [<xref ref-type="bibr" rid="B2">2</xref>]. The case of Kaohsiung, Taiwan region’s largest industrial and port city, further illustrates the stakes involved. According to the Taiwan Power Company, Kaohsiung consistently records the highest electricity consumption in Taiwan region due to its heavy industrial concentration, dense urbanization, and prolonged high-temperature conditions [<xref ref-type="bibr" rid="B3">3</xref>]. In such environments, inaccurate temperature forecasts may lead to supply-demand mismatches, increasing the risk of grid stress and power shortages [<xref ref-type="bibr" rid="B4">4</xref>].</p>
      <p>Historical disruptions continue to demonstrate the severe economic consequences of energy instability, with modern outages scaling in cost alongside increased technological dependency. The March 2022 nationwide power outage in Taiwan region, triggered by a localized failure at the Hsinta Power Plant, impacted over 5.49 million households and caused industrial losses reaching tens of billions of New Taiwan dollars, a modern echo of the systemic vulnerabilities seen in 1999 [<xref ref-type="bibr" rid="B5">5</xref>]. Similarly, the United States has faced unprecedented instability; the February 2021 Texas power crisis (Winter Storm Uri) resulted in economic damages estimated between $10 billion and $20 billion in direct losses, with total societal costs nearing $200 billion [<xref ref-type="bibr" rid="B6">6</xref>]. These events highlight a crucial insight: energy resilience depends not only on generation capacity but also on accurate demand anticipation, of which temperature forecasting increasingly volatile due to climate change is a foundational element [<xref ref-type="bibr" rid="B5">5</xref>][<xref ref-type="bibr" rid="B7">7</xref>].</p>
      <p>In recent years, deep learning approaches have emerged as powerful tools for time-series forecasting. Recurrent neural network architectures such as Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) are particularly effective in modeling non-linear dynamics, long-term dependencies, and seasonal variations inherent in climate data [<xref ref-type="bibr" rid="B8">8</xref>]. Compared with traditional statistical models, these architectures offer greater flexibility in capturing complex temporal relationships without strict stationarity assumptions [<xref ref-type="bibr" rid="B9">9</xref>].</p>
      <p>Despite their increasing application, comprehensive comparisons of LSTM and GRU for long-term temperature forecasting in Taiwan region remain limited. Many existing studies focus on short-term prediction horizons or purely meteorological performance, without explicitly linking forecasting accuracy to energy system implications. Furthermore, extended multi-year evaluations that assess model robustness across varying climatic conditions are relatively scarce. To address this gap, this study develops and compares LSTM and GRU models for long-term monthly temperature forecasting in Taiwan region, using official meteorological data obtained from the Climate Observation Data Inquire Service (CODiS). The dataset spans from 2010 - 2025, enabling a comprehensive evaluation of model performance across more than 15 years of continuous climate variability. Importantly, this research situates forecasting accuracy within the broader framework of electricity demand management and energy system stability. Accordingly, this study seeks to answer the following research questions:</p>
      <p>What is the predictive performance of Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models for long-term monthly temperature forecasting in Taiwan region during the period 2010 - 2025?How do LSTM and GRU compare in terms of forecasting accuracy, convergence behavior and computational efficiency during model training?</p>
      <p>By addressing these questions, this study bridges methodological advances in deep learning with practical energy system planning considerations, offering both theoretical and applied contributions to climate-energy research.</p>
    </sec>
    <sec id="sec2">
      <title>2. Literature Review</title>
      <sec id="sec2dot1">
        <title>2.1. Temperature Forecasting and Energy Consumption</title>
        <p>Temperature forecasting plays a critical role in the operation and management of modern energy systems. As one of the most influential meteorological parameters, air temperature directly affects electricity demand patterns, particularly during summer peak periods when cooling requirements dominate total energy use. Variations in temperature can lead to significant fluctuations in electricity consumption, making accurate forecasting essential for optimizing generation schedules, managing reserve margins, and preventing power shortages [<xref ref-type="bibr" rid="B10">10</xref>].</p>
        <p>The relationship between air temperature and electricity demand is a documented pillar of energy management, with recent data confirming a significant correlation between extreme heat and record-breaking consumption. In Taiwan region, contemporary patterns from 2023 to 2025 show that daily electricity consumption from June to September remains consistently higher than during the rest of the year due to elevated ambient temperatures, with residential and commercial cooling placing substantial pressure on the grid [<xref ref-type="bibr" rid="B11">11</xref>]. Consequently, the Percent Operating Reserves (POR) of the grid often decreases as temperatures rise, frequently falling into single digits and triggering supply alerts [<xref ref-type="bibr" rid="B5">5</xref>]. These findings emphasize that accurate temperature forecasting is a cornerstone of regional energy security, especially as climate extremes increase the frequency of large-scale outages [<xref ref-type="bibr" rid="B6">6</xref>].</p>
        <p>The case of Kaohsiung, Taiwan region’s primary industrial hub, further illustrates these stakes. Kaohsiung consistently records high electricity demand driven by heavy industry, dense urbanization, and prolonged high-temperature conditions [<xref ref-type="bibr" rid="B12">12</xref>]. Power shortages in such high-demand areas can trigger severe economic losses; for example, the March 2022 nationwide blackout, caused by a failure at the Hsinta Power Plant in Kaohsiung, impacted 5.49 million households and resulted in substantial economic disruption, a modern parallel to the devastating 1999 outage [<xref ref-type="bibr" rid="B5">5</xref>]. Comparable events have been observed globally; in the United States, the February 2021 Texas grid collapse (Winter Storm Uri) resulted in estimated economic damages upwards of $130 billion [<xref ref-type="bibr" rid="B6">6</xref>].</p>
        <p>Global warming brings the importance of temperature effect on energy demand more severely. In 2025, the U.S. experienced 23 separate billion-dollar weather disasters, many involving severe storms and “heat-driven droughts” that threatened regional grid stability across the central and western states. The increasing frequency of these events can be attributed in part to global warming and climate change, which have intensified temperature extremes and made energy systems more sensitive to weather fluctuations. Notably, around 25% of this increase is expected to result directly from climate change, while the remainder stems from socioeconomic development and rising living standards. This growing demand for cooling energy underscores the importance of reliable temperature forecasting in sustainable power system management [<xref ref-type="bibr" rid="B13">13</xref>].</p>
        <p>Given this context, temperature forecasting during peak electricity demand periods becomes particularly crucial. Reliable temperature forecasts can help power utilities anticipate load fluctuations, plan generation capacity, and prevent blackouts. They also support long-term energy planning and climate adaptation strategies, ensuring that energy infrastructure remains resilient under changing climatic conditions. However, accurately forecasting temperature, especially over long-term horizons, remains challenging due to the nonlinear and dynamic nature of atmospheric processes. These challenges have motivated researchers to explore advanced computational methods, including machine learning and deep learning models, to improve forecast precision and robustness [<xref ref-type="bibr" rid="B14">14</xref>].</p>
      </sec>
      <sec id="sec2dot2">
        <title>2.2. Deep Learning Approaches for Temperature</title>
        <p>Forecasting tasks involving sequential or time-dependent data, such as meteorological and energy demand prediction, are highly complex due to the intricate temporal dependencies inherent in the data. Traditional models, including basic Artificial Neural Networks (ANN) and early Recurrent Neural Networks (RNN), frequently encounter challenges when processing long sequences, primarily due to the “vanishing” and “exploding” gradient problems during the training phase. To overcome these limitations, advanced gated architectures such as LSTM and GRU have been developed to effectively capture long-range dependencies.</p>
        <p>2.2.1. Long Short-Term Memory (LSTM)</p>
        <p>The LSTM network, introduced in [<xref ref-type="bibr" rid="B15">15</xref>], is a specialized RNN architecture designed to maintain an internal memory state over extended periods. Unlike standard feedforward networks where inputs are independent, LSTM utilizes a cell state (memory) and a series of “gates” to regulate the flow of information.</p>
        <p>Forget Gate: This initial stage determines which information from the previous cell state should be discarded. It utilizes a sigmoid function to evaluate the previous hidden state and the current input, outputting a value between 0 (completely discard) and 1 (completely retain).Input Gate: This gate identifies which new information will be stored in the cell state. A sigmoid layer decides which values to update, while a tanh layer creates a vector of new candidate values; these are multiplied to update the memory.Output Gate: Finally, the output is determined based on the filtered version of the cell state. A sigmoid function decides which parts of the state to output, which is then multiplied by the cell state passed through a tanh function to ensure the final output remains within a standardized range.</p>
        <p>While LSTMs are highly effective for complex time-series problems, their sophisticated architecture—consisting of three distinct gates—can lead to increased computational demands and longer training times.</p>
        <p>2.2.2. Gated Recurrent Unit (GRU)</p>
        <p>As a response to the computational complexity of LSTMs, [<xref ref-type="bibr" rid="B16">16</xref>] introduced the Gated Recurrent Unit (GRU), a streamlined variant that offers comparable performance with a simplified structure. The GRU optimizes efficiency by merging the cell state and hidden state and reducing the number of gates to two:</p>
        <p>Update Gate: This component combines the functions of the LSTM’s forget and input gates, determining how much of the previous memory should be retained and how much new information should be added.Reset Gate: This gate controls how much of the past information is used to calculate the new candidate state, effectively deciding how to combine the new input with the previous memory.</p>
        <p>Because the GRU features fewer parameters, it often achieves faster convergence during training compared to the LSTM, making it an increasingly popular choice for resource-efficient climate modeling. Recent studies have indicated that for multi-year monthly forecasting, the GRU can provide predictive accuracy like that of the more complex LSTM while significantly reducing the number of training epochs required.</p>
      </sec>
      <sec id="sec2dot3">
        <title>2.3. Correlation Analysis</title>
        <p>In temperature and energy forecasting studies, input variable selection plays a crucial role in determining model accuracy and computational efficiency. Including irrelevant or redundant variables can degrade model performance, while carefully chosen predictors enhance generalization and reduce overfitting. One of the most widely used statistical techniques for identifying relevant input features is correlation analysis, which measures the strength and direction of a linear relationship between variables.</p>
        <p>Among various correlation measures, the Pearson Product-Moment Correlation (PPMC) coefficient is commonly employed to quantify the relationship between two continuous variables. The Pearson correlation coefficient <inline-formula><mml:math><mml:math xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi> ρ </mml:mi></mml:math></mml:math></inline-formula> is mathematically defined as:</p>
        <disp-formula id="FD1">
          <label>(1)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>ρ</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mstyle displaystyle="true">
                    <mml:msubsup>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>i</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:msubsup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>x</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mo>−</mml:mo>
                          <mml:msub>
                            <mml:mi>μ</mml:mi>
                            <mml:mi>x</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                      <mml:mrow>
                        <mml:mo>(</mml:mo>
                        <mml:mrow>
                          <mml:msub>
                            <mml:mi>y</mml:mi>
                            <mml:mi>i</mml:mi>
                          </mml:msub>
                          <mml:mo>−</mml:mo>
                          <mml:msub>
                            <mml:mi>μ</mml:mi>
                            <mml:mi>y</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo>)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
                <mml:mrow>
                  <mml:msqrt>
                    <mml:mrow>
                      <mml:mstyle displaystyle="true">
                        <mml:msubsup>
                          <mml:mo>∑</mml:mo>
                          <mml:mrow>
                            <mml:mi>i</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mn>1</mml:mn>
                          </mml:mrow>
                          <mml:mi>n</mml:mi>
                        </mml:msubsup>
                        <mml:mrow>
                          <mml:msup>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>x</mml:mi>
                                    <mml:mi>i</mml:mi>
                                  </mml:msub>
                                  <mml:mo>−</mml:mo>
                                  <mml:msub>
                                    <mml:mi>μ</mml:mi>
                                    <mml:mi>x</mml:mi>
                                  </mml:msub>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mn>2</mml:mn>
                          </mml:msup>
                        </mml:mrow>
                      </mml:mstyle>
                      <mml:mstyle displaystyle="true">
                        <mml:msubsup>
                          <mml:mo>∑</mml:mo>
                          <mml:mrow>
                            <mml:mi>i</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mn>1</mml:mn>
                          </mml:mrow>
                          <mml:mi>n</mml:mi>
                        </mml:msubsup>
                        <mml:mrow>
                          <mml:msup>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>y</mml:mi>
                                    <mml:mi>i</mml:mi>
                                  </mml:msub>
                                  <mml:mo>−</mml:mo>
                                  <mml:msub>
                                    <mml:mi>μ</mml:mi>
                                    <mml:mi>y</mml:mi>
                                  </mml:msub>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mn>2</mml:mn>
                          </mml:msup>
                        </mml:mrow>
                      </mml:mstyle>
                    </mml:mrow>
                  </mml:msqrt>
                </mml:mrow>
              </mml:mfrac>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mtext>
                 
              </mml:mtext>
              <mml:mo>−</mml:mo>
              <mml:mn>1</mml:mn>
              <mml:mo>≤</mml:mo>
              <mml:mi>r</mml:mi>
              <mml:mo>≤</mml:mo>
              <mml:mn>1</mml:mn>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <italic>n</italic> is the number of observations; <italic>x</italic><italic><sub>i</sub></italic> is the value of <italic>x</italic> (for <italic>i</italic>-th observation); <italic>y</italic><italic><sub>i</sub></italic> is the value of <italic>y</italic> (for <italic>i</italic><italic>-</italic>th observation); <italic>µ</italic><italic><sub>x</sub></italic> is the mean of <italic>x</italic> variable; <italic>µ</italic><italic><sub>y</sub></italic> is the mean of <italic>y</italic> variable. The <italic>r</italic> values range between −1.0 and −0.7 shows a strong negative correlation, while a correlation between 0.7 and 1.0 indicates a strong positive correlation. A correlation of 0.0 indicates no relationship at all. </p>
        <p>According to statistical conventions follows [<xref ref-type="bibr" rid="B17">17</xref>]:</p>
        <p>|<italic>r</italic>| ≥ 0.7: Strong correlation0.5 ≤ |<italic>r</italic>| &lt; 0.7: Moderate correlation|<italic>r</italic>| &lt; 0.5: Weak correlation</p>
        <p>By applying correlation analysis before model training, redundant and weakly correlated predictors are eliminated. This preprocessing not only reduces computational complexity but also improves model convergence and accuracy. The approach aligns with recommendations from [<xref ref-type="bibr" rid="B18">18</xref>] and [<xref ref-type="bibr" rid="B19">19</xref>], who emphasized that feature selection based on correlation can significantly improve the performance of forecasting models in energy and environmental applications.</p>
      </sec>
      <sec id="sec2dot4">
        <title>2.4. Evaluating the Performance Index</title>
        <p>Several measurement indicators have been proposed and employed to assess the prediction accuracy of models. The most frequently used measure is the mean absolute percentage error (MAPE) [<xref ref-type="bibr" rid="B18">18</xref>]. A significant advantage of this measure is that it does not depend on the magnitudes of the forecast variables. [<xref ref-type="bibr" rid="B19">19</xref>] suggested that MAPE is the most appropriate error measure for evaluating forecasting performance. In this study, the mean absolute percentage error (MAPE) is used to evaluate the forecasting accuracy through cross-sectional analysis.</p>
        <disp-formula id="FD2">
          <label>(2)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:mi>M</mml:mi>
              <mml:mi>A</mml:mi>
              <mml:mi>P</mml:mi>
              <mml:mi>E</mml:mi>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mstyle displaystyle="true">
                    <mml:msubsup>
                      <mml:mo>∑</mml:mo>
                      <mml:mrow>
                        <mml:mi>t</mml:mi>
                        <mml:mo>=</mml:mo>
                        <mml:mn>1</mml:mn>
                      </mml:mrow>
                      <mml:mi>n</mml:mi>
                    </mml:msubsup>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mo>|</mml:mo>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:mrow>
                              <mml:mrow>
                                <mml:mo>(</mml:mo>
                                <mml:mrow>
                                  <mml:msub>
                                    <mml:mi>A</mml:mi>
                                    <mml:mi>t</mml:mi>
                                  </mml:msub>
                                  <mml:mo>−</mml:mo>
                                  <mml:msub>
                                    <mml:mi>F</mml:mi>
                                    <mml:mi>t</mml:mi>
                                  </mml:msub>
                                </mml:mrow>
                                <mml:mo>)</mml:mo>
                              </mml:mrow>
                            </mml:mrow>
                            <mml:mo>/</mml:mo>
                            <mml:mrow>
                              <mml:msub>
                                <mml:mi>A</mml:mi>
                                <mml:mi>t</mml:mi>
                              </mml:msub>
                            </mml:mrow>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>|</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mstyle>
                </mml:mrow>
                <mml:mi>n</mml:mi>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
        <p>where <italic>A</italic><italic><sub>t</sub></italic> is the actual values for period <italic>t</italic>, <italic>F</italic><italic><sub>t</sub></italic> the expected value for period <italic>t</italic>, and <italic>n</italic> is the number of training samples. The smaller the <italic>MAPE</italic>, the closer to the actual historical data, the predicted values are, and the more accurate is the forecasting model.</p>
      </sec>
    </sec>
    <sec id="sec3">
      <title>3. Methodology</title>
      <sec id="sec3dot1">
        <title>3.1. Flow Chart of LSTM and GRU Models</title>
        <p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows the flowchart of LSTM and GRU models which have been used in this investigation. The data set is partitioned to three parts—training data set, validation data set, and testing data set. The training data set was used to determine the optimal forecasting model, the validation data set was used to prevent over-fitting of the various models, and the testing data set was used to investigate the performance of the various models [<xref ref-type="bibr" rid="B20">20</xref>]. The optimization scheme of two models is summarized as follows: Step 1 is to use correlation analysis to obtain the best features. Step 2 is to initialize the epoch of the models. Step 3 is to evaluate the fitness of each epoch using MAPE given in Equation (2) for each training and validation data set. Step 4 is to repeat the process, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> until the epoch’s number is equal to 1000 with MAPE convergence. When the termination condition is satisfied, the well-trained models and testing data set will be used with the best epoch to investigate the performance of the models.</p>
        <fig id="fig1">
          <label>Figure 1</label>
          <graphic xlink:href="https://html.scirp.org/file/7405578-rId17.jpeg?20260610040941" />
        </fig>
        <p><bold>Figure 1.</bold>Flowchart of LSTM and GRU models.</p>
      </sec>
      <sec id="sec3dot2">
        <title>3.2. Study Area and Data Description</title>
        <p>This study focuses on Kaohsiung, Taiwan region’s largest industrial and port city, which consistently records the highest electricity consumption nationwide according to the Taiwan Power Company. Due to its dense industrial concentration and prolonged summer heat exposure, Kaohsiung represents a high temperature-elastic electricity demand environment, making it an ideal case for evaluating forecasting performance under peak-load-sensitive conditions.</p>
        <p>The meteorological data used in this study were obtained from the Central Weather Administration (CWA) of Taiwan region, specifically focusing on the Kaohsiung station records from 2010 to 2025. To ensure the reliability of the long-term series, a rigorous completeness check was performed on the hourly records. Although the station identifier transitioned from 467440 to 467441 during the study period because of the updating the equipment from the old to the new, the geographic coordinates and sensor calibration remained consistent, allowing for a seamless integration of the two records. Missing hourly observations accounts for less than 0.5% of the total dataset. Because the study focuses on monthly temperature aggregated from the 10:00 - 17:00 window, which are the working hours for the factories in Taiwan region using the electricity, any days with more than two missing hours within this specific timeframe were excluded from the monthly mean calculation to maintain high data fidelity. This ensures that the final dataset accurately reflects the peak thermal characteristics of the region without being skewed by instrumental downtime or station relocation.</p>
      </sec>
      <sec id="sec3dot3">
        <title>3.3. Data Preprocessing</title>
        <p>To establish a rigorous data foundation for the forecasting models, the meteorological parameters initially identified in <bold>Table 1</bold> underwent a systematic screening process using Pearson correlation analysis. This stage is critical for enhancing model efficiency and predictive accuracy by isolating the most influential drivers of thermal dynamics in Kaohsiung. </p>
        <p>To ensure the model adheres to real-world forecasting constraints and to avoid target leakage, all input features were defined as lagged variables. Specifically, for a target temperature at month <italic>t</italic>, the model strictly utilizes meteorological predictors from the preceding months (<italic>t</italic>-1 through <italic>t</italic>-12). As detailed in <bold>Table 2</bold>, variables demonstrating a strong linear relationship with monthly temperature defined by a Pearson correlation coefficient |<italic>r</italic>| ≥ 0.7 were prioritized for model integration. These selected predictors, which include station pressure, sea-level pressure, dew-point temperature, and body temperature, serve as the foundational lagged inputs for the LSTM and GRU architectures.</p>
        <p>To reduce redundancy and improve model efficiency, Pearson correlation analysis was conducted between monthly temperature and candidate meteorological variables. Variables with absolute correlation coefficients |r| ≥ 0.7 were selected as input predictors.</p>
        <p>As detailed in <bold>Table 2</bold>, the relationships between the potential predictors and the target monthly temperature were quantified, with the strongest correlations highlighted in bold type. These bolded entries indicate variables that meet the selection threshold of a Pearson correlation coefficient |r| ≥ 0.7, signaling a high degree of linear association.</p>
        <p><bold>Table 1</bold><bold>.</bold> Frequently used variables in temperature predictions models.</p>
        <table-wrap id="tbl1">
          <label>Table 1</label>
          <table>
            <tbody>
              <tr>
                <td>Variables</td>
                <td>Frequency</td>
                <td>Unit</td>
                <td>Explanation</td>
              </tr>
              <tr>
                <td>Station test pressure</td>
                <td>Monthly (M)</td>
                <td>hPa</td>
                <td>Atmospheric pressure is directly observed by the observatory.</td>
              </tr>
              <tr>
                <td>Sea-level pressure</td>
                <td>Monthly (M)</td>
                <td>hPa</td>
                <td>Height affects the air pressure, converting the observed air pressure to that at sea level.</td>
              </tr>
              <tr>
                <td>Temperature</td>
                <td>Monthly (M)</td>
                <td>˚C</td>
                <td>Represents the current cold and hot values.</td>
              </tr>
              <tr>
                <td>Dew-point temperature</td>
                <td>Monthly (M)</td>
                <td>˚C</td>
                <td>The temperature required to which the gaseous water contained in the air at the fixed pressure is saturated and condensed into liquid water.</td>
              </tr>
              <tr>
                <td>Relative humidity</td>
                <td>Monthly (M)</td>
                <td>%</td>
                <td>The percentage of the partial pressure and the pressure of saturated vapor at the same temperature and volume. That is the ratio between absolute humidity to maximum humidity, whose value shows how saturated water vapor is.</td>
              </tr>
              <tr>
                <td>Wind speed</td>
                <td>Monthly (M)</td>
                <td>m/s</td>
                <td>Speed of the wind.</td>
              </tr>
              <tr>
                <td>Wind direction</td>
                <td>Monthly (M)</td>
                <td>%</td>
                <td>The direction the wind blows.</td>
              </tr>
              <tr>
                <td>Peak gust</td>
                <td>Monthly (M)</td>
                <td>m/s</td>
                <td>A gust refers to an instantly changing wind, with the maximum gust being the maximum gust during that period.</td>
              </tr>
              <tr>
                <td>Max. gust wind direction</td>
                <td>Monthly (M)</td>
                <td>360˚</td>
                <td>The wind direction comes from the maximum wind gust.</td>
              </tr>
              <tr>
                <td>Precipitation</td>
                <td>Monthly (M)</td>
                <td>mm</td>
                <td>The amount of accumulated rainwater.</td>
              </tr>
              <tr>
                <td>Hours of precipitation</td>
                <td>Monthly (M)</td>
                <td>hr</td>
                <td>The duration when the rain lasts.</td>
              </tr>
              <tr>
                <td>Hours of sunshine</td>
                <td>Monthly (M)</td>
                <td>hr</td>
                <td>The duration of the sun.</td>
              </tr>
              <tr>
                <td>Full sky radiation</td>
                <td>Monthly (M)</td>
                <td>MJ/nf</td>
                <td>Used to measure solar radiation energy at a given time and region.</td>
              </tr>
              <tr>
                <td>Visibility</td>
                <td>Monthly (M)</td>
                <td>km</td>
                <td>The observer can still clearly see the object at how far away from the object.</td>
              </tr>
              <tr>
                <td>Ultra-violet Index</td>
                <td>Monthly (M)</td>
                <td>UVI</td>
                <td>Solar UV radiation intensity.</td>
              </tr>
              <tr>
                <td>Total amount of cloud</td>
                <td>Monthly (M)</td>
                <td>0 - 10</td>
                <td>The proportion of the sky shaded by the clouds, 0 cloudless, 10 clouds for all day.</td>
              </tr>
              <tr>
                <td>Body temperature</td>
                <td>Monthly (M)</td>
                <td>˚C</td>
                <td>The human body’s feeling of temperature.</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>Implementing this threshold ensures the retention of only the most statistically significant predictors, effectively reducing dimensionality and streamlining the model architecture. By eliminating redundant or weakly correlated variables, this approach improves convergence stability during the estimation process and mitigates the risk of overfitting, thereby enhancing the model’s predictive generalizability.</p>
        <p><bold>Table 2</bold><bold>.</bold>Correlation analysis.</p>
        <table-wrap id="tbl2">
          <label>Table 2</label>
          <table>
            <tbody>
              <tr>
                <td>Variables</td>
                <td>Pearson correlation coefficient</td>
                <td>Variables</td>
                <td>Pearson correlation coefficient</td>
              </tr>
              <tr>
                <td>Station test pressure</td>
                <td>
                  <bold>0.8764</bold>
                </td>
                <td>Precipitation</td>
                <td>0.4953</td>
              </tr>
              <tr>
                <td>Sea-level pressure</td>
                <td>
                  <bold>0.8953</bold>
                </td>
                <td>Hours of precipitation</td>
                <td>0.4504</td>
              </tr>
              <tr>
                <td>Temperature</td>
                <td>
                  <bold>0.9214</bold>
                </td>
                <td>Hours of sunshine</td>
                <td>0.4075</td>
              </tr>
              <tr>
                <td>Dew-point temperature</td>
                <td>
                  <bold>0.9727</bold>
                </td>
                <td>Full sky radiation</td>
                <td>0.6596</td>
              </tr>
              <tr>
                <td>Relative humidity</td>
                <td>0.4423</td>
                <td>Visibility</td>
                <td>0.6853</td>
              </tr>
              <tr>
                <td>Wind speed</td>
                <td>0.1542</td>
                <td>Ultra-violet index</td>
                <td>0.6946</td>
              </tr>
              <tr>
                <td>Wind direction</td>
                <td>
                  <bold>0.7184</bold>
                </td>
                <td>Total amount of cloud</td>
                <td>0.2674</td>
              </tr>
              <tr>
                <td>Peak gust</td>
                <td>0.3901</td>
                <td>Body temperature</td>
                <td>
                  <bold>0.9171</bold>
                </td>
              </tr>
              <tr>
                <td>Max. gust wind direction</td>
                <td>0.1151</td>
                <td>
                </td>
                <td>
                </td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>By filtering out weakly correlated variables and strictly utilizing historical lags, the study reduces dimensionality and ensures that the forecasting results are not artificially inflated by contemporaneous data leakage. Finally, all selected variables were normalized using Min-Max scaling prior to model training to ensure numerical stability and accelerate gradient-based optimization:</p>
        <disp-formula id="FD3">
          <label>(3)</label>
          <mml:math display="inline">
            <mml:mrow>
              <mml:msub>
                <mml:mi>X</mml:mi>
                <mml:mrow>
                  <mml:mtext>scaled</mml:mtext>
                </mml:mrow>
              </mml:msub>
              <mml:mo>=</mml:mo>
              <mml:mfrac>
                <mml:mrow>
                  <mml:mi>X</mml:mi>
                  <mml:mo>−</mml:mo>
                  <mml:msub>
                    <mml:mi>X</mml:mi>
                    <mml:mrow>
                      <mml:mi>min</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>X</mml:mi>
                    <mml:mrow>
                      <mml:mi>max</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>−</mml:mo>
                  <mml:msub>
                    <mml:mi>X</mml:mi>
                    <mml:mrow>
                      <mml:mi>min</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:mfrac>
            </mml:mrow>
          </mml:math>
        </disp-formula>
      </sec>
      <sec id="sec3dot4">
        <title>3.4. Data Partitioning</title>
        <p>To preserve temporal integrity and prevent data leakage, the dataset was chronologically divided into three non-overlapping subsets. The training set, spanning the years 2010 through 2022, was utilized to estimate the models’ internal parameters and weights across thirteen years of continuous meteorological observations. Subsequent data from 2023 formed the validation set, which was used exclusively to tune hyperparameters and monitor convergence behavior to prevent overfitting during the training process. Finally, the period of 2024 - 2025 was designated as the testing set, reserved for out-of-sample performance evaluation. In this phase, the models utilized the 2024 data to generate the 2025 temperature forecasts, ensuring that the reported accuracy metrics reflect the models’ ability to predict a truly independent future horizon.</p>
      </sec>
      <sec id="sec3dot5">
        <title>3.5. Model Training Strategy and Parameter</title>
        <p>To transition from raw time-series observations to a supervised learning format, a sliding window technique was implemented. This study utilized a look-back window of 12 months, meaning the meteorological features from the previous year were used as input to predict the temperature for the following month, establishing a forecast horizon of <italic>t</italic> + 1. Given the total dataset span from January 2010 to December 2025, this 12-month sliding window generated a total of 180 overlapping sequences. This sequence count provides a sufficient dataset for deep learning, allowing the LSTM and GRU architectures to effectively learn the recurring seasonal dependencies and long-term thermal dynamics inherent in Taiwan region’s climate. Both models were trained using Backpropagation Through Time (BPTT). The objective of optimization was to minimize Mean Absolute Percentage Error (MAPE). Training continued until validation MAPE stabilized, preventing overfitting. The parameter settings of LSTM and GRU are shown in <bold>Table 3</bold>.</p>
        <p><bold>Table 3</bold><bold>.</bold>Parameter setting of the optimization searching algorithms.</p>
        <table-wrap id="tbl3">
          <label>Table 3</label>
          <table>
            <tbody>
              <tr>
                <td>Algorithm</td>
                <td>Parameter</td>
                <td>Algorithm value</td>
              </tr>
              <tr>
                <td rowspan="7">LSTM</td>
                <td>Number of training and validation epochs</td>
                <td>1000</td>
              </tr>
              <tr>
                <td>Number of testing epochs</td>
                <td>Based on loss</td>
              </tr>
              <tr>
                <td>Batch size</td>
                <td>32</td>
              </tr>
              <tr>
                <td>Optimizer</td>
                <td>Adam</td>
              </tr>
              <tr>
                <td>First LSTM layer unit</td>
                <td>50</td>
              </tr>
              <tr>
                <td>Second LSTM layer unit</td>
                <td>50</td>
              </tr>
              <tr>
                <td>Third LSTM layer unit</td>
                <td>50</td>
              </tr>
              <tr>
                <td rowspan="6">GRU</td>
                <td>Number of training and validation epochs</td>
                <td>1000</td>
              </tr>
              <tr>
                <td>Number of testing epochs</td>
                <td>Based on loss</td>
              </tr>
              <tr>
                <td>Batch size</td>
                <td>32</td>
              </tr>
              <tr>
                <td>Optimizer</td>
                <td>Adam</td>
              </tr>
              <tr>
                <td>First GRU layer unit</td>
                <td>50</td>
              </tr>
              <tr>
                <td>Second GRU layer unit</td>
                <td>50</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
        <p>To ensure a rigorous and controlled comparison, both the LSTM and GRU architectures were evaluated using an identical hyperparameter search space. This included a shared configuration for the Adam optimizer, a consistent batch size of 32, and a standardized unit count of 50 per layer. While the LSTM model was configured with three recurrent layers, the GRU architecture utilized two. This structural variation was determined through preliminary hyperparameter tuning on the validation set; it was observed that a third GRU layer introduced unnecessary architectural complexity that led to immediate overfitting and increased computational latency without improving predictive accuracy. Therefore, the chosen configurations represent the optimal depth for each specific model type under the same experimental constraints, ensuring that the performance comparison reflects the best-tuned version of each architecture.</p>
        <p>Based on the empirical observations during the training phase, the two recurrent neural network architectures exhibited distinct convergence behaviors. The Long Short-Term Memory (LSTM) network reached convergence at approximately 800 epochs, whereas the Gated Recurrent Unit (GRU) network converged more rapidly, requiring only about 400 epochs.</p>
        <p>To ensure optimal forecasting performance and mitigate the risk of overfitting, the final weights for both models were not necessarily taken from the final epoch. Instead, the models were strictly selected based on the epoch that yielded the minimum Mean Absolute Percentage Error (MAPE) on the validation set.</p>
      </sec>
    </sec>
    <sec id="sec4">
      <title>4. Result and Discussion</title>
      <p>This section presents the empirical findings derived from the implementation of the LSTM and GRU models for long-term monthly temperature forecasting in Kaohsiung, Taiwan region. The results are evaluated based on graphical comparison, numerical prediction accuracy, and error-based performance metrics. Emphasis is placed on assessing the models’ ability to capture seasonal temperature dynamics, maintain stability across transitional climatic periods, and deliver reliable forecasts during peak summer months when electricity demand sensitivity is the highest. In addition to predictive accuracy, convergence behavior and computational efficiency are considered to provide a comprehensive evaluation of model suitability for temperature-driven energy demand management applications. </p>
      <p>The following analysis systematically interprets the forecasting outcomes and discusses their implications within the broader context of climate variability and energy system resilience.</p>
      <p><xref ref-type="fig" rid="fig2">Figure 2</xref> presents the graphical comparison between observed monthly temperatures in Kaohsiung and the corresponding predictions generated by the LSTM and GRU models. The figure demonstrates that both architectures effectively reproduce the pronounced seasonal cycle typical of subtropical climates, including lower temperatures in winter (January-February), a steady increase during spring, a sustained peak during summer (June-September), and a gradual decline toward late autumn and early winter. The predicted curves from both models closely track the observed trajectory without structural divergence, indicating strong generalization capability beyond the training period. Minor deviations are observable during transitional months, where both models slightly overestimate temperatures in early-year months and show marginal fluctuations during the peak summer period. </p>
      <p>However, these discrepancies remain limited in magnitude and do not disrupt the overall seasonal structure. The graphical alignment suggests that both recurrent architectures successfully capture long-term nonlinear dependencies embedded in the monthly temperature series.</p>
      <fig id="fig2">
        <label>Figure 2</label>
        <graphic xlink:href="https://html.scirp.org/file/7405578-rId20.jpeg?20260610040942" />
      </fig>
      <p><bold>Figure 2</bold><bold>.</bold>Comparison of actual value and prediction results using LSTM and GRU.</p>
      <p><bold>Table 4</bold> provides a detailed numerical comparison of actual and predicted values across all twelve months. The results indicate that both models maintain forecasting errors within a narrow range, generally below ±1˚C. During winter months, both LSTM and GRU tend to slightly overestimate temperature, which may reflect reduced variance and greater atmospheric instability during colder periods. In spring and early summer, predictions closely approximate observed values, demonstrating stable learning of transitional seasonal dynamics. Notably, during peak summer months when electricity demand sensitivity is the highest in both models exhibit strong predictive consistency, with only minor overestimation in July and marginal deviations in late summer. This stability during high-temperature periods is particularly significant from an energy management perspective, as forecasting reliability during peak demand seasons directly influences load allocation and reserve planning decisions. Toward the end of the year, both models show slight underestimation, yet the magnitude remains operationally acceptable. Overall, the monthly breakdown confirms that forecasting performance is consistent across seasons and does not exhibit systematic bias.</p>
      <p><bold>Table 4</bold><bold>.</bold>Forecasting model results.</p>
      <table-wrap id="tbl4">
        <label>Table 4</label>
        <table>
          <tbody>
            <tr>
              <td>Model</td>
              <td>Jan</td>
              <td>Feb</td>
              <td>Mar</td>
              <td>Apr</td>
              <td>May</td>
              <td>Jun</td>
              <td>Jul</td>
              <td>Aug</td>
              <td>Sep</td>
              <td>Oct</td>
              <td>Nov</td>
              <td>Dec</td>
            </tr>
            <tr>
              <td>Actual value</td>
              <td>17.2</td>
              <td>17.9</td>
              <td>21.4</td>
              <td>24.8</td>
              <td>28.2</td>
              <td>28.6</td>
              <td>28.2</td>
              <td>28.2</td>
              <td>28.2</td>
              <td>27.6</td>
              <td>23.3</td>
              <td>20.6</td>
            </tr>
            <tr>
              <td>LSTM</td>
              <td>18.9</td>
              <td>20.7</td>
              <td>23.0</td>
              <td>25.1</td>
              <td>28.6</td>
              <td>29.0</td>
              <td>30.0</td>
              <td>28.8</td>
              <td>28.7</td>
              <td>26.6</td>
              <td>22.8</td>
              <td>19.7</td>
            </tr>
            <tr>
              <td>GRU</td>
              <td>18.9</td>
              <td>20.6</td>
              <td>23.2</td>
              <td>25.8</td>
              <td>27.6</td>
              <td>29.0</td>
              <td>29.1</td>
              <td>28.2</td>
              <td>28.3</td>
              <td>26.2</td>
              <td>23.6</td>
              <td>19.2</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p>To further evaluate and compare the predictive performance of the two recurrent architectures, Mean Absolute Percentage Error (MAPE) was employed as the primary accuracy metric. MAPE provides a scale-independent assessment of forecasting precision and allows for direct comparison between models. The results indicate that both LSTM and GRU achieve MAPE values below the commonly accepted 5% threshold for high-accuracy forecasting, demonstrating strong reliability in long-term monthly temperature prediction. The LSTM model records a slightly lower MAPE than GRU; however, the difference between the two values is minimal and does not indicate a practically significant performance gap.</p>
      <p><bold>Table 5</bold> summarizes the comparative predictive accuracy of the recurrent architecture using Mean Absolute Percentage Error (MAPE), Mean Absolute Error (MAE), and Root Mean Square Error (RMSE). The results indicate that both LSTM and GRU achieve MAPE values below the commonly accepted 0.05 threshold for high-accuracy forecasting, demonstrating strong reliability in long-term monthly temperature prediction. Specifically, the LSTM model records a MAPE of 0.0481, while the GRU model achieves a nearly identical value of 0.0483. In terms of absolute error, both models maintain an MAE of approximately 1.03˚C and an RMSE of 1.28˚C, confirming that the average prediction deviation remains within a narrow and operationally acceptable range for climate-sensitive applications.</p>
      <p><bold>Table 5</bold><bold>.</bold>Performance comparison of the different forecasting models.</p>
      <table-wrap id="tbl5">
        <label>Table 5</label>
        <table>
          <tbody>
            <tr>
              <td>Model</td>
              <td>MAPE</td>
              <td>MAE (˚C)</td>
              <td>RMSE (˚C)</td>
            </tr>
            <tr>
              <td>LSTM</td>
              <td>0.0481</td>
              <td>1.0460</td>
              <td>1.2826</td>
            </tr>
            <tr>
              <td>GRU</td>
              <td>0.0483</td>
              <td>1.0334</td>
              <td>1.2775</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
      <p>Although the LSTM yields a marginally lower MAPE, the absolute difference between the two models is negligible and does not indicate a practically significant performance advantage in the context of temperature-driven energy planning. However, when considering training dynamics where the GRU reached convergence in approximately 400 epochs compared to the 800 epochs required by the LSTM the results suggest that the GRU achieves comparable predictive precision with substantially greater computational efficiency. These findings highlight that increased architectural complexity does not necessarily translate into materially superior long-term forecasting performance for monthly climate series. Consequently, the GRU offers a more balanced and resource-efficient solution for practical implementation in temperature-elastic electricity markets.</p>
    </sec>
    <sec id="sec5">
      <title>5. Discussion</title>
      <p>This study developed and systematically compared Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models for long-term monthly temperature forecasting in Kaohsiung, Taiwan region, using more than 15 years of continuous meteorological observations. By integrating correlation-based feature selection, rigorous data partitioning, and validation-based model selection, the research aimed to evaluate not only predictive accuracy but also computational efficiency and practical relevance within a temperature-driven electricity demand context.</p>
      <p>The empirical results demonstrate that both LSTM and GRU effectively capture the nonlinear seasonal dynamics inherent in subtropical climate time series. Both models achieved Mean Absolute Percentage Error (MAPE) values below 0.05, indicating high forecasting reliability for long-term monthly prediction tasks. For comparison purpose, preliminary testing with a Seasonal Naïve model was run as being a benchmark model for this study, yielded a MAPE of 0.0551, which exceeded the commonly accepted 0.05 threshold for high-accuracy forecasting. In conclusion, although LSTM produced a marginally lower MAPE than GRU, the difference was negligible in practical terms. Notably, GRU converged in approximately half the number of epochs required by LSTM, highlighting its superior computational efficiency without sacrificing predictive precision.</p>
      <p>These findings suggest that increased architectural complexity does not necessarily guarantee materially improved performance in long-horizon monthly climate forecasting. For applications where computational cost, scalability, and real-time adaptability are critical considerations, GRU may offer a balanced and resource-efficient alternative to LSTM. From a methodological standpoint, this study contributes to the ongoing debate regarding recurrent neural network selection for environmental time series analysis, particularly under extended multi-year forecasting horizons.</p>
      <p>Beyond methodological implications, the study situates forecasting accuracy within the broader framework of energy system resilience. In temperature-elastic electricity markets such as Kaohsiung, maintaining forecasting errors within a narrow margin is essential for effective load scheduling, reserve allocation, and grid stability planning. Accurate monthly temperature prediction enhances the capacity of power utilities to anticipate demand fluctuations and mitigate supply-demand mismatches.</p>
      <p>Nevertheless, several limitations should be acknowledged. The study focuses on a single metropolitan case, and future research could extend the comparative framework to multiple climatic zones to evaluate spatial generalizability. Furthermore, while this study prioritized high-accuracy gated architectures, future investigations should explicitly compare these results against a wider array of traditional statistical benchmarks and hybrid models to further quantify the performance gains of deep learning in varied environments. Additionally, incorporating attention mechanisms or exogenous socioeconomic variables may further enhance predictive robustness.</p>
      <p>In conclusion, this research demonstrates that both LSTM and GRU are highly effective for long-term monthly temperature forecasting, with GRU offering comparable accuracy and superior computational efficiency. By bridging deep learning methodology with practical energy demand considerations, this study provides empirical evidence supporting the strategic role of advanced forecasting models in strengthening climate-adaptive energy system management.</p>
    </sec>
    <sec id="sec6">
      <title>Funding</title>
      <p>This work was supported by the Ministry of Science and Technology (MOST) of the Taiwan region, under Project MOST 110-2410-H-155-003.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <title>References</title>
      <ref id="B1">
        <label>1.</label>
        <citation-alternatives>
          <mixed-citation publication-type="report">IPCC (2023) Climate Change 2023: Synthesis Report. Intergovernmental Panel on Climate Change.</mixed-citation>
          <element-citation publication-type="report">
            <year>2023</year>
            <article-title>Climate Change 2023: Synthesis Report</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B2">
        <label>2.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Huang, Y. (2020) Examining Impact Factors of Residential Electricity Consumption in Taiwan Region Using Index Decomposition Analysis Based on End-Use Level Data. <italic>Energy</italic>, 213, Article ID: 119067. https://doi.org/10.1016/j.energy.2020.119067 <pub-id pub-id-type="doi">10.1016/j.energy.2020.119067</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.energy.2020.119067">https://doi.org/10.1016/j.energy.2020.119067</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Huang, Y.</string-name>
            </person-group>
            <year>2020</year>
            <article-title>Examining Impact Factors of Residential Electricity Consumption in Taiwan Region Using Index Decomposition Analysis Based on End-Use Level Data</article-title>
            <source>Energy</source>
            <volume>213</volume>
            <fpage>119067</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.energy.2020.119067</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B3">
        <label>3.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Liu, D. (2022) Residential and Industrial Electricity Consumption in Taiwan Region: Weather or Macroeconomic Condition (or Both). <italic>Energy</italic><italic>Strategy</italic><italic>Reviews</italic>, 39, Article ID: 100795. https://doi.org/10.1016/j.esr.2021.100795 <pub-id pub-id-type="doi">10.1016/j.esr.2021.100795</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.esr.2021.100795">https://doi.org/10.1016/j.esr.2021.100795</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Liu, D.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Residential and Industrial Electricity Consumption in Taiwan Region: Weather or Macroeconomic Condition (or Both)</article-title>
            <source>Energy Strategy Reviews</source>
            <volume>39</volume>
            <fpage>100795</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.esr.2021.100795</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B4">
        <label>4.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Duan, Z., de Wilde, P., Attia, S. and Zuo, J. (2025) Challenges in Predicting the Impact of Climate Change on Thermal Building Performance through Simulation: A Systematic Review. <italic>Applied</italic><italic>Energy</italic>, 382, Article ID: 125331. https://doi.org/10.1016/j.apenergy.2025.125331 <pub-id pub-id-type="doi">10.1016/j.apenergy.2025.125331</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.apenergy.2025.125331">https://doi.org/10.1016/j.apenergy.2025.125331</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Duan, Z.</string-name>
              <string-name>Wilde, P.</string-name>
              <string-name>Attia, S.</string-name>
              <string-name>Zuo, J.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Challenges in Predicting the Impact of Climate Change on Thermal Building Performance through Simulation: A Systematic Review</article-title>
            <source>Applied Energy</source>
            <volume>382</volume>
            <fpage>125331</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.apenergy.2025.125331</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B5">
        <label>5.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Zahraoui, Y., Korõtko, T., Rosin, A., Mekhilef, S., Seyedmahmoudian, M., Stojcevski, A., <italic>et al</italic>. (2024) AI Applications to Enhance Resilience in Power Systems and Microgrids—A Review. <italic>Sustainability</italic>, 16, Article 4959. https://doi.org/10.3390/su16124959 <pub-id pub-id-type="doi">10.3390/su16124959</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/su16124959">https://doi.org/10.3390/su16124959</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Zahraoui, Y.</string-name>
              <string-name>Rosin, A.</string-name>
              <string-name>Mekhilef, S.</string-name>
              <string-name>Seyedmahmoudian, M.</string-name>
              <string-name>Stojcevski, A.</string-name>
            </person-group>
            <year>2024</year>
            <article-title>AI Applications to Enhance Resilience in Power Systems and Microgrids—A Review</article-title>
            <source>Sustainability</source>
            <volume>16</volume>
            <elocation-id>4959</elocation-id>
            <pub-id pub-id-type="doi">10.3390/su16124959</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B6">
        <label>6.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Pan, W. and Li, Y. (2022) Improving Power Grid Resilience under Extreme Weather Conditions with Proper Regulation and Management of Ders—Experiences Learned from the 2021 Texas Power Crisis. <italic>Frontiers</italic><italic>in</italic><italic>Energy</italic><italic>Research</italic>, 10, Article 921335. https://doi.org/10.3389/fenrg.2022.921335 <pub-id pub-id-type="doi">10.3389/fenrg.2022.921335</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fenrg.2022.921335">https://doi.org/10.3389/fenrg.2022.921335</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Pan, W.</string-name>
              <string-name>Li, Y.</string-name>
            </person-group>
            <year>2022</year>
            <article-title>Improving Power Grid Resilience under Extreme Weather Conditions with Proper Regulation and Management of Ders—Experiences Learned from the 2021 Texas Power Crisis</article-title>
            <source>Frontiers in Energy Research</source>
            <volume>10</volume>
            <elocation-id>921335</elocation-id>
            <pub-id pub-id-type="doi">10.3389/fenrg.2022.921335</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B7">
        <label>7.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Melaku, N.D., Fares, A. and Awal, R. (2023) Exploring the Impact of Winter Storm Uri on Power Outage, Air Quality, and Water Systems in Texas, Usa. <italic>Sustainability</italic>, 15, Article 4173. https://doi.org/10.3390/su15054173 <pub-id pub-id-type="doi">10.3390/su15054173</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/su15054173">https://doi.org/10.3390/su15054173</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Melaku, N.D.</string-name>
              <string-name>Fares, A.</string-name>
              <string-name>Awal, R.</string-name>
              <string-name>Outage, A</string-name>
              <string-name>Texas, U</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Exploring the Impact of Winter Storm Uri on Power Outage, Air Quality, and Water Systems in Texas, Usa</article-title>
            <source>Sustainability</source>
            <volume>15</volume>
            <elocation-id>4173</elocation-id>
            <pub-id pub-id-type="doi">10.3390/su15054173</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B8">
        <label>8.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Hewamalage, H., Bergmeir, C. and Bandara, K. (2021) Recurrent Neural Networks for Time Series Forecasting: Current Status and Future Directions. <italic>International</italic><italic>Journal of Forecasting</italic>, 37, 388-427. https://doi.org/10.1016/j.ijforecast.2020.06.008 <pub-id pub-id-type="doi">10.1016/j.ijforecast.2020.06.008</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2020.06.008">https://doi.org/10.1016/j.ijforecast.2020.06.008</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Hewamalage, H.</string-name>
              <string-name>Bergmeir, C.</string-name>
              <string-name>Bandara, K.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Recurrent Neural Networks for Time Series Forecasting: Current Status and Future Directions</article-title>
            <source>International Journal of Forecasting</source>
            <volume>37</volume>
            <pub-id pub-id-type="doi">10.1016/j.ijforecast.2020.06.008</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B9">
        <label>9.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Yunita, A., Pratama, M.I., Almuzakki, M.Z., Ramadhan, H., Akhir, E.A.P., Firdausiah Mansur, A.B., <italic>et al</italic>. (2025) Performance Analysis of Neural Network Architectures for Time Series Forecasting: A Comparative Study of RNN, LSTM, GRU, and Hybrid Models. <italic>MethodsX</italic>, 15, Article ID: 103462. https://doi.org/10.1016/j.mex.2025.103462 <pub-id pub-id-type="doi">10.1016/j.mex.2025.103462</pub-id><pub-id pub-id-type="pmid">40777584</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.mex.2025.103462">https://doi.org/10.1016/j.mex.2025.103462</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Yunita, A.</string-name>
              <string-name>Pratama, M.I.</string-name>
              <string-name>Almuzakki, M.Z.</string-name>
              <string-name>Ramadhan, H.</string-name>
              <string-name>Akhir, E.A.P.</string-name>
              <string-name>Mansur, A.B.</string-name>
              <string-name>RNN, L</string-name>
              <string-name>STM, G</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Performance Analysis of Neural Network Architectures for Time Series Forecasting: A Comparative Study of RNN, LSTM, GRU, and Hybrid Models</article-title>
            <source>MethodsX</source>
            <volume>15</volume>
            <fpage>103462</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.mex.2025.103462</pub-id>
            <pub-id pub-id-type="pmid">40777584</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B10">
        <label>10.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Madin, V., Salykova, O., Ivanova, I., Bizhanova, O. and Aldasheva, D. (2025) Enhancing Electricity Consumption Forecasting in the Republic of Kazakhstan Using Machine Learning. <italic>Journal</italic><italic>of</italic><italic>Applied</italic><italic>Engineering</italic><italic>and</italic><italic>Technological</italic><italic>Science</italic> ( <italic>JAETS</italic>), 6, 1166-1196. https://doi.org/10.37385/jaets.v6i2.7425 <pub-id pub-id-type="doi">10.37385/jaets.v6i2.7425</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.37385/jaets.v6i2.7425">https://doi.org/10.37385/jaets.v6i2.7425</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Madin, V.</string-name>
              <string-name>Salykova, O.</string-name>
              <string-name>Ivanova, I.</string-name>
              <string-name>Bizhanova, O.</string-name>
              <string-name>Aldasheva, D.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Enhancing Electricity Consumption Forecasting in the Republic of Kazakhstan Using Machine Learning</article-title>
            <source>Journal of Applied Engineering and Technological Science (JAETS)</source>
            <volume>6</volume>
            <pub-id pub-id-type="doi">10.37385/jaets.v6i2.7425</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B11">
        <label>11.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Huang, K. and Flowers, B. (2025) Parametric Optimisation of Building Envelopes for Energy Efficiency in Taiwan Region’s Cooling-Dominated Climates. <italic>International</italic><italic>J</italic><italic>ournal</italic><italic>of</italic><italic>Sustainable</italic><italic>Energy</italic>, 44, Article ID: 2560863. https://doi.org/10.1080/14786451.2025.2560863 <pub-id pub-id-type="doi">10.1080/14786451.2025.2560863</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/14786451.2025.2560863">https://doi.org/10.1080/14786451.2025.2560863</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Huang, K.</string-name>
              <string-name>Flowers, B.</string-name>
            </person-group>
            <year>2025</year>
            <article-title>Parametric Optimisation of Building Envelopes for Energy Efficiency in Taiwan Region’s Cooling-Dominated Climates</article-title>
            <source>International Journal of Sustainable Energy</source>
            <volume>44</volume>
            <fpage>256086</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1080/14786451.2025.2560863</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B12">
        <label>12.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Tsai, W. (2021) Trend Analysis of Taiwan Region’s Greenhouse Gas Emissions from the Energy Sector and Its Mitigation Strategies and Promotion Actions. <italic>Atmosphere</italic>, 12, Article 859. https://doi.org/10.3390/atmos12070859 <pub-id pub-id-type="doi">10.3390/atmos12070859</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/atmos12070859">https://doi.org/10.3390/atmos12070859</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Tsai, W.</string-name>
            </person-group>
            <year>2021</year>
            <article-title>Trend Analysis of Taiwan Region’s Greenhouse Gas Emissions from the Energy Sector and Its Mitigation Strategies and Promotion Actions</article-title>
            <source>Atmosphere</source>
            <volume>12</volume>
            <elocation-id>859</elocation-id>
            <pub-id pub-id-type="doi">10.3390/atmos12070859</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B13">
        <label>13.</label>
        <citation-alternatives>
          <mixed-citation publication-type="journal">Khosravi, F., Lowes, R. and Ugalde-Loo, C.E. (2023) Cooling Is Hotting up in the UK. <italic>Energy</italic><italic>Policy</italic>, 174, Article ID: 113456. https://doi.org/10.1016/j.enpol.2023.113456 <pub-id pub-id-type="doi">10.1016/j.enpol.2023.113456</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enpol.2023.113456">https://doi.org/10.1016/j.enpol.2023.113456</ext-link></mixed-citation>
          <element-citation publication-type="journal">
            <person-group person-group-type="author">
              <string-name>Khosravi, F.</string-name>
              <string-name>Lowes, R.</string-name>
              <string-name>Ugalde-Loo, C.E.</string-name>
            </person-group>
            <year>2023</year>
            <article-title>Cooling Is Hotting up in the UK</article-title>
            <source>Energy Policy</source>
            <volume>174</volume>
            <fpage>113456</fpage>
            <elocation-id>ID</elocation-id>
            <pub-id pub-id-type="doi">10.1016/j.enpol.2023.113456</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B14">
        <label>14.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Krzywanski, J., Sosnowski, M., Grabowska, K., Zylka, A., Lasek, L. and Kijo-Kleczkowska, A. (2024) Advanced Computational Methods for Modeling, Prediction and Optimization—A Review. <italic>Materials</italic>, 17, Article 3521. https://doi.org/10.3390/ma17143521 <pub-id pub-id-type="doi">10.3390/ma17143521</pub-id><pub-id pub-id-type="pmid">39063813</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3390/ma17143521">https://doi.org/10.3390/ma17143521</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Krzywanski, J.</string-name>
              <string-name>Sosnowski, M.</string-name>
              <string-name>Grabowska, K.</string-name>
              <string-name>Zylka, A.</string-name>
              <string-name>Lasek, L.</string-name>
              <string-name>Kijo-Kleczkowska, A.</string-name>
              <string-name>Modeling, P</string-name>
            </person-group>
            <year>2024</year>
            <article-title>Advanced Computational Methods for Modeling, Prediction and Optimization—A Review</article-title>
            <source>Materials</source>
            <volume>17</volume>
            <elocation-id>3521</elocation-id>
            <pub-id pub-id-type="doi">10.3390/ma17143521</pub-id>
            <pub-id pub-id-type="pmid">39063813</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B15">
        <label>15.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Hochreiter, S. and Schmidhuber, J. (1997) Long Short-Term Memory. <italic>Neural Computation</italic>, 9, 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735 <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id><pub-id pub-id-type="pmid">9377276</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1162/neco.1997.9.8.1735">https://doi.org/10.1162/neco.1997.9.8.1735</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Hochreiter, S.</string-name>
              <string-name>Schmidhuber, J.</string-name>
            </person-group>
            <year>1997</year>
            <article-title>Long Short-Term Memory</article-title>
            <source>Neural Computation</source>
            <volume>9</volume>
            <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id>
            <pub-id pub-id-type="pmid">9377276</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B16">
        <label>16.</label>
        <citation-alternatives>
          <mixed-citation publication-type="confproc">Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., <italic>et al</italic>. (2014) Learning Phrase Representations Using RNN Encoder-Decoder for Statistical Machine Translation. <italic>Proceedings of the</italic>2014 <italic>Conference on Empirical Methods in Natural Language Processing</italic> ( <italic>EMNLP</italic>), Doha, 25-29 October 2014, 1724-1734. https://doi.org/10.3115/v1/d14-1179 <pub-id pub-id-type="doi">10.3115/v1/d14-1179</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3115/v1/d14-1179">https://doi.org/10.3115/v1/d14-1179</ext-link></mixed-citation>
          <element-citation publication-type="confproc">
            <person-group person-group-type="author">
              <string-name>Cho, K.</string-name>
              <string-name>Merrienboer, B.</string-name>
              <string-name>Gulcehre, C.</string-name>
              <string-name>Bahdanau, D.</string-name>
              <string-name>Bougares, F.</string-name>
              <string-name>Schwenk, H.</string-name>
            </person-group>
            <year>2014</year>
            <article-title>Learning Phrase Representations Using RNN Encoder-Decoder for Statistical Machine Translation</article-title>
            <source>Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
            <volume>25</volume>
            <pub-id pub-id-type="doi">10.3115/v1/d14-1179</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B17">
        <label>17.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Cohen, J. (1988) Statistical Power Analysis for the Behavioral Sciences. 2nd Edition, Routledge.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Cohen, J.</string-name>
              <string-name>Edition, R</string-name>
            </person-group>
            <year>1988</year>
            <article-title>Statistical Power Analysis for the Behavioral Sciences</article-title>
            <source>2nd Edition</source>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B18">
        <label>18.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Song, H. and Li, G. (2008) Tourism Demand Modelling and Forecasting—A Review of Recent Research. <italic>Tourism</italic><italic>Management</italic>, 29, 203-220. https://doi.org/10.1016/j.tourman.2007.07.016 <pub-id pub-id-type="doi">10.1016/j.tourman.2007.07.016</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.tourman.2007.07.016">https://doi.org/10.1016/j.tourman.2007.07.016</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Song, H.</string-name>
              <string-name>Li, G.</string-name>
            </person-group>
            <year>2008</year>
            <article-title>Tourism Demand Modelling and Forecasting—A Review of Recent Research</article-title>
            <source>Tourism Management</source>
            <volume>29</volume>
            <pub-id pub-id-type="doi">10.1016/j.tourman.2007.07.016</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B19">
        <label>19.</label>
        <citation-alternatives>
          <mixed-citation publication-type="book">Witt, S.F. and Witt, C.A. (1991) Modeling and Forecasting Demand in Tourism. Academic Press.</mixed-citation>
          <element-citation publication-type="book">
            <person-group person-group-type="author">
              <string-name>Witt, S.F.</string-name>
              <string-name>Witt, C.A.</string-name>
            </person-group>
            <year>1991</year>
            <article-title>Modeling and Forecasting Demand in Tourism</article-title>
          </element-citation>
        </citation-alternatives>
      </ref>
      <ref id="B20">
        <label>20.</label>
        <citation-alternatives>
          <mixed-citation publication-type="other">Bergmeir, C., Hyndman, R.J. and Benítez, J.M. (2018) A Note on the Validity of Cross-Validation for Evaluating Autoregressive Time Series Prediction. <italic>Computational Statistics &amp; Data Analysis</italic>, 120, 70-83. https://doi.org/10.1016/j.csda.2017.11.003 <pub-id pub-id-type="doi">10.1016/j.csda.2017.11.003</pub-id><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.csda.2017.11.003">https://doi.org/10.1016/j.csda.2017.11.003</ext-link></mixed-citation>
          <element-citation publication-type="other">
            <person-group person-group-type="author">
              <string-name>Bergmeir, C.</string-name>
              <string-name>Hyndman, R.J.</string-name>
            </person-group>
            <year>2018</year>
            <article-title>A Note on the Validity of Cross-Validation for Evaluating Autoregressive Time Series Prediction</article-title>
            <source>Computational Statistics &amp; Data Analysis</source>
            <volume>120</volume>
            <pub-id pub-id-type="doi">10.1016/j.csda.2017.11.003</pub-id>
          </element-citation>
        </citation-alternatives>
      </ref>
    </ref-list>
  </back>
</article>