<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1d1 20130915//EN" "http://jats.nlm.nih.gov/publishing/1.1d1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">SAJEMS</journal-id>
<journal-title-group>
<journal-title>South African Journal of Economic and Management Sciences</journal-title>
</journal-title-group>
<issn pub-type="ppub">1015-8812</issn>
<issn pub-type="epub">2222-3436</issn>
<publisher>
<publisher-name>AOSIS</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">SAJEMS-21-1757</article-id>
<article-id pub-id-type="doi">10.4102/sajems.v21i1.1757</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Original Research</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>Density forecasting for long-term electricity demand in South Africa using quantile regression</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-2649-8711</contrib-id>
<name>
<surname>Mokilane</surname>
<given-names>Paul</given-names>
</name>
<xref ref-type="aff" rid="AF0001">1</xref>
<xref ref-type="aff" rid="AF0002">2</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Galpin</surname>
<given-names>Jacky</given-names>
</name>
<xref ref-type="aff" rid="AF0002">2</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0002-3035-8906</contrib-id>
<name>
<surname>Yadavalli</surname>
<given-names>V.S. Sarma</given-names>
</name>
<xref ref-type="aff" rid="AF0003">3</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0003-4870-988X</contrib-id>
<name>
<surname>Debba</surname>
<given-names>Provesh</given-names>
</name>
<xref ref-type="aff" rid="AF0001">1</xref>
<xref ref-type="aff" rid="AF0002">2</xref>
</contrib>
<contrib contrib-type="author">
<contrib-id contrib-id-type="orcid">http://orcid.org/0000-0001-6365-7390</contrib-id>
<name>
<surname>Koen</surname>
<given-names>Renee</given-names>
</name>
<xref ref-type="aff" rid="AF0001">1</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Sibiya</surname>
<given-names>Siphamandla</given-names>
</name>
<xref ref-type="aff" rid="AF0001">1</xref>
</contrib>
<aff id="AF0001"><label>1</label>Council for Scientific and Industrial Research, Pretoria, South Africa</aff>
<aff id="AF0002"><label>2</label>School of Statistics and Actuarial Science, University of the Witwatersrand, South Africa</aff>
<aff id="AF0003"><label>3</label>Department of Industrial and Systems Engineering, School of Engineering, University of Pretoria, South Africa</aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><bold>Corresponding author:</bold> Paul Mokilane, <email xlink:href="PMokilane@csir.co.za">PMokilane@csir.co.za</email></corresp>
</author-notes>
<pub-date pub-type="epub"><day>27</day><month>03</month><year>2018</year></pub-date>
<pub-date pub-type="collection"><year>2018</year></pub-date>
<volume>21</volume>
<issue>1</issue>
<elocation-id>1757</elocation-id>
<history>
<date date-type="received"><day>20</day><month>01</month><year>2017</year></date>
<date date-type="accepted"><day>14</day><month>09</month><year>2017</year></date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2018. The Authors</copyright-statement>
<copyright-year>2018</copyright-year>
<license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>Licensee: AOSIS. This work is licensed under the Creative Commons Attribution License.</license-p>
</license>
</permissions>
<abstract>
<sec id="st1">
<title>Background</title>
<p>This study involves forecasting electricity demand for long-term planning purposes. Long-term forecasts for hourly electricity demands from 2006 to 2023 are done with in-sample forecasts from 2006 to 2012 and out-of-sample forecasts from 2013 to 2023. Quantile regression (QR) is used to forecast hourly electricity demand at various percentiles. Three contributions of this study are (1) that QR is used to generate long-term forecasts of the full distribution per hour of electricity demand in South Africa; (2) variabilities in the forecasts are evaluated and uncertainties around the forecasts can be assessed as the full demand distribution is forecasted and (3) probabilities of exceedance can be calculated, such as the probability of future peak demand exceeding certain levels of demand. A case study, in which forecasted electricity demands over the long-term horizon were developed using South African electricity demand data, is discussed.</p>
</sec>
<sec id="st2">
<title>Aim</title>
<p>The aim of the study was: (1) to apply a quantile regression (QR) model to forecast hourly distribution of electricity demand in South Africa; (2) to investigate variabilities in the forecasts and evaluate uncertainties around point forecasts and (3) to determine whether the future peak electricity demands are likely to increase or decrease.</p>
</sec>
<sec id="st3">
<title>Setting</title>
<p>The study explored the probabilistic forecasting of electricity demand in South Africa.</p>
</sec>
<sec id="st4">
<title>Methods</title>
<p>The future hourly electricity demands were forecasted at 0.01, 0.02, 0.03, &#x2026; , 0.99 quantiles of the distribution using QR, hence each hour of the day would have 99 forecasted future hourly demands, instead of forecasting just a single overall hourly demand as in the case of OLS.</p>
</sec>
<sec id="st5">
<title>Results</title>
<p>The findings are that the future distributions of hourly demands and peak daily demands would be more likely to shift towards lower demands over the years until 2023 and that QR gives accurate long-term point forecasts with the peak demands well forecasted.</p>
</sec>
<sec id="st6">
<title>Conclusion</title>
<p>QR gives forecasts at all percentiles of the distribution, allowing the potential variabilities in the forecasts to be evaluated by comparing the 50th percentile forecasts with the forecasts at other percentiles. Additional planning information, such as expected pattern shifts and probable peak values, could also be obtained from the forecasts produced by the QR model, while such information would not easily be obtained from other forecasting approaches. The forecasted electricity demand distribution closely matched the actual demand distribution between 2012 and 2015. Therefore, the forecasted demand distribution is expected to continue representing the actual demand distribution until 2023. Using a QR approach to obtain long-term forecasts of hourly load profile patterns is, therefore, recommended.</p>
</sec>
</abstract>
</article-meta>
</front>
<body>
<sec id="s0001">
<title>Introduction</title>
<p>Electricity load is the amount of electricity that balances the amount generated with that drawn from the grid. In the absence of black-outs, load-shedding and the availability of electricity generated from renewable electricity sources, the electricity load is equivalent to the electricity demand. Therefore, in this study, the hourly electricity demand is defined as the amount of electricity (load) in kW sent out every hour by Eskom to meet consumers&#x2019; demand.</p>
<p>The 1996 census showed that only 57.6&#x0025; of the South African households had access to electricity for lighting (Statistics South Africa <xref ref-type="bibr" rid="CIT0025">1998</xref>). The 2001 census showed that this percentage went up to 70.2&#x0025; (Lehohla <xref ref-type="bibr" rid="CIT0019">2005</xref>). The 2007 Community Survey indicated that 80.1&#x0025; of the South African households had access to electricity for lighting (Statistics South Africa <xref ref-type="bibr" rid="CIT0026">2008</xref>). The 2011 census showed that this percentage went up to 84.7&#x0025; (Statistics South Africa <xref ref-type="bibr" rid="CIT0027">2011</xref>). These censuses and surveys indicate that the high percentages of new households that were connected to the electricity grid between 1996 and 2007 would imply that residential electricity demand would be expected to have increased during the same period. The percentage of new households connected to the grid stabilised between 2007 and 2011 and, therefore, residential electricity demand would be expected to have stabilised during this period. The shrinking South African economic growth between 2007 and 2015 could have contributed to a decline in electricity demand:</p>
<disp-quote>
<p>South Africa experienced an average growth rate of approximately 5&#x0025; in real terms between 2004 and 2007. However, the period 2008 to 2012 only recorded average growth of just above 2&#x0025;. (Statistics South Africa <xref ref-type="bibr" rid="CIT0028">n.d.</xref>)</p>
</disp-quote>
<p>The penetration of other sources of electricity such as renewables for example solar and wind, could also have contributed to a decline in electricity demand from Eskom. In addition, because of the lack of capacity in the generation of electricity experienced by Eskom in 2007 (Inglesi &#x0026; Pouris <xref ref-type="bibr" rid="CIT0013">2010</xref>), some companies and households had to find other sources of electricity, which would have resulted in a decline in electricity demand from Eskom. Unfortunately, the actual size of the electricity demand market is still unknown because of the unavailability of certain types of data, such as renewable energy and other forms of electricity generation. The combined effect of all these changes in the demography, economy and usage patterns can be investigated using historical patterns, but contribute to uncertainties when trying to forecast future electricity demand.</p>
<p>Uncertainties occur in estimation, prediction or in forecasting. When statisticians develop predictions (forecasts) for an uncertain future, they need to quantify the uncertainties around these for those that have to make decisions in the face of those uncertainties. Sigauke (<xref ref-type="bibr" rid="CIT0023">2014</xref>) indicates that uncertainties in future electricity demand could emanate from increased technologies making use of electricity, population growth, general randomness in individual usage of electricity, seasonal effects, prevailing economic patterns, change in weather conditions, escalating costs, use of power saving electrical appliances and the growing sources of renewable energies. The inherent uncertainties in predictions imply that forecasts should ideally be probabilistic; in other words, they should take the form of probability distributions over future quantities or events (Gneiting &#x0026; Katzfuss <xref ref-type="bibr" rid="CIT0008">2014</xref>). Probabilistic forecasts could take the form of quantiles, prediction intervals or density forecasts to quantify uncertainties in predictions. They are an essential ingredient of optimal decision-making (Gneiting &#x0026; Katzfuss <xref ref-type="bibr" rid="CIT0008">2014</xref>). It is important to quantify the uncertainties around the demand forecasts for planning purposes, to avoid building unnecessary infrastructure and to ensure that future electricity demand is met. Tay and Wallis (<xref ref-type="bibr" rid="CIT0030">2000</xref>) define density forecasts of the realisation of a random variable at some future time as estimates of the probability distribution of the possible future values of that variable.</p>
<p>Hong, Wilson and Xie (<xref ref-type="bibr" rid="CIT0011">2014</xref>) argue that forecasting is by nature a stochastic problem, but that most of the utilities are still developing and using point forecasts. They state that it would be better to use probabilistic forecasts that provide estimates of the full distribution of the possible future values as a way of quantifying the uncertainties in the forecasts.</p>
<p>In the late 1880s, when lighting was the sole end use of electricity, the forecasting of electricity demand was straightforward (Hong &#x0026; Shahidehpour <xref ref-type="bibr" rid="CIT0010">2015</xref>). Power generating companies would count the number of light bulbs they installed and planned to install and they would then roughly estimate the level of demand in the evening. As electric appliances such as electric irons, radios, television sets, geysers, stoves and washing machines were invented and commonly used in many households, the complexity of forecasting electricity demand grew. The penetration of air conditioners into homes and offices to regulate temperature within comfort zones, and industrial uses of electricity became important drivers of electricity demand. These drivers of electricity demand add complexity in electricity demand forecasting and create uncertainties around the forecasts. Electricity forecasting methods have evolved from counting light bulbs and engineering approaches which were based on the use of charts and tables, to manually forecasting future demand, to sophisticated forecasting techniques. The availability of powerful computers and statistical software today enables forecasters to produce more accurate forecasts through sophisticated forecasting methods.</p>
<p>Electricity demand forecasts can be developed for short, medium- or long-term horizons, and they could be provided as point forecasts, which give one value at each time interval, or as probabilistic forecasts which give a full distribution of future values and therefore allow the assessment of uncertainties around the forecasts. Quantification of uncertainties around forecasts is even more important for long-term forecasts, because, as Sigauke and Chikobvu (<xref ref-type="bibr" rid="CIT0024">2011</xref>) indicated, long-term decision-making in the electricity sector involves planning under substantial uncertainty.</p>
<p>In the literature to date, short-term electricity demand forecasting has attracted substantial attention because of its importance for power system control, unit commitment and electricity markets. Medium- and long-term forecasting have not received much attention, despite their value for system planning and budget allocation (Hyndman &#x0026; Fan <xref ref-type="bibr" rid="CIT0012">2010</xref>). International literature on probabilistic load forecasting is very limited, and for load forecasting it is still dominated by short-term point forecasting.</p>
<p>There are some literature available on long-term forecasting of annual electricity demand as well as peak electricity demand in South Africa (Inglesi-Lotz <xref ref-type="bibr" rid="CIT0014">2011</xref>; Koen, Magadla &#x0026; Mokilane <xref ref-type="bibr" rid="CIT0015">2014</xref>; Rasuba, Khuluse &#x0026; Elphinstone <xref ref-type="bibr" rid="CIT0022">2010</xref>; Sigauke <xref ref-type="bibr" rid="CIT0023">2014</xref>; Sigauke &#x0026; Chikobvu <xref ref-type="bibr" rid="CIT0024">2011</xref>; Ziramba <xref ref-type="bibr" rid="CIT0036">2008</xref>). The models used to forecast electricity demand in South Africa do not forecast the full distribution of demand and most of them are for short-term electricity demand (Sigauke <xref ref-type="bibr" rid="CIT0023">2014</xref> among others). The objectives of the study were (1) to apply a quantile regression (QR) model to forecast hourly distribution of electricity demand in South Africa; (2) to investigate variabilities in the forecasts and evaluate uncertainties around point forecasts and (3) to determine whether the future peak electricity demands are likely to increase or decrease.</p>
</sec>
<sec id="s0002">
<title>Methodology framework</title>
<p>Weron and Misiorek (<xref ref-type="bibr" rid="CIT0034">2004</xref>) indicate that forecasting models could be classified into two broad streams: those that use statistical methods (e.g., multiple regression, autoregressive (AR), autoregressive integrated moving average [ARIMA], autoregressive generalised autoregressive conditional heteroscedasticity [AR-GARCH], jump diffusion, factor models, regime switching models, multilevel models, mixed models and semi-parametric models) and those that use computational intelligence techniques (such as fuzzy techniques, support vector machines and, in particular, artificial neural networks [ANNs]).</p>
<p>Statistical methods differ from ANN in that the former forecast the current value of a variable by using mathematical combination of the previous values of that variable and sometimes the previous values of exogenous factors (Weron &#x0026; Misiorek <xref ref-type="bibr" rid="CIT0034">2004</xref>). Weron and Misiorek (<xref ref-type="bibr" rid="CIT0034">2004</xref>) pointed out that the reviewers of ANN-based forecasting systems have concluded that much work still needs to be conducted before they are accepted as established forecasting techniques. ANN is considered a black-box modelling approach. In electricity demand forecasting, statistical models are attractive because physical interpretation may be attached to their components, and hence allow forecasters to understand behaviour (Weron &#x0026; Misiorek <xref ref-type="bibr" rid="CIT0034">2004</xref>).</p>
<p>Suganthi and Samuel (<xref ref-type="bibr" rid="CIT0029">2012</xref>) give a comprehensive review of demand forecasting models which are commonly used in the energy sector. Electricity demand data consist of a sequence of observations collected over equally spaced time periods (hourly) with no missing data. The observations are serially correlated. Statistical modelling approaches for forecasting electricity demand can be divided into three main groups. Firstly, there are approaches which consider demand as a univariate time series, that is, a load forecasting process which results in one forecasted value at each step, or point forecasts. Secondly, there are approaches which take each intraday period as a separate parametric regression and estimate each model&#x2019;s parameters separately, ignoring the intraday correlation in the process. Thirdly, there are approaches which consider each intraday period as a separate parametric regression model and estimate model parameters together in a way that takes the intraday correlations into consideration.</p>
<p>Within the univariate time series framework, the stochastic nature of electricity demand as a function of time has frequently been modelled with seasonal autoregressive integrated moving average (SARIMA) and state space models (Taylor, De Menezes &#x0026; McSharry <xref ref-type="bibr" rid="CIT0032">2006</xref>). Mostly, electricity data exhibit not only non-constant mean and variance, but also multiple seasonalities corresponding to daily, weekly, monthly and yearly periodicity. The assumption of homoscedasticity in SARIMA models is also inappropriate for the forecasting of electricity demand. Furthermore, SARIMA models are used for point forecasting and cannot forecast the full demand distribution.</p>
<p>SARIMA models could be extended to a SARIMA-GARCH model to account for the possibility of heteroscedasticity. A GARCH modelling approach could be used to capture potential conditional heteroscedasticity in electricity data (Bystr&#x00F6;m <xref ref-type="bibr" rid="CIT0003">2005</xref>; Taylor <xref ref-type="bibr" rid="CIT0031">2006</xref>). However, this modelling approach does not accommodate exogenous drivers of electricity demand, and is used for point forecasting.</p>
<p>Seasonal autoregressive integrated moving average with exogenous variables (SARIMAX) models, also known as regression-SARIMA, have been used in load forecasting in order to incorporate important drivers of demand such as calendar variables and temperature (Bunn <xref ref-type="bibr" rid="CIT0002">1982</xref>; Suganthi &#x0026; Samuel <xref ref-type="bibr" rid="CIT0029">2012</xref>; Weron <xref ref-type="bibr" rid="CIT0033">2007</xref>). This method uses an ordinary least squares regression (OLS) model which may be affected by outliers and could underestimate the peaks as it models the mean of the distribution.</p>
<p>Structural time series (STS) models have also been successfully used in demand forecasting. STS modelling was developed by Harvey (<xref ref-type="bibr" rid="CIT0009">1990</xref>) and it involves the decomposition of a time series into trend, seasonality, cycle and irregular (noise) components. This modelling approach can accommodate drivers of electricity demand like temperature, but is also used for point forecasting.</p>
<p>Hyndman and Fan (<xref ref-type="bibr" rid="CIT0012">2010</xref>) propose a semi-parametric additive model in the regression framework, but which includes nonlinear relationships and serially correlated errors. The proposed models allow for nonlinear and non-parametric terms using the framework of additive models. The authors applied this method to develop long-term probabilistic load forecasts.</p>
<p>OLS regression models model the relationship between covariates <italic>X</italic> and the conditional mean of a response variable <italic>Y</italic> given <italic>X</italic> = <italic>x</italic>. Koenker and Bassett (<xref ref-type="bibr" rid="CIT0017">1978</xref>) argue that what the regression curve does, is to give a summary for the averages of the distributions corresponding to the set of <italic>X</italic>s. One could go further and compute several different regression curves corresponding to the various percentage points of the distribution and thus get a more complete picture of the set (Koenker &#x0026; Bassett <xref ref-type="bibr" rid="CIT0017">1978</xref>). Ordinarily this is not done, and so regression often gives a rather incomplete picture. In forecasting electricity demand, least squares regression models the mean of the electricity demand as the dependent variable. OLS regression determines coefficients <italic>&#x03B1;</italic><sub>0</sub> and <italic>&#x03B1;</italic><sub><italic>i</italic></sub> which minimise <inline-formula id="ID1"><alternatives><mml:math display="inline" id="I1"><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mrow><mml:msup><mml:mrow><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mtext>y</mml:mtext><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>&#x03B1;</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03B1;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mstyle></mml:mrow></mml:math><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-i001.tif"/></alternatives></inline-formula>.</p>
<p>To apply an OLS regression model, the data must meet stringent assumptions, such as that the residuals should be normally distributed, the observations should be independent and the variance of the residuals should be homoscedastic. As we are dealing with time series data the observations are not independent, and for electricity demand data, the variance is heteroscedastic. Therefore, some assumptions of OLS are violated in the time series data used in this study.</p>
<p>In this article, QR is proposed for developing long-term probabilistic forecasts. QR was developed as an extension of OLS regression for estimating rates of change in all parts of the distribution of the response variable (Cade &#x0026; Noon <xref ref-type="bibr" rid="CIT0004">2003</xref>). QR offers a comprehensive strategy for completing the regression picture and it has been applied in ecology (Cade &#x0026; Noon <xref ref-type="bibr" rid="CIT0004">2003</xref>). QR has been widely used in financial economics where the data are volatile and extremes are important to study. Gibbons and Faruqui (<xref ref-type="bibr" rid="CIT0007">2014</xref>) applied QR methodology for forecasting the annual peak electricity demand.</p>
<p>Cornec (<xref ref-type="bibr" rid="CIT0005">2014</xref>) proposes QR as a way of estimating the distribution of forecasts, and uses the dispersion of the estimated quantiles for calculating an uncertainty index. QR imposes no normality assumption, allowing, for example, for fat-tailed distributions, which is useful for forecasting extreme events. In electricity demand forecasting, QR can be used to model the median, the 1st, 5th, 10th, 90th, 95th and 99th percentiles or all quantiles to describe the full distribution of forecasted electricity demand at each hour. QR attempts to find the coefficients <italic>a</italic><sub>0</sub> and <italic>a</italic><sub><italic>i</italic></sub> which minimises <inline-formula id="ID2"><alternatives><mml:math display="inline" id="I2"><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mrow><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>&#x03B1;</mml:mi><mml:mn>0</mml:mn></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>&#x03B1;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:math><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-i002.tif"/></alternatives></inline-formula>.</p>
<p>QR does not require any distribution assumptions regarding the population and can estimate the parameters non-parametrically (Koenker &#x0026; Bassett <xref ref-type="bibr" rid="CIT0018">1982</xref>). A linear model for the &#x03C4;th quantile is given by:</p>
<disp-formula id="FD1"><alternatives><mml:math display="block" id="M1"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mo>&#x03F5;</mml:mo><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mo>&#x2026;</mml:mo><mml:mo>,</mml:mo><mml:mi>n</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e001.tif"/></alternatives><label>[Eqn 1]</label></disp-formula>
<p>where <inline-formula id="ID3"><alternatives><mml:math display="inline" id="I3"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup></mml:mrow></mml:math><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-i003.tif"/></alternatives></inline-formula> is the transposed (indicated by <italic>T</italic>) design matrix (matrix of covariates), <italic>&#x03B2;</italic> is the regression coefficients and the &#x03C4;th quantile of <italic>&#x03F5;</italic><sub><italic>i</italic></sub> is assumed to be zero. The standard QR model is given by:</p>
<disp-formula id="FD2"><alternatives><mml:math display="block" id="M2"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>Y</mml:mi><mml:mo>&#x007C;</mml:mo><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e002.tif"/></alternatives><label>[Eqn 2]</label></disp-formula>
<p>where</p>
<disp-formula id="FD3"><alternatives><mml:math display="block" id="M3"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mi>Y</mml:mi><mml:mo>&#x007C;</mml:mo><mml:mi>X</mml:mi></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mtext>inf</mml:mtext><mml:mo>&#x007B;</mml:mo><mml:mi>y</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>y</mml:mi><mml:mo>&#x007C;</mml:mo><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x2265;</mml:mo><mml:mi>&#x03C4;</mml:mi><mml:mo>&#x007D;</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e003.tif"/></alternatives><label>[Eqn 3]</label></disp-formula>
<p>is the conditional &#x03C4;th quantile of the response (<italic>y</italic><sub><italic>i</italic></sub>) given the covariate (<italic>x</italic><sub><italic>i</italic></sub>) and <italic>Q</italic><sub>&#x03C4;</sub>(<italic>Y</italic>|<italic>X</italic>) is non-decreasing function of &#x03C4; for any given <italic>x</italic>. <italic>&#x03B2;</italic> is the vector of parameters and is the marginal change in the quantile because of the marginal change in <italic>x</italic><sub><italic>i</italic></sub></p>
<p>In estimating the QR model for a given quantile, we follow the ideas of Koenker (<xref ref-type="bibr" rid="CIT0016">2005</xref>) and Yue and Rue (<xref ref-type="bibr" rid="CIT0035">2011</xref>) who used the standard approach of Koenker and Bassett (<xref ref-type="bibr" rid="CIT0017">1978</xref>) to estimate their QR model. QR minimises the tilted absolute function <italic>&#x03C1;</italic><sub><italic>&#x03C4;</italic></sub>(.), which they called the check-function (Maistre, Lavergne &#x0026; Patilea <xref ref-type="bibr" rid="CIT0021">2017</xref>), which asymmetrically weights residuals from the model to a degree that depends upon &#x03C4;.</p>
<disp-formula id="FD4"><alternatives><mml:math display="block" id="M4"><mml:mrow><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x03F5;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>{</mml:mo> <mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>&#x03F5;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03F5;</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mi>&#x03C4;</mml:mi><mml:mi>&#x03F5;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x03F5;</mml:mi><mml:mo>&#x2265;</mml:mo><mml:mn>0</mml:mn><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable><mml:mtext>&#x2009;</mml:mtext><mml:mn>0</mml:mn><mml:mo>&#x003C;</mml:mo><mml:mi>&#x03C4;</mml:mi><mml:mo>&#x003C;</mml:mo><mml:mn>1</mml:mn><mml:mtext>&#x2009;</mml:mtext><mml:mo>;</mml:mo></mml:mrow></mml:mrow></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e004.tif"/></alternatives><label>[Eqn 4]</label></disp-formula>
<p><italic>&#x03C1;</italic><sub>&#x03C4;</sub>(<italic>&#x03F5;</italic>) is a continuous piecewise linear function and non-differentiable at <italic>&#x03F5;</italic> = 0 but differentiable everywhere else (has directional derivative in all directions) (Yue &#x0026; Rue <xref ref-type="bibr" rid="CIT0035">2011</xref>). This check-function ensures that all <italic>&#x03C1;</italic><sub><italic>&#x03C4;</italic></sub> are positive and the scale is based on the probability <italic>&#x03C4;</italic>. A linear model is estimated by solving:</p>
<disp-formula id="FD5"><alternatives><mml:math display="block" id="M5"><mml:mrow><mml:mover accent="true"><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x005E;</mml:mo></mml:mover><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03C4;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>a</mml:mi><mml:mi>r</mml:mi><mml:mi>g</mml:mi><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x03F5;</mml:mo><mml:msup><mml:mi>&#x211C;</mml:mi><mml:mi>p</mml:mi></mml:msup></mml:mrow></mml:msub><mml:mtext>&#x0009;</mml:mtext><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:msubsup><mml:mrow><mml:msub><mml:mi>&#x03C1;</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e005.tif"/></alternatives><label>[Eqn 5]</label></disp-formula>
<p>This concept is extendable to any quantile, such as the 75th, 90th and 99th percentile. The QR estimator for <italic>&#x03B2;</italic> at quantile <italic>&#x03C4;</italic> minimises the objective function:</p>
<disp-formula id="FD6"><alternatives><mml:math display="block" id="M6"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi>&#x03C4;</mml:mi></mml:msub><mml:mo stretchy="false">(</mml:mo><mml:mi>&#x03B2;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mi>m</mml:mi><mml:mi>i</mml:mi><mml:msub><mml:mi>n</mml:mi><mml:mrow><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x03F5;</mml:mo><mml:msup><mml:mi>&#x211C;</mml:mi><mml:mi>p</mml:mi></mml:msup></mml:mrow></mml:msub><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mi>n</mml:mi></mml:msubsup><mml:mrow><mml:mi>&#x03C4;</mml:mi><mml:mo>&#x007C;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x007C;</mml:mo><mml:mo>+</mml:mo><mml:mstyle displaystyle="true"><mml:msubsup><mml:mo>&#x2211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>:</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2265;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi></mml:mrow><mml:mi>n</mml:mi></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x2212;</mml:mo><mml:mi>&#x03C4;</mml:mi><mml:mo stretchy="false">)</mml:mo><mml:mo>&#x007C;</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>&#x2212;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x007C;</mml:mo></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>.</mml:mo></mml:mrow></mml:math><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-e006.tif"/></alternatives><label>[Eqn 6]</label></disp-formula>
<p>This is a non-differentiable function and there is no closed-form solution for <inline-formula id="ID4"><alternatives><mml:math display="inline" id="I4"><mml:mover accent="true"><mml:mi>&#x03B2;</mml:mi><mml:mo>&#x005E;</mml:mo></mml:mover></mml:math><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-i004.tif"/></alternatives></inline-formula>; instead these parameters can be found using a linear programming algorithm (Gibbons &#x0026; Faruqui <xref ref-type="bibr" rid="CIT0007">2014</xref>). The minimisation is done for each subsection defined by <italic>&#x03C1;</italic><sub><italic>&#x03C4;</italic></sub>, where the estimate of the <italic>&#x03C4;</italic>th quantile function is achieved with the parametric function <inline-formula id="ID5"><alternatives><mml:math display="inline" id="I5"><mml:mrow><mml:msubsup><mml:mi>x</mml:mi><mml:mi>i</mml:mi><mml:mi>T</mml:mi></mml:msubsup><mml:mi>&#x03B2;</mml:mi></mml:mrow></mml:math><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-i005.tif"/></alternatives></inline-formula>.</p>
<p>Features that characterise QR and differentiate it from other regression methods are:</p>
<list list-type="bullet">
<list-item><p>QR computes several different regression curves corresponding to the various percentile points of the distribution and thus provides a more complete picture of the relationship between the response variable and the covariates.</p></list-item>
<list-item><p>Heteroscedasticity can be detected and, if the data are heteroscedastic, median regression estimators can be used instead of mean regression estimators.</p></list-item>
<list-item><p>Median regression is more robust to outliers than other regression methods that use mean estimators, and it is semi-parametric, therefore, avoiding assumptions about the parametric distribution of the error process.</p></list-item>
</list>
<p>QR is, therefore, considered to be more suitable than other methods, given the type of data used, as well as its ability to provide the full distribution of forecasted electricity demand.</p>
</sec>
<sec id="s0003">
<title>Data and analysis</title>
<p>The hourly electricity demand data for South Africa for the period 1997&#x2013;2015 was provided by Eskom. For developing the long-term forecasting model, a transformed series was developed using a logarithmic transformation. The logarithmic transformation is convenient for turning a highly skewed variable into one that is more approximately normal (Benoit <xref ref-type="bibr" rid="CIT0001">2011</xref>).</p>
<p>Hourly demands were forecasted from 2006 to 2023. The data from 2013 to 2015 were withheld in order to validate the model. The forecasts from 2006 to 2012 were then used as in-sample forecasts, whereas the forecasts from 2013 to 2023 were out of sample forecasts.</p>
<p>Various time-related variables were used as covariates, namely day, public holidays, months, weekends, December break and seasons (see <xref ref-type="table" rid="T0001">Table 1</xref> for details). Lagged demand variables were included in the model to test whether suspected lagged demand effects from the high degree of diurnal activity in electricity usage were significant, that is, whether the South African consumers of electricity typically exhibit consistent daily patterns of usage (as in Farland <xref ref-type="bibr" rid="CIT0006">2013</xref>). For example, in the afternoon when people return from work, around 19:00, they start cooking, watch TV and take bath and at this time the household electricity demand could go up. Fourier series or harmonic terms were used, where applicable, to capture the cycles inherent in the demand data.</p>
<table-wrap id="T0001">
<label>TABLE 1</label>
<caption><p>Variables used in the quantile regression.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Variable</th>
<th valign="top" align="left">Type of variable</th>
<th valign="top" align="left">Scale</th>
<th valign="top" align="left">Created dummy variables</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Demand</td>
<td align="left">Dependent</td>
<td align="left">Continuous</td>
<td align="left">-</td>
</tr>
<tr>
<td align="left">Newyear</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 01 January; 0 otherwise</td>
</tr>
<tr>
<td align="left">Humanrights</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 21 March; 0 otherwise</td>
</tr>
<tr>
<td align="left">FreedomDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 27 April; 0 otherwise</td>
</tr>
<tr>
<td align="left">WorkersDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 01 May; 0 otherwise</td>
</tr>
<tr>
<td align="left">YouthDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 16 June; 0 otherwise</td>
</tr>
<tr>
<td align="left">HeritageDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 24 September; 0 otherwise</td>
</tr>
<tr>
<td align="left">ReconciliationDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 16 December; 0 otherwise</td>
</tr>
<tr>
<td align="left">ChristmasDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 25 December; 0 otherwise</td>
</tr>
<tr>
<td align="left">GoodwillDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is 26 December; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month1</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is January; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month2</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is February; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month3</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is March; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month4</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is April; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month5</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is May; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month6</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is June; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month7</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is July; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month8</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is August; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month9</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is September; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month10</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is October; 0 otherwise</td>
</tr>
<tr>
<td align="left">Month11</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Month is November; 0 otherwise</td>
</tr>
<tr>
<td align="left">Sin6</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Sine term of Fourier series with Period 6</td>
</tr>
<tr>
<td align="left">Cos6</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Cosine term of Fourier series with Period 6</td>
</tr>
<tr>
<td align="left">Sin12</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Sine term of Fourier series with Period 12</td>
</tr>
<tr>
<td align="left">Cos12</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Cosine term of Fourier series with Period 12</td>
</tr>
<tr>
<td align="left">Sin18</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Sine term of Fourier series with Period 18</td>
</tr>
<tr>
<td align="left">Cos18</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Cosine term of Fourier series with Period 18</td>
</tr>
<tr>
<td align="left">Sin24</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Sine term of Fourier series with Period 24</td>
</tr>
<tr>
<td align="left">Cos24</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">Cosine term of Fourier series with Period 24</td>
</tr>
<tr>
<td align="left">Lag70128</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 1st time lag</td>
</tr>
<tr>
<td align="left">Lag70152</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 2nd time lag</td>
</tr>
<tr>
<td align="left">Lag70176</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 3rd time lag</td>
</tr>
<tr>
<td align="left">Lag70200</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 4th time lag</td>
</tr>
<tr>
<td align="left">Lag70224</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 5th time lag</td>
</tr>
<tr>
<td align="left">Lag70248</td>
<td align="left">Independent</td>
<td align="left">Continuous</td>
<td align="left">The 6th time lag</td>
</tr>
<tr>
<td align="left">Sun</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Sunday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Mon</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Monday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Tues</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Tuesday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Wed</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Wednesday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Thurs</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Thursday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Fri</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Friday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Fribtwn</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Friday preceded by a holiday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Monbtwn</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if Monday preceded a holiday; 0 otherwise</td>
</tr>
<tr>
<td align="left">Lngwknd</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">Long weekend</td>
</tr>
<tr>
<td align="left">Dec_closure</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if period between 16 December and 01 January; 0 otherwise</td>
</tr>
<tr>
<td align="left">Winter_schoolholiDay</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if period is during school closure in June/July; 0 otherwise</td>
</tr>
<tr>
<td align="left">Easter</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if day is Easter; 0 otherwise</td>
</tr>
<tr>
<td align="left">Winter</td>
<td align="left">Independent</td>
<td align="left">Dichotomous</td>
<td align="left">1 if period is between June and August</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn><p>Sin, Sine term of Fourier series; Cos, Cosine term of Fourier series; Lag, time lag; Fribtwn, Friday preceded by holiday; Monbtwn, Monday preceded by a holiday; Newyear, New year; Humanrights, Human rights day; FreedomDay, Freedom day; WorkersDay, Workers day; YouthDay, Youth day; HeritageDay, Heritage day; ReconciliationDay, Reconciliation day; ChristmasDay, Christmas day; GoodwillDay, Day of Goodwill; Sun, Sunday; Mon, Monday; Tues, Tuesday; Wed, Wednesday; Thurs, Thursday; Fri, Friday; Lngwknd, Long weekend; Dec_closure, December closure; Winter_SchoolholiDay, Winter school holiday.</p></fn>
</table-wrap-foot>
</table-wrap>
<p>The future hourly electricity demands were forecasted at 0.01, 0.02, 0.03, &#x2026; , 0.99 quantiles of the distribution using QR, hence each hour of the day would have 99 forecasted future hourly demands, instead of forecasting just a single overall hourly demand as in the case of OLS. To avoid graphs that are too busy and difficult to read, only the 1st, 50th and the 99th percentile graphs are shown and discussed.</p>
<p>The uncertainties in the forecasts are captured by the interval between the 1st and 99th percentiles of the demand distribution, as this is the interval into which 98&#x0025; of the possible future hourly demands are expected to fall. The wider the interval, the more uncertain we are about the forecasted hourly demand as the variability between the forecasts would be very high. The forecasts at the 50th percentile (median) are important because they could be used as point forecasts, namely, our best guess of demand at that certain hour.</p>
<p>The density functions give the full distribution of the hourly electricity demand. The probability of the hourly demand between the two demand points say, &#x2018;<italic>a</italic>&#x2019; and &#x2018;<italic>b</italic>&#x2019;, is the area under the demand density function between the two points. The area could be calculated by integrating the density function between the two points. The probability of exceedance relates to the probability of electricity demand exceeding the specified hourly demand and this could also be calculated by integrating the density function from the specified demand and upwards. The forecasted density demand functions between 2013 and 2023 are compared. If the density curves shift towards the higher demands over time, then an increase in future hourly demand is expected. If the shift is towards smaller demands over time, then the decrease in future hourly demand is expected.</p>
<p>The South African electricity demand has two daily peaks, especially noticeable in winter, namely a morning demand peak at around 08:00 and an afternoon demand peak at around 19:00. As the winter peak represents the highest annual demand, this is important for planning electricity generation. Therefore, it is important to examine the demand densities of both morning and afternoon peak forecasts over the years. The morning peak density demand is generated from all possible demand forecasts at 07:00, 08:00 and 09:00, whereas the afternoon peak density demand is generated from all possible demand forecasts at 18:00, 19:00 and 20:00. The probability of the future peak electricity demand exceeding a certain value was then calculated by integrating the density functions.</p>
<p>The performance of the QR model is evaluated by comparing the predicted demand density functions with the actual demand density functions. The predicted demand density is generated from all demand forecasts from 1st to 99th percentile of the demand distribution. If the forecasted demand density function closely tracks the actual demand density, then it shows that the model is forecasting well and it is, therefore, reliable. The model is also evaluated by observing the closeness of the actual demand distribution to the predicted lower and upper 99&#x0025; interval. If the interval is narrow, then the predictions exhibit sharpness. The mean absolute percentage error (MAPE) is used to compare the forecasts at the 50th percentile with the actual demands; this is mainly to determine how far the point forecasts are from the actual demands.</p>
<p><xref ref-type="fig" rid="F0001">Figures 1</xref> and <xref ref-type="fig" rid="F0002">2</xref> depict the time series of the actual and logarithmic hourly demands, respectively, for the hourly electricity demand over the 1997&#x2013;2015 period. During this period the highest demand reached was 36 826 kW in 2011, whereas the minimum was 13 533 kW in 1998.</p>
<fig id="F0001">
<label>FIGURE 1</label>
<caption><p>Electricity demand between 1997 and 2015 in South Africa.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g001.tif"/>
</fig>
<fig id="F0002">
<label>FIGURE 2</label>
<caption><p>Adjusted electricity demand between 1997 and 2015 in South Africa.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g002.tif"/>
</fig>
<p>The historical demand data from 1997 to 2015 indicate that the demand for electricity increased steadily between 1997 and 2007 (<xref ref-type="fig" rid="F0001">Figure 1</xref>). During this period, South Africa experienced accelerated economic growth and a large number of new households were connected to the grid as government wanted to make electricity accessible to all South Africans. The electricity demand from Eskom stabilised between 2007 and 2012 and started declining in the latest 4 years until 2015 (see <xref ref-type="fig" rid="F0001">Figure 1</xref>). The decline in electricity demand from Eskom could partly be attributed to the shrinking economic growth between 2007 and 2015 and the growth of renewable sources of electricity.</p>
<p><xref ref-type="table" rid="T0001">Table 1</xref> provides a summary of all the variables considered in the modelling of hourly demand. The demand data have Periods 6, 12, 18 and 24 as shown in <xref ref-type="fig" rid="F0010">Figure 1-A2</xref>. The Fourier series terms were formed using these periods.</p>
</sec>
<sec id="s0004">
<title>Results</title>
<sec id="s20005">
<title>Model assessment</title>
<p>For each hour, the demand at the 1st to 99th percentiles was forecasted from 2006 to 2023, which translated into the full demand distribution being forecasted.</p>
<p>The actual and predicted demand densities between 2012 and 2015 illustrated in <xref ref-type="fig" rid="F0003">Figure 3</xref> were used to assess the model fit. If the predicted demand distribution is close to the actual demand distribution, then the forecasts are considered to be reliable. The closer the 1st and the 99th percentile points are to the actual demand, the better it is and this indicates the sharpness of the forecasts (<xref ref-type="fig" rid="F0004">Figures 4</xref>&#x2013;<xref ref-type="fig" rid="F0006">6</xref>). The sharpness of the forecasts refers to how tightly the predicted distribution covers the actual distribution.</p>
<fig id="F0003">
<label>FIGURE 3</label>
<caption><p>Comparison of actual and forecasted demand distributions: (a) 2012; (b) 2013; (c) 2014 and (d) 2015.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g003.tif"/>
</fig>
<fig id="F0004">
<label>FIGURE 4</label>
<caption><p>Distribution of forecasted daily electricity demand: (a) 22 June 2013, (b) 23 June 2013, (c) 24 June 2013, (d) 25 June 2013.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g004.tif"/>
</fig>
<fig id="F0005">
<label>FIGURE 5</label>
<caption><p>Distribution of forecasted daily electricity demand: (a) 22 June 2014, (b) 23 June 2014, (c) 24 June 2014, (d) 25 June 2014.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g005.tif"/>
</fig>
<fig id="F0006">
<label>FIGURE 6</label>
<caption><p>Distribution of forecasted daily electricity demand: (a) 22 June 2015, (b) 23 June 2015, (c) 24 June 2015, (d) 25 June 2015.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g006.tif"/>
</fig>
<p>The MAPE between the hourly demand forecasts at the 50th percentile and the actual hourly demand over the period of 4 years were below 5&#x0025; and the overall MAPE was 2.77&#x0025;, as shown in <xref ref-type="table" rid="T0003">Table 2-A1</xref>. Lewis (<xref ref-type="bibr" rid="CIT0020">1982</xref>) indicates that a MAPE of less than 10&#x0025; can be classified as a highly accurate forecast. The QR model therefore provides very good demand forecasts at the 50th percentile.</p>
<p>Further confirmation of the suitability of fit of the QR model is obtained by comparing the actual values to the full range of quantile predictions.</p>
</sec>
<sec id="s20006">
<title>Model estimates</title>
<p>For illustration purposes, estimates for only three of the QR models (at 0.01, 0.5 and 0.99 quantile levels) are given in <xref ref-type="table" rid="T0002">Table 1-A1</xref>. At the 5&#x0025; level of significance, some variables in <xref ref-type="table" rid="T0002">Table 1-A1</xref> are significant at the certain percentile of the demand distribution, but insignificant at others. For example, at the 5&#x0025; level of significance, the variable &#x2018;Month1&#x2019; is significant at the 1st percentile, but not significant at the 99th percentile of the distribution.</p>
</sec>
<sec id="s20007">
<title>Probabilistic forecasts of the daily profiles over the years</title>
<p>For illustration purposes, 4 days in June (22&#x2013;25 June) were selected and their results from 2013 to 2015 were discussed. (Note that June falls in the high-demand winter period of the year.) The different panels in <xref ref-type="fig" rid="F0004">Figure 4</xref> give the hourly electricity demand of each of the 4 days in 2013. For each day, the green circles represents hourly demands at the 1st percentile level of the distribution; these are the points below which 1&#x0025; of all possible future hourly demands are expected to fall. The grey line represents future hourly demands at the 99th percentile of the demand distribution; these are the points above which 1&#x0025; of the future hourly demands would fall and below which 99&#x0025; of all possible future hourly demands are expected to fall. The blue circles represent the forecasted hourly demands at the 50th percentile and the red circles represent the actual hourly demands. <xref ref-type="fig" rid="F0005">Figures 5</xref> and <xref ref-type="fig" rid="F0006">6</xref> give the hourly demand forecasts for the same 3 days in 2014 and 2015, respectively.</p>
<p><xref ref-type="fig" rid="F0004">Figures 4</xref>&#x2013;<xref ref-type="fig" rid="F0006">6</xref> confirm that the demand forecasts at the 50th percentile are close to the actual hourly electricity demand in winter.</p>
<p>In addition to just using the 50th percentile as a &#x2018;best guess&#x2019; or point forecast, information contained in the other quantile forecasts produce probabilistic information which may also be useful in the planning process. It can be seen from <xref ref-type="fig" rid="F0004">Figures 4</xref>&#x2013;<xref ref-type="fig" rid="F0006">6</xref> that the interval between the 1st and the 99th quantiles was in fact fairly narrow, and therefore the uncertainties around the point forecasts were not too large.</p>
</sec>
<sec id="s20008">
<title>Using probabilistic forecasts of hourly demand distributions for comparing demand over the years</title>
<p>The hourly electricity demand distribution in South Africa is bimodal as shown in <xref ref-type="fig" rid="F0007">Figure 7</xref>. By comparing the demand density functions over the years, insight into expected shifts in patterns can be obtained. The forecasted demand distributions obtained from the QR models for the period investigated suggest that the hourly electricity demand from Eskom is more likely to shift towards lower demands over the years until 2023 (<xref ref-type="fig" rid="F0007">Figure 7</xref>). The apparent year to year decline in electricity demand from Eskom between 2012 and 2015, among others, could be attributed to the increase in the number of households and companies generating their own electricity through renewable energies, the shrinking economic growth and the increase in electricity prices. The renewable electricity market in South Africa is growing.</p>
<fig id="F0007">
<label>FIGURE 7</label>
<caption><p>Distribution of forecasted hourly demand between 2013 and 2023.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g007.tif"/>
</fig>
<p>In addition, the forecasted hourly density demands (in <xref ref-type="fig" rid="F0007">Figures 7</xref>&#x2013;<xref ref-type="fig" rid="F0009">9</xref>) could be used to calculate the probabilities of exceedance, for example, the probability of hourly demand exceeding 32 860 kW (exp[10.4]). This probability of exceedance can be calculated from the area under the density curve comprising all demands ranging from 32 860 kW and above, and the area can be computed by integrating the density functions in <xref ref-type="fig" rid="F0007">Figure 7</xref>. The probability of demand exceeding 32 860 kW is less likely in 2023 than it is in any previous year while 2015 had the highest probability of demand exceeding 32 860 kW in the period between 2013 and 2023 as shown in <xref ref-type="fig" rid="F0007">Figure 7</xref>.</p>
<fig id="F0008">
<label>FIGURE 8</label>
<caption><p>The morning peak demand distributions.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g008.tif"/>
</fig>
<fig id="F0009">
<label>FIGURE 9</label>
<caption><p>The afternoon peak demand distributions.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g009.tif"/>
</fig>
<p>Finally, the forecasts obtained from QR can be used to investigate the expected future peak demands and their probability of exceedance over the years. The annual peak demands are very important for planning purposes, as these represent the maximum that would need to be supplied in an hour and if the power generating company could meet the daily peak hourly demand, it could meet any hourly demand. <xref ref-type="fig" rid="F0008">Figures 8</xref> and <xref ref-type="fig" rid="F0009">9</xref> suggest that the morning and afternoon peak demand distributions are more likely to shift towards lower demands over the years until 2023.</p>
</sec>
</sec>
<sec id="s0009">
<title>Conclusions and discussion</title>
<p>The daily electricity demand in South Africa generally has two peaks, more noticeable during winter than summer seasons. The morning demand peak occurs at around 08:00 and the afternoon demand peak at around 19:00. OLS would most likely underestimate the peaks as it models the mean of the demand distribution while QR models demand at all percentiles of the demand distribution and therefore can provide better peak forecasts. In addition, as QR gives the full hourly demand distribution, the uncertainties around the forecasts are quantifiable. While the best guess of the future hourly electricity demand can be obtained from forecasted demands at the 50th percentile, QR gives forecasts at all percentiles of the distribution, allowing the potential variabilities in the forecasts to be evaluated by comparing the 50th percentile forecasts with the forecasts at other percentiles. Additional planning information, such as expected pattern shifts and probable peak values, could also be obtained from the forecasts produced by the QR model, while such information would not easily be obtained from other forecasting approaches.</p>
<p>The first important finding presented in this article is that the demand forecasts at the 50th percentile from the QR model closely estimate the actual hourly demands (see the red and blue circles in <xref ref-type="fig" rid="F0004">Figure 4</xref>&#x2013;<xref ref-type="fig" rid="F0004">6</xref> and the MAPE values in <xref ref-type="table" rid="T0003">Table 2-A1</xref> in <xref ref-type="app" rid="app001">Appendix 1</xref>). The second important finding is that the distributions of hourly demand and the peak daily demand in South Africa are shifting towards lower demands over the years until 2023 as shown in <xref ref-type="fig" rid="F0007">Figures 7</xref>&#x2013;<xref ref-type="fig" rid="F0009">9</xref>. The third finding is that QR allows the assessment of uncertainties around point forecasts. This was illustrated by calculating the probability of forecasted hourly density demands (in <xref ref-type="fig" rid="F0007">Figures 7</xref>&#x2013;<xref ref-type="fig" rid="F0009">9</xref>) exceeding 32 860 kW. The probability of demand exceeding 32 860 kW was found to be less likely in 2023 than in any previous year.</p>
<p>The forecasted electricity demand distribution closely matched the actual demand distribution between 2012 and 2015 as shown in <xref ref-type="fig" rid="F0003">Figure 3</xref>. Therefore, the forecasted demand distribution is expected to continue representing the actual demand distribution until 2023. Using a QR approach to obtain long-term forecasts of hourly load profile patterns is, therefore, recommended.</p>
</sec>
</body>
<back>
<ack>
<title>Acknowledgements</title>
<p>The research was conducted during a contract research project funded by Eskom. The researchers would therefore like to thank Eskom for funding the research, and we would also like to thank the following Eskom staff members for the supply of data: Moonlight Mbata and Ntokozo Sigwebela. I would also like to thank the following CSIR staff members for their technical support: Nontembeko Dudeni-Tlhone and Nosizo Sebake.</p>
<sec id="s20010" sec-type="COI-statement">
<title>Competing interests</title>
<p>The authors declare that they have no financial or personal relationship(s) that may have inappropriately influenced them in writing this article.</p>
</sec>
<sec id="s20011">
<title>Authors&#x2019; contributions</title>
<p>P.M. was the project leader. Did the analysis and wrote the paper. P.D, J.G. and V.S.S. were supervisors for P.M.&#x2019;s PhD and gave guidance and critically read the paper. All authors edited the article. R.K. gave guidance, assisted in the writing of conclusions, proofread and did the final editing of the paper. S.S. helped with cleaning the data and searching for some literature.</p>
</sec>
</ack>
<ref-list id="references">
<title>References</title>
<ref id="CIT0001"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Benoit</surname>, <given-names>K</given-names></string-name>.</person-group>, <year>2011</year>, &#x2018;<article-title>Linear regression models with logarithmic transformations</article-title>&#x2019;, <source><italic>London School of Economics, London</italic></source> <volume>22</volume>(<issue>1</issue>), <fpage>23</fpage>&#x2013;<lpage>36</lpage>.</mixed-citation></ref>
<ref id="CIT0002"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bunn</surname>, <given-names>D.W</given-names></string-name>.</person-group>, <year>1982</year>, &#x2018;<article-title>Short-term forecasting: A review of procedures in the electricity supply industry</article-title>&#x2019;, <source><italic>Journal of the Operational Research Society</italic></source> <volume>33</volume>(<issue>6</issue>), <fpage>533</fpage>&#x2013;<lpage>545</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1057/jors.1982.116">https://doi.org/10.1057/jors.1982.116</ext-link></comment></mixed-citation></ref>
<ref id="CIT0003"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Bystr&#x00F6;m</surname>, <given-names>H.N</given-names></string-name>.</person-group>, <year>2005</year>, &#x2018;<article-title>Extreme value theory and extremely large electricity price changes</article-title>&#x2019;, <source><italic>International Review of Economics &#x0026; Finance</italic></source> <volume>14</volume>(<issue>1</issue>), <fpage>41</fpage>&#x2013;<lpage>55</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/S1059-0560(03)00032-7">https://doi.org/10.1016/S1059-0560(03)00032-7</ext-link></comment></mixed-citation></ref>
<ref id="CIT0004"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Cade</surname>, <given-names>B.S</given-names></string-name>. &#x0026; <string-name><surname>Noon</surname>, <given-names>B.R</given-names></string-name>.</person-group>, <year>2003</year>, &#x2018;<article-title>A gentle introduction to quantile regression for ecologists</article-title>&#x2019;, <source><italic>Frontiers in Ecology and the Environment</italic></source> <volume>1</volume>(<issue>8</issue>), <fpage>412</fpage>&#x2013;<lpage>420</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1890/1540-9295(2003)001[0412:AGITQR]2.0.CO;2">https://doi.org/10.1890/1540-9295(2003)001[0412:AGITQR]2.0.CO;2</ext-link></comment></mixed-citation></ref>
<ref id="CIT0005"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Cornec</surname>, <given-names>M</given-names></string-name>.</person-group>, <year>2014</year>, &#x2018;<article-title>Constructing a conditional GDP fan chart with an application to French business survey data</article-title>&#x2019;, <source><italic>OECD Journal: Journal of Business Cycle Measurement and Analysis</italic></source> <volume>2013</volume>(<issue>2</issue>), <fpage>109</fpage>&#x2013;<lpage>127</lpage>.</mixed-citation></ref>
<ref id="CIT0006"><mixed-citation publication-type="thesis"><person-group person-group-type="author"><string-name><surname>Farland</surname>, <given-names>J</given-names></string-name>.</person-group>, <year>2013</year>, &#x2018;<article-title>Zonal and regional load forecasting in the New England wholesale electricity market: A semiparametric regression approach</article-title>&#x2019;, <comment>Masters thesis 1911 &#x2013; February 2014, 1120, viewed 16 August 2017, from <ext-link ext-link-type="uri" xlink:href="http://scholarworks.umass.edu/theses/1120">http://scholarworks.umass.edu/theses/1120</ext-link></comment>.</mixed-citation></ref>
<ref id="CIT0007"><mixed-citation publication-type="web"><person-group person-group-type="author"><string-name><surname>Gibbons</surname>, <given-names>C</given-names></string-name>. &#x0026; <string-name><surname>Faruqui</surname>, <given-names>A</given-names></string-name>.</person-group>, <year>2014</year>, &#x2018;<article-title>Quantile regression for peak demand forecasting</article-title>&#x2019;, <comment>viewed 15 August 2017, from <ext-link ext-link-type="uri" xlink:href="https://ssrn.com/abstract=2485657">https://ssrn.com/abstract=2485657</ext-link></comment>.</mixed-citation></ref>
<ref id="CIT0008"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gneiting</surname>, <given-names>T</given-names></string-name>. &#x0026; <string-name><surname>Katzfuss</surname>, <given-names>M</given-names></string-name>.</person-group>, <year>2014</year>, &#x2018;<article-title>Probabilistic forecasting</article-title>&#x2019;, <source><italic>Annual Review of Statistics and Its Application</italic></source> <volume>1</volume>, <fpage>125</fpage>&#x2013;<lpage>151</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1146/annurev-statistics-062713-085831">https://doi.org/10.1146/annurev-statistics-062713-085831</ext-link></comment></mixed-citation></ref>
<ref id="CIT0009"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Harvey</surname>, <given-names>A.C</given-names></string-name>.</person-group>, <year>1990</year>, <source><italic>Forecasting, structural time series models and the Kalman filter</italic></source>, <publisher-name>Cambridge University Press</publisher-name>, <publisher-loc>Cambridge, UK</publisher-loc>.</mixed-citation></ref>
<ref id="CIT0010"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Hong</surname>, <given-names>T</given-names></string-name>. &#x0026; <string-name><surname>Shahidehpour</surname>, <given-names>M</given-names></string-name>.</person-group>, <year>2015</year>, <source>Load forecasting case study</source>, <publisher-name>EISPC, US Department of Energy</publisher-name>, <publisher-loc>Charlotte, NC</publisher-loc>.</mixed-citation></ref>
<ref id="CIT0011"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hong</surname>, <given-names>T</given-names></string-name>., <string-name><surname>Wilson</surname>, <given-names>J</given-names></string-name>. &#x0026; <string-name><surname>Xie</surname>, <given-names>J</given-names></string-name>.</person-group>, <year>2014</year>, &#x2018;<article-title>Long-term probabilistic load forecasting and normalization with hourly information</article-title>&#x2019;, <source><italic>IEEE Transactions on Smart Grid</italic></source> <volume>5</volume>(<issue>1</issue>), <fpage>456</fpage>&#x2013;<lpage>462</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TSG.2013.2274373">https://doi.org/10.1109/TSG.2013.2274373</ext-link></comment>.</mixed-citation></ref>
<ref id="CIT0012"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Hyndman</surname>, <given-names>R.J</given-names></string-name>. &#x0026; <string-name><surname>Fan</surname>, <given-names>S</given-names></string-name>.</person-group>, <year>2010</year>, &#x2018;<article-title>Density forecasting for long-term peak electricity demand</article-title>&#x2019;, <source><italic>IEEE Transactions on Power Systems</italic></source> <volume>25</volume>(<issue>2</issue>), <fpage>1142</fpage>&#x2013;<lpage>1153</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1109/TPWRS.2009.2036017">https://doi.org/10.1109/TPWRS.2009.2036017</ext-link></comment></mixed-citation></ref>
<ref id="CIT0013"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Inglesi</surname>, <given-names>R</given-names></string-name>. &#x0026; <string-name><surname>Pouris</surname>, <given-names>A</given-names></string-name>.</person-group>, <year>2010</year>, &#x2018;<article-title>Forecasting electricity demand in South Africa: A critique of Eskom&#x2019;s projections</article-title>&#x2019;, <source><italic>South African Journal of Science</italic></source> <volume>106</volume>(<issue>1&#x2013;2</issue>), <fpage>50</fpage>&#x2013;<lpage>53</lpage>.</mixed-citation></ref>
<ref id="CIT0014"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Inglesi-Lotz</surname>, <given-names>R</given-names></string-name>.</person-group>, <year>2011</year>, &#x2018;<article-title>The evolution of price elasticity of electricity demand in South Africa: A Kalman filter application</article-title>&#x2019;, <source><italic>Energy Policy</italic></source> <volume>39</volume>(<issue>6</issue>), <fpage>3690</fpage>&#x2013;<lpage>3696</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enpol.2011.03.078">https://doi.org/10.1016/j.enpol.2011.03.078</ext-link></comment></mixed-citation></ref>
<ref id="CIT0015"><mixed-citation publication-type="conference"><person-group person-group-type="author"><string-name><surname>Koen</surname>, <given-names>R</given-names></string-name>., <string-name><surname>Magadla</surname>, <given-names>T</given-names></string-name>. &#x0026; <string-name><surname>Mokilane</surname>, <given-names>P</given-names></string-name>.</person-group>, <year>2014</year>, &#x2018;<article-title>Developing long-term scenario forecasts to support electricity generation investment decisions</article-title>&#x2019;, <conf-name>43rd Annual Conference of the Operations Research Society of South Africa</conf-name>, p. <fpage>9</fpage>, <comment>Operations Research Society of South Africa</comment>, <conf-loc>Pretoria, South Africa</conf-loc>.</mixed-citation></ref>
<ref id="CIT0016"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Koenker</surname>, <given-names>R</given-names></string-name>.</person-group>, <year>2005</year>, <source><italic>Quantile regression</italic></source>, <publisher-name>Cambridge University Press</publisher-name>, <publisher-loc>New York, NY</publisher-loc>.</mixed-citation></ref>
<ref id="CIT0017"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Koenker</surname>, <given-names>R</given-names></string-name>. &#x0026; <string-name><surname>Bassett Jr</surname>, <given-names>G</given-names></string-name>.</person-group>, <year>1978</year>, &#x2018;<article-title>Regression quantiles</article-title>&#x2019;, <source><italic>Econometrica: Journal of the Econometric Society</italic></source> <volume>46</volume>(<issue>1</issue>), <fpage>33</fpage>&#x2013;<lpage>50</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2307/1913643">https://doi.org/10.2307/1913643</ext-link></comment></mixed-citation></ref>
<ref id="CIT0018"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Koenker</surname>, <given-names>R</given-names></string-name>. &#x0026; <string-name><surname>Bassett</surname> <suffix>Jr</suffix>, <given-names>G</given-names></string-name>.</person-group>, <year>1982</year>, &#x2018;<article-title>Robust tests for heteroscedasticity based on regression quantiles</article-title>&#x2019;, <source><italic>Econometrica: Journal of the Econometric Society</italic></source> <volume>50</volume>(<issue>1</issue>), <fpage>43</fpage>&#x2013;<lpage>61</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.2307/1912528">https://doi.org/10.2307/1912528</ext-link></comment></mixed-citation></ref>
<ref id="CIT0019"><mixed-citation publication-type="web"><person-group person-group-type="author"><string-name><surname>Lehohla</surname>, <given-names>P</given-names></string-name>.</person-group>, <year>2005</year>, &#x2018;<article-title>Census 2001: Stages in the life cycle of South Africans</article-title>&#x2019;, <comment>viewed 12 October, 2007, <ext-link ext-link-type="uri" xlink:href="http://www.statssa.gov.za/publications/C2001Stages/C2001Stages.pdf">http://www.statssa.gov.za/publications/C2001Stages/C2001Stages.pdf</ext-link></comment></mixed-citation></ref>
<ref id="CIT0020"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Lewis</surname>, <given-names>C.D</given-names></string-name>.</person-group>, <year>1982</year>, <source><italic>Industrial and business forecasting methods: A radical guide to exponential smoothing and curve fitting</italic></source>, <publisher-loc>London</publisher-loc>, <publisher-name>Butterworth Scientific</publisher-name>.</mixed-citation></ref>
<ref id="CIT0021"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Maistre</surname>, <given-names>S</given-names></string-name>., <string-name><surname>Lavergne</surname>, <given-names>P</given-names></string-name>. &#x0026; <string-name><surname>Patilea</surname>, <given-names>V</given-names></string-name>.</person-group>, <year>2017</year>, &#x2018;<article-title>Powerful nonparametric checks for quantile regression</article-title>&#x2019;, <source><italic>Journal of Statistical Planning and Inference</italic></source> <volume>180</volume>, <fpage>13</fpage>&#x2013;<lpage>29</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jspi.2016.08.006">https://doi.org/10.1016/j.jspi.2016.08.006</ext-link></comment></mixed-citation></ref>
<ref id="CIT0022"><mixed-citation publication-type="web"><person-group person-group-type="author"><string-name><surname>Rasuba</surname>, <given-names>M</given-names></string-name>., <string-name><surname>Khuluse</surname>, <given-names>S</given-names></string-name>. &#x0026; <string-name><surname>Elphinstone</surname>, <given-names>C.D</given-names></string-name>.</person-group>, <year>2010</year>, &#x2018;<article-title>Forecasts for electricity demand in South Africa (2010&#x2013;2035) using the CSIR sectoral regression model</article-title>&#x2019;, <comment>viewed 04 September 2017, from <ext-link ext-link-type="uri" xlink:href="http://www.energy.gov.za/irp/irp&#x0025;20files/CSIR_model_IRP&#x0025;20forecasts&#x0025;202010_final_v2.pdf">http://www.energy.gov.za/irp/irp&#x0025;20files/CSIR_model_IRP&#x0025;20forecasts&#x0025;202010_final_v2.pdf</ext-link></comment>.</mixed-citation></ref>
<ref id="CIT0023"><mixed-citation publication-type="thesis"><person-group person-group-type="author"><string-name><surname>Sigauke</surname>, <given-names>C</given-names></string-name>.</person-group>, <year>2014</year>, <source><italic>Modelling electricity demand in South Africa</italic></source>, <comment>University of the Free State, Doctoral dissertation</comment>, <publisher-name>University of the Free State</publisher-name>, <comment>viewed 26 August, 2017 from, <ext-link ext-link-type="uri" xlink:href="http://scholar.ufs.ac.za:8080/xmlui/handle/11660/1569">http://scholar.ufs.ac.za:8080/xmlui/handle/11660/1569</ext-link></comment>.</mixed-citation></ref>
<ref id="CIT0024"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Sigauke</surname>, <given-names>C</given-names></string-name>. &#x0026; <string-name><surname>Chikobvu</surname>, <given-names>D</given-names></string-name>.</person-group>, <year>2011</year>, &#x2018;<article-title>Prediction of daily peak electricity demand in South Africa using volatility forecasting models</article-title>&#x2019;, <source><italic>Energy Economics</italic></source> <volume>33</volume>(<issue>5</issue>), <fpage>882</fpage>&#x2013;<lpage>888</lpage>.</mixed-citation></ref>
<ref id="CIT0025"><mixed-citation publication-type="book"><person-group person-group-type="author"><collab>Statistics South Africa</collab></person-group>, <year>1998</year>, <source><italic>The people of South Africa population census, 1996</italic></source>, <publisher-loc>Pretoria</publisher-loc>, <publisher-name>Statistics South Africa</publisher-name>.</mixed-citation></ref>
<ref id="CIT0026"><mixed-citation publication-type="book"><person-group person-group-type="author"><collab>Statistics South Africa</collab></person-group>, <year>2008</year>, <source><italic>Community survey, 2007: Basic results municipalities</italic></source>, <publisher-loc>Pretoria</publisher-loc>, <publisher-name>Statistics South Africa</publisher-name>.</mixed-citation></ref>
<ref id="CIT0027"><mixed-citation publication-type="book"><person-group person-group-type="author"><collab>Statistics South Africa</collab></person-group>, <year>2011</year>, <source><italic>Census 2011 methodology and highlights of key results</italic></source>, <publisher-loc>Pretoria</publisher-loc>, <publisher-name>Statistics South Africa</publisher-name>.</mixed-citation></ref>
<ref id="CIT0028"><mixed-citation publication-type="web"><person-group person-group-type="author"><collab>Statistics South Africa</collab></person-group>, <year>n.d.</year>, <source><italic>Economic growth</italic></source>, <comment>viewed August 16 2017, from <ext-link ext-link-type="uri" xlink:href="http://www.statssa.gov.za/?page_id=735&#x0026;id=1">http://www.statssa.gov.za/?page_id=735&#x0026;id=1</ext-link></comment></mixed-citation></ref>
<ref id="CIT0029"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Suganthi</surname>, <given-names>L</given-names></string-name>. &#x0026; <string-name><surname>Samuel</surname>, <given-names>A.A</given-names></string-name>.</person-group>, <year>2012</year>, &#x2018;<article-title>Energy models for demand forecasting &#x2013; A review</article-title>&#x2019;, <source><italic>Renewable and Sustainable Energy Reviews</italic></source> <volume>16</volume>(<issue>2</issue>), <fpage>1223</fpage>&#x2013;<lpage>1240</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.rser.2011.08.014">https://doi.org/10.1016/j.rser.2011.08.014</ext-link></comment></mixed-citation></ref>
<ref id="CIT0030"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Tay</surname>, <given-names>A.S</given-names></string-name>. &#x0026; <string-name><surname>Wallis</surname>, <given-names>K.F</given-names></string-name>.</person-group> <year>2000</year>, &#x2018;<article-title>Density forecasting: A survey</article-title>&#x2019;, <source><italic>Journal of Forecasting</italic></source> <volume>19</volume>(<issue>4</issue>), <fpage>235</fpage>&#x2013;<lpage>254</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/1099-131X(200007)19:4&#x003C;235::AID-FOR772&#x003E;3.0.CO;2-L">https://doi.org/10.1002/1099-131X(200007)19:4&#x003C;235::AID-FOR772&#x003E;3.0.CO;2-L</ext-link></comment></mixed-citation></ref>
<ref id="CIT0031"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Taylor</surname>, <given-names>J.W</given-names></string-name>.</person-group>, <year>2006</year>, &#x2018;<article-title>Density forecasting for the efficient balancing of the generation and consumption of electricity</article-title>&#x2019;, <source><italic>International Journal of Forecasting</italic></source> <volume>22</volume>(<issue>4</issue>), <fpage>707</fpage>&#x2013;<lpage>724</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2006.02.001">https://doi.org/10.1016/j.ijforecast.2006.02.001</ext-link></comment></mixed-citation></ref>
<ref id="CIT0032"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Taylor</surname>, <given-names>J.W</given-names></string-name>., <string-name><surname>De Menezes</surname>, <given-names>L.M</given-names></string-name>. &#x0026; <string-name><surname>McSharry</surname>, <given-names>P.E</given-names></string-name>.</person-group>, <year>2006</year>, &#x2018;<article-title>A comparison of univariate methods for forecasting electricity demand up to a day ahead</article-title>&#x2019;, <source><italic>International Journal of Forecasting</italic></source> <volume>22</volume>(<issue>1</issue>), <fpage>1</fpage>&#x2013;<lpage>16</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.ijforecast.2005.06.006">https://doi.org/10.1016/j.ijforecast.2005.06.006</ext-link></comment></mixed-citation></ref>
<ref id="CIT0033"><mixed-citation publication-type="book"><person-group person-group-type="author"><string-name><surname>Weron</surname>, <given-names>R</given-names></string-name>.</person-group>, <year>2007</year>, <source><italic>Modeling and forecasting electricity loads and prices: A statistical approach</italic></source> (Vol. <volume>403</volume>), <publisher-name>John Wiley &#x0026; Sons</publisher-name>.</mixed-citation></ref>
<ref id="CIT0034"><mixed-citation publication-type="conference"><person-group person-group-type="author"><string-name><surname>Weron</surname>, <given-names>R</given-names></string-name>. &#x0026; <string-name><surname>Misiorek</surname>, <given-names>A</given-names></string-name>.</person-group>, <year>2004</year>, &#x2018;<article-title>Modeling and forecasting electricity loads: A comparison</article-title>&#x2019;, <conf-name>International Conference EEM-04 proceedings</conf-name>, <conf-date>September 20&#x2013;22, 2004</conf-date>, <conf-loc>Poland</conf-loc>, pp. <fpage>135</fpage>&#x2013;<lpage>142</lpage>.</mixed-citation></ref>
<ref id="CIT0035"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Yue</surname>, <given-names>Y.R</given-names></string-name>. &#x0026; <string-name><surname>Rue</surname>, <given-names>H</given-names></string-name>.</person-group>, <year>2011</year>, &#x2018;<article-title>Bayesian inference for additive mixed quantile regression models</article-title>&#x2019;, <source><italic>Computational Statistics &#x0026; Data Analysis</italic></source> <volume>55</volume>(<issue>1</issue>), <fpage>84</fpage>&#x2013;<lpage>96</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.csda.2010.05.006">https://doi.org/10.1016/j.csda.2010.05.006</ext-link></comment></mixed-citation></ref>
<ref id="CIT0036"><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Ziramba</surname>, <given-names>E</given-names></string-name>.</person-group>, <year>2008</year>, &#x2018;<article-title>The demand for residential electricity in South Africa</article-title>&#x2019;, <source><italic>Energy Policy</italic></source> <volume>36</volume>(<issue>9</issue>), <fpage>3460</fpage>&#x2013;<lpage>3466</lpage>. <comment><ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.enpol.2008.05.026">https://doi.org/10.1016/j.enpol.2008.05.026</ext-link></comment></mixed-citation></ref>
</ref-list>
<app-group>
<app id="app001">
<title>Appendix 1</title>
<sec id="s0012">
<title></title>
<table-wrap id="T0002">
<label>TABLE 1-A1</label>
<caption><p>Selected quantile regression models.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="center" rowspan="2">Variables</th>
<th valign="top" align="center" colspan="4">1st percentile level<hr/></th>
<th valign="top" align="center" colspan="4">50th percentile level<hr/></th>
<th valign="top" align="center" colspan="4">99th percentile level<hr/></th>
</tr>
<tr>
<th valign="top" align="center">Estimates</th>
<th valign="top" align="center" colspan="2">95&#x0025; confidence limits</th>
<th valign="top" align="center">Pr &#x003E; |t|</th>
<th valign="top" align="center">Estimates</th>
<th valign="top" align="center" colspan="2">95&#x0025; confidence limits</th>
<th valign="top" align="center">Pr &#x003E; |t|</th>
<th valign="top" align="center">Estimates</th>
<th valign="top" align="center" colspan="2">95&#x0025; confidence limits</th>
<th valign="top" align="center">Pr &#x003E; |t|</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">Intercept</td>
<td align="center">8.1435</td>
<td align="center">8.0515</td>
<td align="center">8.2355</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">9.3791</td>
<td align="center">9.351</td>
<td align="center">9.4071</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">9.7052</td>
<td align="center">9.6011</td>
<td align="center">9.8093</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Newyear</td>
<td align="center">&#x2212;0.1577</td>
<td align="center">&#x2212;0.1909</td>
<td align="center">&#x2212;0.1246</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.1189</td>
<td align="center">&#x2212;0.1328</td>
<td align="center">&#x2212;0.105</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0308</td>
<td align="center">&#x2212;0.0661</td>
<td align="center">0.0045</td>
<td align="center">0.0872</td>
</tr>
<tr>
<td align="left">Humanrights</td>
<td align="center">&#x2212;0.0626</td>
<td align="center">&#x2212;0.0999</td>
<td align="center">&#x2212;0.0252</td>
<td align="center">0.001</td>
<td align="center">&#x2212;0.051</td>
<td align="center">&#x2212;0.0614</td>
<td align="center">&#x2212;0.0407</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0236</td>
<td align="center">&#x2212;0.0376</td>
<td align="center">&#x2212;0.0095</td>
<td align="center">0.001</td>
</tr>
<tr>
<td align="left">FreedomDay</td>
<td align="center">&#x2212;0.0612</td>
<td align="center">&#x2212;0.1149</td>
<td align="center">&#x2212;0.0076</td>
<td align="center">0.0251</td>
<td align="center">&#x2212;0.0315</td>
<td align="center">&#x2212;0.0412</td>
<td align="center">&#x2212;0.0219</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0443</td>
<td align="center">&#x2212;0.0602</td>
<td align="center">&#x2212;0.0285</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">WorkersDay</td>
<td align="center">&#x2212;0.0386</td>
<td align="center">&#x2212;0.055</td>
<td align="center">&#x2212;0.0221</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0699</td>
<td align="center">&#x2212;0.0773</td>
<td align="center">&#x2212;0.0625</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.064</td>
<td align="center">&#x2212;0.0817</td>
<td align="center">&#x2212;0.0463</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">YouthDay</td>
<td align="center">&#x2212;0.0903</td>
<td align="center">&#x2212;0.1129</td>
<td align="center">&#x2212;0.0676</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0566</td>
<td align="center">&#x2212;0.0695</td>
<td align="center">&#x2212;0.0436</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0485</td>
<td align="center">&#x2212;0.0641</td>
<td align="center">&#x2212;0.033</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">HeritageDay</td>
<td align="center">&#x2212;0.0711</td>
<td align="center">&#x2212;0.0924</td>
<td align="center">&#x2212;0.0498</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0532</td>
<td align="center">&#x2212;0.0618</td>
<td align="center">&#x2212;0.0447</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0355</td>
<td align="center">&#x2212;0.0604</td>
<td align="center">&#x2212;0.0107</td>
<td align="center">0.0051</td>
</tr>
<tr>
<td align="left">Reconciliation Day</td>
<td align="center">0.0251</td>
<td align="center">0.0002</td>
<td align="center">0.05</td>
<td align="center">0.0478</td>
<td align="center">&#x2212;0.0008</td>
<td align="center">&#x2212;0.0093</td>
<td align="center">0.0077</td>
<td align="center">0.8546</td>
<td align="center">0.0287</td>
<td align="center">0.0059</td>
<td align="center">0.0515</td>
<td align="center">0.0137</td>
</tr>
<tr>
<td align="left">ChristmasDay</td>
<td align="center">&#x2212;0.1253</td>
<td align="center">&#x2212;0.1635</td>
<td align="center">&#x2212;0.0872</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0844</td>
<td align="center">&#x2212;0.0981</td>
<td align="center">&#x2212;0.0706</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0586</td>
<td align="center">&#x2212;0.0782</td>
<td align="center">&#x2212;0.0389</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">GoodwillDay</td>
<td align="center">&#x2212;0.1014</td>
<td align="center">&#x2212;0.1377</td>
<td align="center">&#x2212;0.0652</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0941</td>
<td align="center">&#x2212;0.105</td>
<td align="center">&#x2212;0.0831</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0882</td>
<td align="center">&#x2212;0.1077</td>
<td align="center">&#x2212;0.0686</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month1</td>
<td align="center">&#x2212;0.0703</td>
<td align="center">&#x2212;0.0784</td>
<td align="center">&#x2212;0.0622</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0095</td>
<td align="center">&#x2212;0.0117</td>
<td align="center">&#x2212;0.0073</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0026</td>
<td align="center">&#x2212;0.0006</td>
<td align="center">0.0058</td>
<td align="center">0.1065</td>
</tr>
<tr>
<td align="left">Month2</td>
<td align="center">0.003</td>
<td align="center">&#x2212;0.0022</td>
<td align="center">0.0082</td>
<td align="center">0.2596</td>
<td align="center">0.0078</td>
<td align="center">0.0059</td>
<td align="center">0.0096</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0037</td>
<td align="center">0.0008</td>
<td align="center">0.0066</td>
<td align="center">0.0116</td>
</tr>
<tr>
<td align="left">Month3</td>
<td align="center">&#x2212;0.0015</td>
<td align="center">&#x2212;0.0074</td>
<td align="center">0.0043</td>
<td align="center">0.6131</td>
<td align="center">&#x2212;0.0006</td>
<td align="center">&#x2212;0.0026</td>
<td align="center">0.0014</td>
<td align="center">0.5641</td>
<td align="center">0.0083</td>
<td align="center">0.0048</td>
<td align="center">0.0117</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month4</td>
<td align="center">&#x2212;0.0063</td>
<td align="center">&#x2212;0.0132</td>
<td align="center">0.0006</td>
<td align="center">0.0741</td>
<td align="center">&#x2212;0.0102</td>
<td align="center">&#x2212;0.0121</td>
<td align="center">&#x2212;0.0084</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0103</td>
<td align="center">0.0063</td>
<td align="center">0.0143</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month5</td>
<td align="center">&#x2212;0.0087</td>
<td align="center">&#x2212;0.016</td>
<td align="center">&#x2212;0.0014</td>
<td align="center">0.0203</td>
<td align="center">0.0019</td>
<td align="center">&#x2212;0.0009</td>
<td align="center">0.0047</td>
<td align="center">0.1837</td>
<td align="center">0.0376</td>
<td align="center">0.032</td>
<td align="center">0.0431</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month6</td>
<td align="center">&#x2212;0.0196</td>
<td align="center">&#x2212;0.0314</td>
<td align="center">&#x2212;0.0079</td>
<td align="center">0.001</td>
<td align="center">0.0212</td>
<td align="center">0.0172</td>
<td align="center">0.0251</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0453</td>
<td align="center">0.0378</td>
<td align="center">0.0528</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month7</td>
<td align="center">&#x2212;0.0158</td>
<td align="center">&#x2212;0.0283</td>
<td align="center">&#x2212;0.0033</td>
<td align="center">0.0133</td>
<td align="center">0.0115</td>
<td align="center">0.0072</td>
<td align="center">0.0158</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0336</td>
<td align="center">0.0244</td>
<td align="center">0.0428</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month8</td>
<td align="center">&#x2212;0.0499</td>
<td align="center">&#x2212;0.06</td>
<td align="center">&#x2212;0.0398</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0016</td>
<td align="center">&#x2212;0.0053</td>
<td align="center">0.0021</td>
<td align="center">0.3961</td>
<td align="center">0.0199</td>
<td align="center">0.0102</td>
<td align="center">0.0295</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month9</td>
<td align="center">0.0097</td>
<td align="center">0.0054</td>
<td align="center">0.014</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0127</td>
<td align="center">0.0111</td>
<td align="center">0.0144</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0155</td>
<td align="center">0.0118</td>
<td align="center">0.0192</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Month10</td>
<td align="center">0.0168</td>
<td align="center">0.0125</td>
<td align="center">0.021</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0105</td>
<td align="center">0.0088</td>
<td align="center">0.0121</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0057</td>
<td align="center">0.0027</td>
<td align="center">0.0088</td>
<td align="center">0.0002</td>
</tr>
<tr>
<td align="left">Month11</td>
<td align="center">0.0106</td>
<td align="center">0.0057</td>
<td align="center">0.0156</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0106</td>
<td align="center">0.0088</td>
<td align="center">0.0125</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0113</td>
<td align="center">0.0083</td>
<td align="center">0.0144</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Sin6</td>
<td align="center">0.0048</td>
<td align="center">0.0035</td>
<td align="center">0.0061</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0113</td>
<td align="center">0.0109</td>
<td align="center">0.0118</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0178</td>
<td align="center">0.0169</td>
<td align="center">0.0188</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Cos6</td>
<td align="center">&#x2212;0.0079</td>
<td align="center">&#x2212;0.0092</td>
<td align="center">&#x2212;0.0065</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0059</td>
<td align="center">&#x2212;0.0063</td>
<td align="center">&#x2212;0.0054</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0026</td>
<td align="center">&#x2212;0.0036</td>
<td align="center">&#x2212;0.0017</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Sin12</td>
<td align="center">&#x2212;0.0594</td>
<td align="center">&#x2212;0.0611</td>
<td align="center">&#x2212;0.0577</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0689</td>
<td align="center">&#x2212;0.0694</td>
<td align="center">&#x2212;0.0684</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0681</td>
<td align="center">&#x2212;0.0694</td>
<td align="center">&#x2212;0.0669</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Cos12</td>
<td align="center">0.0004</td>
<td align="center">&#x2212;0.0011</td>
<td align="center">0.0019</td>
<td align="center">0.5896</td>
<td align="center">&#x2212;0.0124</td>
<td align="center">&#x2212;0.0128</td>
<td align="center">&#x2212;0.0119</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0218</td>
<td align="center">&#x2212;0.0228</td>
<td align="center">&#x2212;0.0208</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Sin18</td>
<td align="center">&#x2212;0.0013</td>
<td align="center">&#x2212;0.0025</td>
<td align="center">&#x2212;0.0001</td>
<td align="center">0.033</td>
<td align="center">0.0003</td>
<td align="center">&#x2212;0.0002</td>
<td align="center">0.0007</td>
<td align="center">0.2228</td>
<td align="center">&#x2212;0.0004</td>
<td align="center">&#x2212;0.0012</td>
<td align="center">0.0004</td>
<td align="center">0.305</td>
</tr>
<tr>
<td align="left">Cos18</td>
<td align="center">0.0008</td>
<td align="center">&#x2212;0.0005</td>
<td align="center">0.002</td>
<td align="center">0.2318</td>
<td align="center">0.0002</td>
<td align="center">&#x2212;0.0003</td>
<td align="center">0.0006</td>
<td align="center">0.5197</td>
<td align="center">0.0008</td>
<td align="center">0.0001</td>
<td align="center">0.0016</td>
<td align="center">0.0358</td>
</tr>
<tr>
<td align="left">Sin24</td>
<td align="center">&#x2212;0.0648</td>
<td align="center">&#x2212;0.0663</td>
<td align="center">&#x2212;0.0632</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0746</td>
<td align="center">&#x2212;0.0751</td>
<td align="center">&#x2212;0.074</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0719</td>
<td align="center">&#x2212;0.0731</td>
<td align="center">&#x2212;0.0708</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Cos24</td>
<td align="center">&#x2212;0.0779</td>
<td align="center">&#x2212;0.0792</td>
<td align="center">&#x2212;0.0766</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0822</td>
<td align="center">&#x2212;0.0827</td>
<td align="center">&#x2212;0.0817</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0846</td>
<td align="center">&#x2212;0.0862</td>
<td align="center">&#x2212;0.083</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Lag70128</td>
<td align="center">0.0086</td>
<td align="center">&#x2212;0.0196</td>
<td align="center">0.0367</td>
<td align="center">0.5496</td>
<td align="center">&#x2212;0.0835</td>
<td align="center">&#x2212;0.0945</td>
<td align="center">&#x2212;0.0724</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.1164</td>
<td align="center">&#x2212;0.1331</td>
<td align="center">&#x2212;0.0997</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Lag70152</td>
<td align="center">&#x2212;0.0002</td>
<td align="center">&#x2212;0.0282</td>
<td align="center">0.0279</td>
<td align="center">0.9912</td>
<td align="center">&#x2212;0.0421</td>
<td align="center">&#x2212;0.0537</td>
<td align="center">&#x2212;0.0306</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0071</td>
<td align="center">&#x2212;0.0147</td>
<td align="center">0.0289</td>
<td align="center">0.524</td>
</tr>
<tr>
<td align="left">Lag70176</td>
<td align="center">&#x2212;0.091</td>
<td align="center">&#x2212;0.1134</td>
<td align="center">&#x2212;0.0686</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.1039</td>
<td align="center">&#x2212;0.1165</td>
<td align="center">&#x2212;0.0913</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.1735</td>
<td align="center">&#x2212;0.194</td>
<td align="center">&#x2212;0.1529</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Lag70200</td>
<td align="center">&#x2212;0.0629</td>
<td align="center">&#x2212;0.0871</td>
<td align="center">&#x2212;0.0386</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0194</td>
<td align="center">&#x2212;0.0309</td>
<td align="center">&#x2212;0.0078</td>
<td align="center">0.001</td>
<td align="center">0.076</td>
<td align="center">0.0543</td>
<td align="center">0.0977</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Lag70224</td>
<td align="center">0.4198</td>
<td align="center">0.3919</td>
<td align="center">0.4476</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.4573</td>
<td align="center">0.444</td>
<td align="center">0.4705</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.2638</td>
<td align="center">0.2464</td>
<td align="center">0.2811</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Lag70248</td>
<td align="center">&#x2212;0.08</td>
<td align="center">&#x2212;0.1024</td>
<td align="center">&#x2212;0.0575</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.127</td>
<td align="center">&#x2212;0.1378</td>
<td align="center">&#x2212;0.1161</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0007</td>
<td align="center">&#x2212;0.0166</td>
<td align="center">0.0152</td>
<td align="center">0.9309</td>
</tr>
<tr>
<td align="left">Sun</td>
<td align="center">&#x2212;0.012</td>
<td align="center">&#x2212;0.0166</td>
<td align="center">&#x2212;0.0073</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0164</td>
<td align="center">&#x2212;0.0181</td>
<td align="center">&#x2212;0.0146</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0201</td>
<td align="center">&#x2212;0.0227</td>
<td align="center">&#x2212;0.0174</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Mon</td>
<td align="center">0.0215</td>
<td align="center">0.0172</td>
<td align="center">0.0258</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0096</td>
<td align="center">0.0074</td>
<td align="center">0.0118</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0211</td>
<td align="center">0.0173</td>
<td align="center">0.0249</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Tues</td>
<td align="center">0.0314</td>
<td align="center">0.0264</td>
<td align="center">0.0363</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0198</td>
<td align="center">0.018</td>
<td align="center">0.0217</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0146</td>
<td align="center">0.0116</td>
<td align="center">0.0176</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Wed</td>
<td align="center">0.033</td>
<td align="center">0.0281</td>
<td align="center">0.038</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0153</td>
<td align="center">0.0133</td>
<td align="center">0.0174</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0089</td>
<td align="center">0.0055</td>
<td align="center">0.0123</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Thurs</td>
<td align="center">0.0341</td>
<td align="center">0.0298</td>
<td align="center">0.0385</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0159</td>
<td align="center">0.0141</td>
<td align="center">0.0177</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0105</td>
<td align="center">0.0069</td>
<td align="center">0.0141</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Fri</td>
<td align="center">0.0314</td>
<td align="center">0.0274</td>
<td align="center">0.0354</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0155</td>
<td align="center">0.0137</td>
<td align="center">0.0173</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0062</td>
<td align="center">0.0035</td>
<td align="center">0.0088</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Fribtwn</td>
<td align="center">&#x2212;0.1295</td>
<td align="center">&#x2212;0.1758</td>
<td align="center">&#x2212;0.0833</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0673</td>
<td align="center">&#x2212;0.0738</td>
<td align="center">&#x2212;0.0608</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0348</td>
<td align="center">&#x2212;0.0686</td>
<td align="center">&#x2212;0.001</td>
<td align="center">0.0438</td>
</tr>
<tr>
<td align="left">Monbtwn</td>
<td align="center">&#x2212;0.0115</td>
<td align="center">&#x2212;0.0416</td>
<td align="center">0.0187</td>
<td align="center">0.4561</td>
<td align="center">&#x2212;0.0289</td>
<td align="center">&#x2212;0.0357</td>
<td align="center">&#x2212;0.0222</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0006</td>
<td align="center">&#x2212;0.0136</td>
<td align="center">0.0148</td>
<td align="center">0.933</td>
</tr>
<tr>
<td align="left">Lngwknd</td>
<td align="center">&#x2212;0.0579</td>
<td align="center">&#x2212;0.0666</td>
<td align="center">&#x2212;0.0492</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0264</td>
<td align="center">&#x2212;0.0288</td>
<td align="center">&#x2212;0.0239</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0175</td>
<td align="center">&#x2212;0.0222</td>
<td align="center">&#x2212;0.0128</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Dec_closure</td>
<td align="center">&#x2212;0.1011</td>
<td align="center">&#x2212;0.1117</td>
<td align="center">&#x2212;0.0906</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0563</td>
<td align="center">&#x2212;0.0593</td>
<td align="center">&#x2212;0.0533</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0405</td>
<td align="center">&#x2212;0.0449</td>
<td align="center">&#x2212;0.0361</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Winter_SchoolholiDay</td>
<td align="center">&#x2212;0.0069</td>
<td align="center">&#x2212;0.0117</td>
<td align="center">&#x2212;0.0021</td>
<td align="center">0.0051</td>
<td align="center">0.0045</td>
<td align="center">0.0028</td>
<td align="center">0.0062</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0078</td>
<td align="center">0.0044</td>
<td align="center">0.0112</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Easter</td>
<td align="center">&#x2212;0.0826</td>
<td align="center">&#x2212;0.0996</td>
<td align="center">&#x2212;0.0656</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0502</td>
<td align="center">&#x2212;0.0546</td>
<td align="center">&#x2212;0.0458</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">&#x2212;0.0495</td>
<td align="center">&#x2212;0.0578</td>
<td align="center">&#x2212;0.0412</td>
<td align="center">&#x003C;0.0001</td>
</tr>
<tr>
<td align="left">Winter</td>
<td align="center">0.0411</td>
<td align="center">0.029</td>
<td align="center">0.0532</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.0341</td>
<td align="center">0.0303</td>
<td align="center">0.038</td>
<td align="center">&#x003C;0.0001</td>
<td align="center">0.042</td>
<td align="center">0.0332</td>
<td align="center">0.0508</td>
<td align="center">&#x003C;0.0001</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn><p>Sin, Sine term of Fourier series; Cos, Cosine term of Fourier series; Lag, time lag; Fribtwn, Friday preceded by holiday; Monbtwn, Monday preceded by a holiday;</p></fn>
<fn><p>Newyear, New year; Humanrights, Human rights day; FreedomDay, Freedom day; WorkersDay, Workers day; YouthDay, Youth day; HeritageDay, Heritage day; ReconciliationDay, Reconciliation day; ChristmasDay, Christmas day; GoodwillDay, Day of Goodwill; Sun, Sunday; Mon, Monday; Tues, Tuesday; Wed, Wednesday; Thurs, Thursday; Fri, Friday; Lngwknd, Long weekend; Dec_closure, December closure; Winter_SchoolholiDay, Winter school holiday.</p></fn>
</table-wrap-foot>
</table-wrap>
<table-wrap id="T0003">
<label>TABLE 2-A1</label>
<caption><p>Mean absolute percentage error &#x2013; Forecasts at the 50th percentile.</p></caption>
<table frame="hsides" rules="groups">
<thead>
<tr>
<th valign="top" align="left">Hours</th>
<th valign="top" align="center">2012</th>
<th valign="top" align="center">2013</th>
<th valign="top" align="center">2014</th>
<th valign="top" align="center">2015</th>
<th valign="top" align="center">Average</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left">0</td>
<td align="center">2.92</td>
<td align="center">2.23</td>
<td align="center">3.29</td>
<td align="center">3.93</td>
<td align="center">3.09</td>
</tr>
<tr>
<td align="left">1</td>
<td align="center">2.75</td>
<td align="center">1.83</td>
<td align="center">3.02</td>
<td align="center">3.67</td>
<td align="center">2.82</td>
</tr>
<tr>
<td align="left">2</td>
<td align="center">2.67</td>
<td align="center">1.65</td>
<td align="center">2.82</td>
<td align="center">3.58</td>
<td align="center">2.68</td>
</tr>
<tr>
<td align="left">3</td>
<td align="center">2.58</td>
<td align="center">1.54</td>
<td align="center">2.64</td>
<td align="center">3.37</td>
<td align="center">2.53</td>
</tr>
<tr>
<td align="left">4</td>
<td align="center">2.46</td>
<td align="center">1.72</td>
<td align="center">2.35</td>
<td align="center">3.02</td>
<td align="center">2.39</td>
</tr>
<tr>
<td align="left">5</td>
<td align="center">3.85</td>
<td align="center">3.67</td>
<td align="center">3.68</td>
<td align="center">3.84</td>
<td align="center">3.76</td>
</tr>
<tr>
<td align="left">6</td>
<td align="center">4.30</td>
<td align="center">4.15</td>
<td align="center">3.99</td>
<td align="center">4.32</td>
<td align="center">4.19</td>
</tr>
<tr>
<td align="left">7</td>
<td align="center">2.76</td>
<td align="center">3.44</td>
<td align="center">3.88</td>
<td align="center">4.62</td>
<td align="center">3.68</td>
</tr>
<tr>
<td align="left">8</td>
<td align="center">2.15</td>
<td align="center">2.55</td>
<td align="center">2.89</td>
<td align="center">3.47</td>
<td align="center">2.77</td>
</tr>
<tr>
<td align="left">9</td>
<td align="center">2.15</td>
<td align="center">2.26</td>
<td align="center">2.54</td>
<td align="center">2.65</td>
<td align="center">2.40</td>
</tr>
<tr>
<td align="left">10</td>
<td align="center">2.35</td>
<td align="center">1.88</td>
<td align="center">1.97</td>
<td align="center">2.38</td>
<td align="center">2.15</td>
</tr>
<tr>
<td align="left">11</td>
<td align="center">2.59</td>
<td align="center">1.79</td>
<td align="center">1.91</td>
<td align="center">2.48</td>
<td align="center">2.19</td>
</tr>
<tr>
<td align="left">12</td>
<td align="center">2.47</td>
<td align="center">1.72</td>
<td align="center">2.21</td>
<td align="center">2.83</td>
<td align="center">2.31</td>
</tr>
<tr>
<td align="left">13</td>
<td align="center">2.50</td>
<td align="center">1.79</td>
<td align="center">2.49</td>
<td align="center">3.15</td>
<td align="center">2.48</td>
</tr>
<tr>
<td align="left">14</td>
<td align="center">2.55</td>
<td align="center">1.79</td>
<td align="center">2.55</td>
<td align="center">3.20</td>
<td align="center">2.52</td>
</tr>
<tr>
<td align="left">15</td>
<td align="center">2.58</td>
<td align="center">1.75</td>
<td align="center">2.30</td>
<td align="center">2.96</td>
<td align="center">2.40</td>
</tr>
<tr>
<td align="left">16</td>
<td align="center">2.41</td>
<td align="center">1.94</td>
<td align="center">2.14</td>
<td align="center">2.93</td>
<td align="center">2.36</td>
</tr>
<tr>
<td align="left">17</td>
<td align="center">2.85</td>
<td align="center">3.23</td>
<td align="center">2.80</td>
<td align="center">3.60</td>
<td align="center">3.12</td>
</tr>
<tr>
<td align="left">18</td>
<td align="center">3.34</td>
<td align="center">4.29</td>
<td align="center">3.67</td>
<td align="center">3.67</td>
<td align="center">3.74</td>
</tr>
<tr>
<td align="left">19</td>
<td align="center">2.19</td>
<td align="center">2.42</td>
<td align="center">2.12</td>
<td align="center">2.55</td>
<td align="center">2.32</td>
</tr>
<tr>
<td align="left">20</td>
<td align="center">2.42</td>
<td align="center">2.22</td>
<td align="center">1.98</td>
<td align="center">2.83</td>
<td align="center">2.36</td>
</tr>
<tr>
<td align="left">21</td>
<td align="center">2.19</td>
<td align="center">2.21</td>
<td align="center">2.22</td>
<td align="center">3.31</td>
<td align="center">2.48</td>
</tr>
<tr>
<td align="left">22</td>
<td align="center">2.15</td>
<td align="center">2.22</td>
<td align="center">2.84</td>
<td align="center">3.81</td>
<td align="center">2.76</td>
</tr>
<tr>
<td align="left">23</td>
<td align="center">2.60</td>
<td align="center">2.19</td>
<td align="center">3.23</td>
<td align="center">3.93</td>
<td align="center">2.99</td>
</tr>
<tr>
<td align="left">Average</td>
<td align="center">2.66</td>
<td align="center">2.35</td>
<td align="center">2.73</td>
<td align="center">3.34</td>
<td align="center">2.77</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</app>
<app id="app002">
<title>Appendix 2</title>
<sec id="s0013">
<title></title>
<fig id="F0010">
<label>FIGURE 1-A2</label>
<caption><p>The autocorrelation plot: Correlation of hourly electricity demand data.</p></caption>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="SAJEMS-21-1757-g010.tif"/>
</fig>
</sec>
</app>
</app-group>
<fn-group>
<fn><p><bold>How to cite this article:</bold> Mokilane, P., Galpin, J., Yadavalli, V.S.S., Debba, P., Koen, R., Sibiya, S., 2018, &#x2018;Density forecasting for long-term electricity demand in South Africa using quantile regression&#x2019;, <italic>South African Journal of Economic and Management Sciences</italic> 21(1), a1757. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.4102/sajems.v21i1.1757">https://doi.org/10.4102/sajems.v21i1.1757</ext-link></p></fn>
</fn-group>
</back>
</article>