PSF : Introduction to R Package for Pattern Sequence Based Forecasting Algorithm
Preprint
Abstract
This paper discusses about an R package that implements the Pattern Sequence based Forecasting (PSF) algorithm, which was developed for univariate time series forecasting. This algorithm has been successfully applied to many different fields. The PSF algorithm consists of two major parts: clustering and prediction. The clustering part includes selection of the optimum number of clusters. It labels time series data with reference to such clusters. The prediction part includes functions like optimum window size selection for specific patterns and prediction of future values with reference to past pattern sequences. The PSF package consists of various functions to implement the PSF algorithm. It also contains a function which automates all other functions to obtain optimized prediction results. The aim of this package is to promote the PSF algorithm and to ease its implementation with minimum efforts. This paper describes all the functions in the PSF package with their syntax. It also provides a simple example of usage. Finally, the usefulness of this package is discussed by comparing it to auto.arima and ets, well-known time series forecasting functions available on CRAN repository.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Improved pattern sequence‐based forecasting method for electricity loadIEEJ Transactions on Electrical and Electronic Engineering, 2014
- Discovery of motifs to forecast outlier occurrence in time seriesPattern Recognition Letters, 2011
- Short-term electricity prices forecasting in a competitive market: A neural network approachElectric Power Systems Research, 2007
- Mixed Models for Short-Run Forecasting of Electricity Prices: Application for the Spanish MarketIEEE Transactions on Power Systems, 2007
- Day-Ahead Electricity Price Forecasting Using the Wavelet Transform and ARIMA ModelsIEEE Transactions on Power Systems, 2005
- Finding Groups in Data: An Introduction to Cluster AnalysisTechnometrics, 1992
- Well-Separated Clusters and Optimal Fuzzy PartitionsJournal of Cybernetics, 1974