Articles by Rob J Hyndman

A texteditor for R

September 29, 2010 | Rob J Hyndman

I’ve been using RWinEdt for the last few years for all my R coding. But it no longer works with WinEdt 6.0 and no update has been forthcoming. Consequently, I’ve been looking around for something similar to take its place. This question has been asked before on StackOverflow and ...
[Read more...]

Forecasting with long seasonal periods

September 28, 2010 | Rob J Hyndman

I am often asked how to fit an ARIMA or ETS model with data having a long seasonal period such as 365 for daily data or 48 for half-hourly data. Generally, seasonal versions of ARIMA and ETS models are designed for shorter periods such as 12 for monthly data or 4 for quarterly data. ... [Read more...]

What should we call the stats Q&A site?

September 18, 2010 | Rob J Hyndman

The Q&A site at has been steaming ahead with loads of good questions and answers. We are currently trying to select a name and not many people have voted. Although we have more than 1300 users of the site, less than 40 people have currently voted on the ...
[Read more...]

Econometrics and R

August 30, 2010 | Rob J Hyndman

Econometricians seem to be rather slow to adopt new methods and new technology (compared to other areas of statistics), but slowly the use of R is spreading. I’m now receiving requests for references showing how to use R in econometrics, and so I thought it might be helpful to ... [Read more...]

Twenty rules for good graphics

August 6, 2010 | Rob J Hyndman

One of the things I repeatedly include in referee reports, and in my responses to authors who have submitted papers to the International Journal of Forecasting, are comments designed to include the quality of the graphics. Recently someone asked on about best practices for producing plots. So ...
[Read more...]

Statistical Analysis StackExchange site now available

July 26, 2010 | Rob J Hyndman

The Q&A site for statistical analysis, data mining, data visualization, and everything else to do with data analysis has finally been launched. Please head over to and start asking and answering questions. Also, spread the word to everyone else who may be interested — work colleagues, students, ...
[Read more...]

More StackExchange sites

July 16, 2010 | Rob J Hyndman

The StackExchange site on Statistical Analysis is about to go into private beta testing. This is your last chance to commit if you want to be part of the private beta testing. Don’t worry if you miss out — it will only be a week before it is then open ...
[Read more...]

Stack exchange for statistical analysis needs you!

June 17, 2010 | Rob J Hyndman

The proposal to create a StackExchange site for statistical analysis is steadily moving forward. We have now completed the scoping stage which involved finding enough people willing to express an interest in the idea, and voting on some example questions to define what is allowed and what is not allowed ... [Read more...]

Learning R by video

March 9, 2010 | Rob J Hyndman

For those people who prefer to be shown how to do something rather than read the instructions, there are some videos on using R available online. Here are the ones I know about. Please add links to other similar resources in the comments. R videos Learn R Toolkit What is ... [Read more...]

Using Google Reader

February 15, 2010 | Rob J Hyndman

Google Reader is a fantastic way to keep track of new papers that are appearing in many different journals, and also to follow some of the interesting research blogs (and blogs on other topics) that are out there. Google Reader checks websites for you and lets you know of any ...
[Read more...]

Workflow in R

September 17, 2009 | Rob J Hyndman

This came up recently on StackOverflow. One of the answers was particularly helpful and I plan to adopt this for my future work. In fact, it is close to what I already do, but is a little more structured. The idea is to break the code into four files, ... [Read more...]

Finding an R function

September 13, 2009 | Rob J Hyndman

Suppose you want a function to fit a neural network. What’s the best way to find it? Here are three steps that help to find the elusive function relatively quickly. First, use"neural") or the shorthand ??neural. This will search the help... [Read more...]

R help on StackOverflow

August 23, 2009 | Rob J Hyndman

Ever since I began using R about ten years ago, the best place to find R help was on the R-help mailing list. But it is time-consuming searching through the archives trying to find something from a long time ago, and there is no way to sort out the goo... [Read more...]

Building R packages for Windows

July 13, 2009 | Rob J Hyndman

1. Installing the required tools To build an R package in Windows, you will need to install some additional software tools. These are summarized at 1.1 Essential: Rtools This is a collection of unix-like tools... [Read more...]

Time series packages on R

October 16, 2008 | Rob J Hyndman

There is now an official CRAN Task View for Time Series. This will replace my earlier list of time series packages for R, and provide a more visible and useful entry point for people wanting to use R for time series analysis. If I have missed anything ... [Read more...]

Organization and R

September 5, 2007 | Rob J Hyndman

Many R users seem to get themselves in a bit of a mess with R files and workspaces scattered across different directories. The R files themselves also get messy and hard to follow. So here is some advice on keeping organized with R: Try to keep code ... [Read more...]

Debugging in R

August 30, 2007 | Rob J Hyndman

Anyone who starts writing serious R code (i.e., code that involves user-written functions) soon finds the need to use debugging tools. There are a few basic tools in R that are worth knowing about. The function debug() allows one to step through the ex... [Read more...]
1 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)