Publications by R on Rob J Hyndman
The cricketdata package
Four functions The cricketdata package has been around for a few years on github, and it has been on CRAN since February 2022. There are only four functions: fetch_cricinfo(): Fetch team data on international cricket matches provided by ESPNCricinfo. fetch_player_data(): Fetch individual player data on international cricket matches provided by E...
3187 sym R (5488 sym/8 pcs) 8 img
Murphy diagrams in R
At the recent International Symposium on Forecasting, held in Riverside, California, Tillman Gneiting gave a great talk on “Evaluating forecasts: why proper scoring rules and consistent scoring functions matter”. It will be the subject of an IJF invited paper in due course. One of the things he talked about was the “Murphy diagram” for c...
3174 sym R (656 sym/2 pcs) 4 img
Mathematical annotations on R plots
I’ve always struggled with using plotmath via the expression function in R for adding mathematical notation to axes or legends. For some reason, the most obvious way to write something never seems to work for me and I end up using trial and error in a loop with far too many iterations. So I am very happy to see the new latex2exp package availab...
1249 sym R (832 sym/2 pcs) 4 img
Upcoming talks in California
I’m back in California for the next couple of weeks, and will give the following talk at Stanford and UC-Davis. Optimal forecast reconciliation for big time series data Time series can often be naturally disaggregated in a hierarchical or grouped structure. For example, a manufacturing company can disaggregate total demand for their products b...
1684 sym
Chinese R conference
I will be speaking at the Chinese R conference in Nanchang, to be held on 24-25 October, on “Forecasting Big Time Series Data using R”. Details (for those who can read Chinese) are at china-r.org. Related To leave a comment for the author, please follow the link and comment on their blog: R on Rob J Hyndman. R-bloggers.com offers daily e...
597 sym
Reproducibility in computational research
Jane Frazier spoke at our research team meeting today on “Reproducibility in computational research”. We had a very stimulating and lively discussion about the issues involved. One interesting idea was that reproducibility is on a scale, and we can all aim to move further along the scale towards making our own research more reproducible. For ...
1233 sym
Stanford seminar
I gave a seminar at Stanford today. Slides are below. It was definitely the most intimidating audience I’ve faced, with Jerome Friedman, Trevor Hastie, Brad Efron, Persi Diaconis, Susan Holmes, David Donoho and John Chambers all present (and probably other famous names I’ve missed). I’ll be giving essentially the same talk at UC Davis on Th...
752 sym 4 img
forecast package v6.2
It is a while since I last updated the CRAN version of the forecast package, so I uploaded the latest version (6.2) today. The github version remains the most up-to-date version and is already two commits ahead of the CRAN version. This update is mostly bug fixes and additional error traps. The full ChangeLog is listed below. Many unit tests add...
1762 sym
Piecewise linear trends
I prepared the following notes for a consulting client, and I thought they might be of interest to some other people too. Let \(y_t\) denote the value of the time series at time \(t\), and suppose we wish to fit a trend with correlated errors of the form \[ y_t = f(t) + n_t, \] where \(f(t)\) represents the possibly nonlinear trend and \(n_t\) is...
3727 sym R (879 sym/5 pcs) 4 img
The hidden benefits of open-source software
I’ve been having discussions with colleagues and university administration about the best way for universities to manage home-grown software. The traditional business model for software is that we build software and sell it to everyone willing to pay. Very often, that leads to a software company spin-off that has little or nothing to do wi...
3716 sym