James delivered a series of workshops to QSTEP students. The focus is teaching basic statistics in R using examples and then generalising to more real data.
The R notebook files for each workshop are hosted here. The HTML version of these notebooks is hosted on another server. The workshops are outlined in the table below (with links to the HTML output) in the order they were delivered.
File | Topic and HTML link |
---|---|
regression-1-1.Rmd | Basic introduction to bivariate regression |
regression-1-2.Rmd | Simple model evaluation |
regression-1-3.Rmd | Applied example using the British Attitudes Survey data |
regression-2-1.Rmd | Basic introduction to linear regression |
regression-2-2.Rmd | Basic multiple regression |
regression-2-3.Rmd | Applied example using the British Attitudes Survey data |
bridge.Rmd | Summary/catch-up workshop |
bridge2.html | Working with categorical data |
- Download the repository
- Install R and Rstudio
- Install the prerequisite R packages
- Open a .Rmd file
- Install R
- The following R packages: arm, car, MASS, ggplot2, popbio
- Install Rstudio
- Open a .Rmd file from within RStudio
This project is licensed under the GPL 3.0 License - see the LICENSE.md file for details
- The QSTEP staff for supporting the workshops
- Those students who attended the workshops and for engaging with the content so enthusiastically.