Publications by Rob J Hyndman

Computational Actuarial Science with R

02.02.2014

I recently co-authored a chapter on “Prospective Life Tables” for this book, edited by Arthur Charpentier. R code to reproduce the figures and to complete the exercises for our chapter is now available on github. Code for the other chapters should also be available soon. The book can be pre-ordered on Amazon. Related To leave a comment for ...

707 sym 2 img

Interview for the Capital of Statistics

04.02.2014

Earo Wang recently interviewed me for the Chinese website Capital of Statistics. The English transcript of the intervew is on Earo’s personal website. This is the third interview I’ve done in the last 18 months. The others were for: Data Mining Research. Republished in Amstat News. DecisionStats. Related To leave a comment for the author...

697 sym

Feedback on OTexts covers please

05.02.2014

We are currently selecting the cover design for OTexts books. The first one to go into print will be Forecasting: principles and practice. We have narrowed the choice to the two designs below, although changes are still possible. I thought it would be useful to get some feedback on these designs from readers of this blog (and from people who subs...

941 sym

Detecting seasonality

07.02.2014

I occasionally get email asking how to detect whether seasonality is present in a data set. Sometimes the period of the potential seasonality is known, but in other cases it is not. I’ve discussed before how to estimate an unknown seasonal period, and how to measure the strength of the seasonality. In this post, I want to look at testing if a s...

2851 sym R (203 sym/1 pcs) 4 img 1 tbl

Hierarchical forecasting with hts v4.0

12.02.2014

A new version of my hts package for R is now on CRAN. It was completely re-written from scratch. Not a single line of code survived. There are some minor syntax changes, but the biggest change is speed and scope. This version is many times faster than the previous version and can handle hundreds of thousands of time series without complaining. T...

2174 sym

Global energy forecasting competitions

19.02.2014

The 2012 GEFcom competition was a great success with several new innovative forecasting methods introduced. These have been published in the IJF as follows: Hong, Pinson and Fan. Global Energy Forecasting Competition 2012 Charleton and Singleton. A refined parametric model for short term load forecasting Lloyd. GEFCom2012 hierarchical load for...

3229 sym 20 img

Backcasting in R

19.02.2014

Sometimes it is useful to “backcast” a time series — that is, forecast in reverse time. Although there are no in-built R functions to do this, it is very easy to implement. Suppose x is our time series and we want to backcast for periods. Here is some code that should work for most univariate time series. The example is non-seasonal, but t...

782 sym R (363 sym/1 pcs) 4 img 1 tbl

Forecasting within limits

21.02.2014

It is common to want forecasts to be positive, or to require them to be within some specified range . Both of these situations are relatively easy to handle using transformations. Positive forecasts To impose a positivity constraint, simply work on the log scale. With the forecast package in R, this can be handled by specifying the Box-Cox parame...

1351 sym R (415 sym/2 pcs) 20 img 2 tbl

The forecast mean after back-transformation

24.02.2014

Many functions in the forecast package for R will allow a Box-Cox transformation. The models are fitted to the transformed data and the forecasts and prediction intervals are back-transformed. This preserves the coverage of the prediction intervals, and the back-transformed point forecast can be considered the median of the forecast densities (as...

1999 sym R (1044 sym/2 pcs) 28 img 2 tbl

More time series data online

27.02.2014

Earlier this week I had coffee with Ben Fulcher who told me about his online collection comprising about 30,000 time series, mostly medical series such as ECG measurements, meteorological series, birdsong, etc. There are some finance series, but not many other data from a business or economic context, although he does include my Time Series Data ...

1010 sym