IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v12y2018i1p94-d193747.html
   My bibliography  Save this article

A Novel Hybrid Algorithm to Forecast Functional Time Series Based on Pattern Sequence Similarity with Application to Electricity Demand

Author

Listed:
  • Francisco Martínez-Álvarez

    (Data Science & Big Data Lab, Universidad Pablo de Olavide, ES-41013 Seville, Spain)

  • Amandine Schmutz

    (Université de Lyon 2, 69000 Lyon, France)

  • Gualberto Asencio-Cortés

    (Data Science & Big Data Lab, Universidad Pablo de Olavide, ES-41013 Seville, Spain)

  • Julien Jacques

    (Université de Lyon 2, 69000 Lyon, France)

Abstract

The forecasting of future values is a very challenging task. In almost all scientific disciplines, the analysis of time series provides useful information and even economic benefits. In this context, this paper proposes a novel hybrid algorithm to forecast functional time series with arbitrary prediction horizons. It integrates a well-known clustering functional data algorithm into a forecasting strategy based on pattern sequence similarity, which was originally developed for discrete time series. The new approach assumes that some patterns are repeated over time, and it attempts to discover them and evaluate their immediate future. Hence, the algorithm first applies a clustering functional time series algorithm, i.e., it assigns labels to every data unit (it may represent either one hour, or one day, or any arbitrary length). As a result, the time series is transformed into a sequence of labels. Later, it retrieves the sequence of labels occurring just after the sample that we want to be forecasted. This sequence is searched for within the historical data, and every time it is found, the sample immediately after is stored. Once the searching process is terminated, the output is generated by weighting all stored data. The performance of the approach has been tested on real-world datasets related to electricity demand and compared to other existing methods, reporting very promising results. Finally, a statistical significance test has been carried out to confirm the suitability of the election of the compared methods. In conclusion, a novel algorithm to forecast functional time series is proposed with very satisfactory results when assessed in the context of electricity demand.

