Books

Learning Statistics with R

From 2011 to 2015 I taught an introductory statistics class using R and I wrote my own lecture notes. It got a little out of hand, turning into a 600 page book that is freely available under a CC BY-SA 4.0 licence at learningstatisticswithr.com. It covers the basics of psychological research methods, R programming, data wrangling, descriptive statistics, R graphics, orthodox and Bayesian inference, t-tests, chi-square tests, factorial ANOVA and multiple regression in a friendly (and I hope helpful) way.

To my surprise, the book has been rather popular, and has been adapted in several ways. David Foxcroft adapted it to create a Jamovi version, and Tom Faulkenberry adapted that to create a JASP version. Jean-Marc Meunier was kind enough to make a French translation of the Jamovi book, which is so cool, and I’ve heard rumours that there are Japanese, Spanish and Turkish translations in the works elsewhere. Because the creative commons licence allows more radical adaptations, there’s also a really nice book on Answering Questions with Data by Matt Crump that uses parts of the material from the original book.

As yet, no-one has created a Learning Statistics with an Abacus adaptation.

ggplot2: Elegant Graphics for Data Analysis

The ggplot2 package is a system for declaratively specifying data visualisations, and is one of the most widely-used R packages. The book, available at ggplot2-book.org, describes the underlying “grammar of graphics” that powers the package. Originally a sole author work by Hadley Wickham, the forthcoming 3rd edition adds Thomas Lin Pedersen and I as coauthors.