Tag Archives: code

MAPA and intermittent demand forecasting

Recently I posted about a paper I co-authored with Fotios Petropoulos, now in JORS: Forecast Combinations for Intermittent Demand. There we found that for intermittent demand data using multiple levels of temporal aggregation, forecasting them with the appropriate models and finally combining the forecasts performed best. This approach has many analogies with the MAPA algorithm… Read More: MAPA and intermittent demand forecasting »

Intermittent demand forecasting package for R

A new package for analysing and forecasting intermittent demand time series and slow moving items has been release for R. You can download the latest version from CRAN. The launch version contains the following functions: crost: Croston’s method and variants. crost.ma: Moving average with Croston’s method decomposition. idclass: Time series categorisation for intermittent demand. simID:… Read More: Intermittent demand forecasting package for R »

How to use R packages from GitHub

Update: The following R commands will install a package directly from GitHub to R: > if (!require(“devtools”)) install.packages(“devtools”) > devtools::install_github(“YYY/ZZZ”) where YYY is the GitHub username and ZZZ is the package name. For example to install TStools use: > devtools::install_github(“trnnick/TStools”) This makes the process described below unnecessary, however if you want the ‘full’ story read… Read More: How to use R packages from GitHub »

TStools for R

This is a collection of functions for time series analysis/modelling for R. Follow link to GitHub. If you need help installing this package in R have a look at this post. Alternatively just type in R the following commands: > if (!require(“devtools”)) install.packages(“devtools”) > devtools::install_github(“trnnick/TStools”) At the time of posting the following functions are included:… Read More: TStools for R »