John Boylan and I have been working lately on a paper, explaining the logic behind the ssarima() function from the smooth package. This paper has finally been accepted and published. Also, based on a modified version of the ssarima() function, I have developed a SSARIMA module for Smoothie software, developed by DemandWorks company. Both the […]
Univariate models
OR60 presentation. Forecasting using exponential smoothing: the past, the present, the future
Robert Fildes asked me to prepare a review of exponential smoothing for OR60. I thought that it would be boring just to look in the past, so I decided to do past + present + future, adding a model that Nikos and I have started working on some time ago (GUM – Generalised Univariate Model). […]
“smooth” package for R. Intermittent state-space model. Part I. Introducing the model
UPDATE: Starting from smooth v 3.0.0, the occurrence part of the model has been removed from es() and other functions. The only one that implements this now is adam(). This post has been updated on 01 January 2021. UPDATE: Starting from smooth v 2.5.0, the model and the respective functions have changed. Now instead of […]
greybox 0.3.0 – what’s new
Three months have passed since the initial release of greybox on CRAN. I would not say that the package develops like crazy, but there have been some changes since May. Let’s have a look. We start by loading both greybox and smooth: library(greybox) library(smooth) Rolling Origin First of all, ro() function now has its own […]
International Symposium on Forecasting 2018
This year I have presented an extension of the research from ISF2017, called “Forecasting intermittent data with complex patterns”. This time we developed the model with “logistic probability”, which allows capturing complex patterns in demand occurrence part of the data. I also tried making the presentation more entertaining and easier to understand by a wider […]
Comparing additive and multiplicative regressions using AIC in R
One of the basic things the students are taught in statistics classes is that the comparison of models using information criteria can only be done when the models have the same response variable. This means, for example, that when you have \(\log(y_t)\) and calculate AIC, then this value is not comparable with AIC from a […]
“smooth” package for R. Common ground. Part IV. Exogenous variables. Advanced stuff
Previously we’ve covered the basics of exogenous variables in smooth functions. Today we will go slightly crazy and discuss automatic variables selection. But before we do that, we need to look at a Santa’s little helper function implemented in smooth. It is called xregExpander(). It is useful in cases when you think that your exogenous […]
“smooth” package for R. Common ground. Part III. Exogenous variables. Basic stuff
One of the features of the functions in smooth package is the ability to use exogenous (aka “external”) variables. This potentially leads to the increase in the forecasting accuracy (given that you have a good estimate of the future exogenous variable). For example, in retail this can be a binary variable for promotions and we […]
“smooth” package for R. Common ground. Part II. Estimators
UPDATE: Starting from the v2.5.1 the cfType parameter has been renamed into loss. This post has been updated since then in order to include the more recent name. A bit about estimates of parameters Hi everyone! Today I want to tell you about parameters estimation of smooth functions. But before going into details, there are […]
Multiplicative State-Space Models for Intermittent Time Series
John Boylan and I have been working on a paper about state-space models for intermittent data. We have had some good progress in that direction and have submitted the paper to IJF. Although it is still under review, we decided to publish the working paper in order to promote the thing. Here’s the abstract: Intermittent […]