Suggested Citation

  • Francisco Martínez-Álvarez & Amandine Schmutz & Gualberto Asencio-Cortés & Julien Jacques, 2018. "A Novel Hybrid Algorithm to Forecast Functional Time Series Based on Pattern Sequence Similarity with Application to Electricity Demand," Energies, MDPI, vol. 12(1), pages 1-18, December.
  • Handle: RePEc:gam:jeners:v:12:y:2018:i:1:p:94-:d:193747
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/12/1/94/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/12/1/94/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Bergmeir, Christoph & Hyndman, Rob J. & Koo, Bonsoo, 2018. "A note on the validity of cross-validation for evaluating autoregressive time series prediction," Computational Statistics & Data Analysis, Elsevier, vol. 120(C), pages 70-83.
    2. Fearghal Kearney & Mark Cummins & Finbarr Murphy, 2018. "Forecasting implied volatility in foreign exchange markets: a functional time series approach," The European Journal of Finance, Taylor & Francis Journals, vol. 24(1), pages 1-18, January.
    3. Julien Jacques & Cristian Preda, 2014. "Functional data clustering: a survey," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 8(3), pages 231-255, September.
    4. Canale, Antonio & Vantini, Simone, 2016. "Constrained functional time series: Applications to the Italian gas market," International Journal of Forecasting, Elsevier, vol. 32(4), pages 1340-1351.
    5. Juhyun Park & Jeongyoun Ahn, 2017. "Clustering multivariate functional data with phase variation," Biometrics, The International Biometric Society, vol. 73(1), pages 324-333, March.
    6. Hörmann, Siegfried & Horváth, Lajos & Reeder, Ron, 2013. "A Functional Version Of The Arch Model," Econometric Theory, Cambridge University Press, vol. 29(2), pages 267-288, April.
    7. Charles Bouveyron & Julien Jacques, 2011. "Model-based clustering of time series in group-specific functional subspaces," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 5(4), pages 281-300, December.
    8. Aditya Gupta & Neeraj Bokde & K. D. Kulat, 2018. "Hybrid Leakage Management for Water Network Using PSF Algorithm and Soft Computing Techniques," Water Resources Management: An International Journal, Published for the European Water Resources Association (EWRA), Springer;European Water Resources Association (EWRA), vol. 32(3), pages 1133-1151, February.
    9. Sarah Gelper & Roland Fried & Christophe Croux, 2010. "Robust forecasting with exponential and Holt-Winters smoothing," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 29(3), pages 285-300.
    10. Shang, Han Lin, 2017. "Functional time series forecasting with dynamic updating: An application to intraday particulate matter concentration," Econometrics and Statistics, Elsevier, vol. 1(C), pages 184-200.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Paul Anton Verwiebe & Stephan Seim & Simon Burges & Lennart Schulz & Joachim Müller-Kirchenbauer, 2021. "Modeling Energy Demand—A Systematic Literature Review," Energies, MDPI, vol. 14(23), pages 1-58, November.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Golovkine, Steven & Klutchnikoff, Nicolas & Patilea, Valentin, 2022. "Clustering multivariate functional data using unsupervised binary trees," Computational Statistics & Data Analysis, Elsevier, vol. 168(C).
    2. Petropoulos, Fotios & Apiletti, Daniele & Assimakopoulos, Vassilios & Babai, Mohamed Zied & Barrow, Devon K. & Ben Taieb, Souhaib & Bergmeir, Christoph & Bessa, Ricardo J. & Bijak, Jakub & Boylan, Joh, 2022. "Forecasting: theory and practice," International Journal of Forecasting, Elsevier, vol. 38(3), pages 705-871.
      • Fotios Petropoulos & Daniele Apiletti & Vassilios Assimakopoulos & Mohamed Zied Babai & Devon K. Barrow & Souhaib Ben Taieb & Christoph Bergmeir & Ricardo J. Bessa & Jakub Bijak & John E. Boylan & Jet, 2020. "Forecasting: theory and practice," Papers 2012.03854, arXiv.org, revised Jan 2022.
    3. Xin Yao & Yuanyuan Cheng & Li Zhou & Malin Song, 2022. "Green efficiency performance analysis of the logistics industry in China: based on a kind of machine learning methods," Annals of Operations Research, Springer, vol. 308(1), pages 727-752, January.
    4. Kim, Joonpyo & Oh, Hee-Seok, 2020. "Pseudo-quantile functional data clustering," Journal of Multivariate Analysis, Elsevier, vol. 178(C).
    5. Alessandro Casa & Charles Bouveyron & Elena Erosheva & Giovanna Menardi, 2021. "Co-clustering of Time-Dependent Data via the Shape Invariant Model," Journal of Classification, Springer;The Classification Society, vol. 38(3), pages 626-649, October.
    6. Snježana Majstorović & Kristian Sabo & Johannes Jung & Matija Klarić, 2018. "Spectral methods for growth curve clustering," Central European Journal of Operations Research, Springer;Slovak Society for Operations Research;Hungarian Operational Research Society;Czech Society for Operations Research;Österr. Gesellschaft für Operations Research (ÖGOR);Slovenian Society Informatika - Section for Operational Research;Croatian Operational Research Society, vol. 26(3), pages 715-737, September.
    7. Ainhoa-Elena Léger & Stefano Mazzuco, 2021. "What Can We Learn from the Functional Clustering of Mortality Data? An Application to the Human Mortality Database," European Journal of Population, Springer;European Association for Population Studies, vol. 37(4), pages 769-798, November.
    8. Mestre, Guillermo & Portela, José & Rice, Gregory & Muñoz San Roque, Antonio & Alonso, Estrella, 2021. "Functional time series model identification and diagnosis by means of auto- and partial autocorrelation analysis," Computational Statistics & Data Analysis, Elsevier, vol. 155(C).
    9. Cristina Anton & Iain Smith, 2024. "Model-based clustering of functional data via mixtures of t distributions," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 18(3), pages 563-595, September.
    10. Han Lin Shang & Yang Yang & Fearghal Kearney, 2019. "Intraday forecasts of a volatility index: functional time series methods with dynamic updating," Annals of Operations Research, Springer, vol. 282(1), pages 331-354, November.
    11. Amovin-Assagba, Martial & Gannaz, Irène & Jacques, Julien, 2022. "Outlier detection in multivariate functional data through a contaminated mixture model," Computational Statistics & Data Analysis, Elsevier, vol. 174(C).
    12. Barrow, Devon & Kourentzes, Nikolaos, 2018. "The impact of special days in call arrivals forecasting: A neural network approach to modelling special days," European Journal of Operational Research, Elsevier, vol. 264(3), pages 967-977.
    13. Qi Guo & Bruno Remillard & Anatoliy Swishchuk, 2020. "Multivariate General Compound Point Processes in Limit Order Books," Risks, MDPI, vol. 8(3), pages 1-20, September.
    14. Yifan Zhu & Chongzhi Di & Ying Qing Chen, 2019. "Clustering Functional Data with Application to Electronic Medication Adherence Monitoring in HIV Prevention Trials," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 11(2), pages 238-261, July.
    15. Henriques, Irene & Sadorsky, Perry, 2023. "Forecasting rare earth stock prices with machine learning," Resources Policy, Elsevier, vol. 86(PA).
    16. Horváth, Lajos & Rice, Gregory & Whipple, Stephen, 2016. "Adaptive bandwidth selection in the long run covariance estimator of functional time series," Computational Statistics & Data Analysis, Elsevier, vol. 100(C), pages 676-693.
    17. Philippe Goulet Coulombe & Maxime Leroux & Dalibor Stevanovic & Stéphane Surprenant, 2022. "How is machine learning useful for macroeconomic forecasting?," Journal of Applied Econometrics, John Wiley & Sons, Ltd., vol. 37(5), pages 920-964, August.
    18. Hewamalage, Hansika & Bergmeir, Christoph & Bandara, Kasun, 2021. "Recurrent Neural Networks for Time Series Forecasting: Current status and future directions," International Journal of Forecasting, Elsevier, vol. 37(1), pages 388-427.
    19. Zhang, Xianyang, 2016. "White noise testing and model diagnostic checking for functional time series," Journal of Econometrics, Elsevier, vol. 194(1), pages 76-95.
    20. Gary S. Anderson & Alena Audzeyeva, 2019. "A Coherent Framework for Predicting Emerging Market Credit Spreads with Support Vector Regression," Finance and Economics Discussion Series 2019-074, Board of Governors of the Federal Reserve System (U.S.).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:12:y:2018:i:1:p:94-:d:193747. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.