Articles by Rob J Hyndman

Time series cross-validation: an R example

August 25, 2011 | Rob J Hyndman

I was recently asked how to implement time series cross-validation in R. Time series people would normally call this “forecast evaluation with a rolling origin” or something similar, but it is the natural and obvious analogue to leave-one-out cross-validation for cross-sectional data, so I prefer to call it “time series ... [Read more...]

Major changes to the forecast package

August 25, 2011 | Rob J Hyndman

The forecast package for R has undergone a major upgrade, and I’ve given it version number 3 as a result. Some of these changes were suggestions from the forecasting workshop I ran in Switzerland a couple of months ago, and some have been on the drawing board for a long ... [Read more...]

Forecasting time series using R

August 24, 2011 | Rob J Hyndman

I’ll be giving a talk on Forecasting time series using R for the Melbourne Users of R Network (MelbURN) on Thursday 27 October 2011 at 6pm. I will look at the various facilities for time series forecasting available in R, concentrating on the forecast package. This package implements several automatic methods ... [Read more...]

Comparing HoltWinters() and ets()

May 29, 2011 | Rob J Hyndman

I received this email today: I have a question about the ets() function in R, which I am trying to use for Holt-Winters exponential smoothing. My problem is that I am getting very different estimates of the alpha, beta and gamma parameters using ets() compared to HoltWinters(), and I can’... [Read more...]

Statistical tests for variable selection

March 14, 2011 | Rob J Hyndman

I received an email today with the following comment: I’m using ARIMA with Intervention detection and was planning to use your package to identify my initial ARIMA model for later iteration, however I found that sometimes the auto.arima function returns a model where AR/MA coefficients are not ... [Read more...]

RStudio: just what I’ve been looking for

February 28, 2011 | Rob J Hyndman

For many years I used RWinEdt as my text editor for R code, but when WinEdt 6.0 came out, RWinEdt stopped working. So I’ve been looking for something to replace it. I’ve tried Tinn-R, NppToR, Eclipse with StatET and a couple of other editors, but nothing was quite right. ... [Read more...]

CrossValidated Journal Club

December 21, 2010 | Rob J Hyndman

Journal Clubs are a great way to learn new research ideas and to keep up with the literature. The idea is that a group of people get together every week or so to discuss a paper of joint interest. This can happen within your own research group or department, or ... [Read more...]

Forecasting workshop: Switzerland, June 2011

December 6, 2010 | Rob J Hyndman

I will be running a workshop on Statistical Forecasting: Principles and Practice in Switzerland, 20-22 June 2011. Check out the venue: Waldhotel Doldenhorn, Kandersteg! So if you fancy a trip to the beautiful Swiss Alps next June, read on… Outline Forecasting is required in many situations: deciding whether to build another ... [Read more...]

Data visualization videos

November 29, 2010 | Rob J Hyndman

Probably everyone has seen Hans Rosling’s famous TED talk by now. I recently came across a couple of other exceptional talks on data visualization: Hans Rosling again: Let my dataset change your mindset. If only all statistics lecturers were this dynamic! David McCandless: The beauty of data visualization. Not ... [Read more...]

Initializing the Holt-Winters method

November 29, 2010 | Rob J Hyndman

The Holt-Winters method is a popular and effective approach to forecasting seasonal time series. But different implementations will give different forecasts, depending on how the method is initialized and how the smoothing parameters are selected. In this post I will discuss various initialization methods. Suppose the time series is denoted ... [Read more...]

CrossValidated launched!

November 4, 2010 | Rob J Hyndman

The CrossValidated Q&A site is now out of beta and the new design and site name is live. New design The new design looks great, thanks to Jin Yang, our designer-in-residence. Note the normal density icon for accepted answers and the site icon depicting a 5-fold cross-validation (light green ... [Read more...]

Different results from different software

October 26, 2010 | Rob J Hyndman

I’ve had a few questions on this topic lately. Here is an email received today: I use Eviews to estimate time series, but I have been checking out R recently, and your Forecast package. I cannot understand why 2 similar equations in Eviews and R are giving different estimated output. ... [Read more...]

How to avoid annoying a referee

October 22, 2010 | Rob J Hyndman

It’s not a good idea to annoy the referees of your paper. They make recommendations to the editor about your work and it is best to keep them happy. There is an interesting discussion on stats.stackexchange.com on this subject. This inspired my own list below. Explain what ... [Read more...]

Happy World Statistics Day!

October 19, 2010 | Rob J Hyndman

The United Nations has declared today “World Statistics Day”. I’ve no idea what that means, or why we need a WSD. Perhaps it is because the date is 20.10.2010 (except in North America where it is 10.20.2010). But then, what happens from 2013 to 2099? And do we just forget the whole idea ... [Read more...]

Animated plots in R and LaTeX

October 12, 2010 | Rob J Hyndman

I like to use animated plots in my talks on functional time series, partly because it is the only way to really see what is going on with changes in the shapes of curves over time, and also because audiences love them! Here is how it is done. For LaTeX, ...
[Read more...]

The ARIMAX model muddle

October 4, 2010 | Rob J Hyndman

There is often confusion about how to include covariates in ARIMA models, and the presentation of the subject in various textbooks and in R help files has not helped the confusion. So I thought I’d give my take on the issue. To keep it simple, I will only describe ... [Read more...]
1 5 6 7 8

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)