Lecture notes

Here are my lecture notes, all of them, in chronological order, with the slideshows, PDF versions of those (for printing) and the Quarto documents with the code that made the slides:

Section Slides PDF Code
STAC32 course outline Slides PDF Code
STAC33 course outline Slides PDF Code
STAD29 course outline Slides PDF Code
Running R Slides PDF Code
Reading data files Slides PDF Code
Drawing graphs Slides PDF Code
Numerical summaries Slides PDF Code
Choosing things from dataframes Slides PDF Code
Inference: one and two-sample t Slides PDF Code
Bootstrap for sample mean Slides PDF Code
Inference: power Slides PDF Code
Inference: sign test Slides PDF Code
Inference: normal quantile plot Slides PDF Code
Inference: matched pairs Slides PDF Code
Inference: Mood’s median test Slides PDF Code
Inference: analysis of variance Slides PDF Code
Writing reports Slides PDF Code
Tidying data Slides PDF Code
Tidying data: extras Slides PDF Code
When pivot_wider goes wrong Slides PDF Code
Case study: windmill Slides PDF Code
Case study: asphalt Slides PDF Code
Regression with categorical variables Slides PDF Code
Functions Slides PDF Code
Vector and matrix algebra Slides PDF Code
Bootstrap revisited Slides PDF Code
Bayesian statistics with Stan Slides PDF Code
Regression revisited Slides PDF Code
Logistic regression Slides PDF Code
Dates and Times Slides PDF Code
Durations, intervals and periods Slides PDF Code
Survival analysis Slides PDF Code
ANOVA revisited Slides PDF Code
Analysis of Covariance Slides PDF Code
Multivariate ANOVA Slides PDF Code
Repeated measures Slides PDF Code
Discriminant analysis Slides PDF Code
Cluster analysis Slides PDF Code
Drawing maps Slides PDF Code
Principal components Slides PDF Code
Factor analysis Slides PDF Code
Multiway frequency tables Slides PDF Code