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