Time Series Forecasting in R & SAP

In this blog I continue further on the material presented in previous blogs that can be read on the links SAP HANA Sales Continuity Operational Report 2 and Time Series Forecasting Models

The HANA stored procedure is modified in a way that it takes care of filling possible gaps in the time series by value 2 to enable smooth Box-Cox log transformation without zero values:

The forecast package for R, created and maintained by Professor Rob Hyndman of Monash University, is one of the more useful R packages available with methods and tools for displaying and analysing univariate time series forecasts including exponential smoothing via state space models and automatic ARIMA modelling.

Exponential smoothing and ARIMA models are the two most widely-used approaches to time series forecasting, and provide complementary approaches to the problem. While exponential smoothing models are based on a description of the trend and seasonality in the data, ARIMA models aim to describe the autocorrelations in the data.

By using r forecast package we have the following advantages:

  1. The auto.arima() function is used for automatically selecting ARIMA models. When the lambda argument is specified, a Box-Cox transformation is used. The value 0 specifies a log transformation which constrain the forecasts to stay positive on the original scale. When forecasts are produced, they are back-transformed to the original space.
  2. A rich support for other models

Finally, the forecast results should be exposed to the outer world without any dependencies of installed software and operating systems. Rook is a web server interface and software package for R. By using it I am finalizing this story 😊.

Ovaj unos je objavljen u Nekategorizirano. Bookmarkirajte stalnu vezu.

Jedan odgovor na Time Series Forecasting in R & SAP

  1. Povratni ping: R Predictive Analytics Recap | Tmilinovic's Blog


Popunite niže tražene podatke ili kliknite na neku od ikona za prijavu:

WordPress.com Logo

Ovaj komentar pišete koristeći vaš WordPress.com račun. Odjava /  Izmijeni )

Google photo

Ovaj komentar pišete koristeći vaš Google račun. Odjava /  Izmijeni )

Twitter picture

Ovaj komentar pišete koristeći vaš Twitter račun. Odjava /  Izmijeni )

Facebook slika

Ovaj komentar pišete koristeći vaš Facebook račun. Odjava /  Izmijeni )

Spajanje na %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.