Director of the Statistics for Development Division at SPC. Statistician, data scientist, senior manager, consultant. Most of my stuff on GitHub is in R.
forecastxgb-r-package. An R package for time series models and forecasts with xgboost compatible with {forecast} S3 classes
140forecastHybrid. Convenient functions for ensemble forecasts in R combining approaches from the {forecast} package
81ggseas. seasonal adjustment on the fly extension for ggplot2
76rmarkdown-corporate-eg. Example folder system for a corporately-styled RMarkdown document
32nzelect. New Zealand election and census results data in convenient form of two R packages - nzelect and nzcensus
32ellisp.github.io. Blog
27ggflags. flag geom for ggplot2
22ozfedelect. Australian federal elections data and forecasts
22nz-election-forecast. Probabilitstic prediction model for the New Zealand general election
22blog-source. Source code for http://freerangestats.info
19frs-r-package. R package for miscellaneous functions associated with Peter's Stats Stuff
11Tcomp-r-package. Datasets from the 2011 Tourism Forecasting Competition
6covid-symptom-challenge. Peter Ellis' entry in the COVID-19 Symptom Data Challenge, in partnership with Facebook Data for Good, Delphi Group at Carnegie Mellon University, the Joint Program on Survey Methodology at the University of Maryland, the Duke Margolis Center for Health Policy, and Resole to Save Lives, an initiative of Vital Strategies. Organised by Catalyst @Health 2.0.
5control-charts. exploration of control charts with different true values of p and sample sizes
5shiny-multi-demo. Demo Shiny app in various stages of creation
5Rrobot. A twitterbot that tweets about #rstats
4graphics-taster. Presentation on graphics in June 2016
4nyc-taxis. Yet another set of analysis of the New York City Taxis
3wwi-ship-data. Data from logs and elsewhere on UK Royal Navy ships in World War I
2prediction-intervals-asc. Analysis and presentation on forecastHybrid and prediction intervals, for the Australian Statistical Conference SSA stream in December 2016
2mtagdp-nzae. Article on Modelled Territorial Authority Gross Domestic Product for the New Zealand Association of Economists conference 2016
2usa-count-2020. Chart of key battleground states in 2020 election
1ihaka-lecture-2024. Snippets of code and storyline to support Peter Ellis' talk on 'Making R work in government", 3rd Ihaka Lecture in the 2024 series
1inequality. Analysis of inequality in NZ and possibly some other places; will see how we go.
1sim-health-microdata. Example simulations of health microdata
1nz-census-explorer. An experimental Shiny app to explore the New Zealand census data from 2001, 2006 and 2013.
1bigdata-eval-2016. Presentation on big data and program evaluation May 2016 for ANZEA
1wellington-backgammon. Support material for the Wellington backgammon meetup group
1survey_microdata. Database of microdata from open source surveys
1twitter-misc. Miscellaneous data collection and analysis based on Twitter
1