Lab Scripts
This page contains link to lab scripts throughout the course. Clicking the title of the lab script will go directly to the “spun” HTML document from the underlying R code. The bottom left icons link to the underlying R script () and the HTML document ().
-
An Intro to R, RStudio, and {tidyverse}
tl;dr: A {tidyverse}-oriented lab for introducing students to R and Rstudio.
-
Some Basics of Descriptive Inference
tl;dr: A lab session on things like modes, medians, means, variable types, and recoding things.
-
The Bivariate Linear Model
tl;dr: We start a discussion of linear regression in the simple case of two variables.
-
Extending the Linear Model
tl;dr: Multiple regression is just OLS with more stuff glued onto it, but be mindful about what you're doing when interacting things.
-
Linear Model Diagnostics (and What to Do if You Flunk One)
tl;dr: OLS has assumptions, and you should perform various diagnostic tests on them to see if you have any issues. If there are issues, there are assorted things you can do (depending on the problem).