Simple Linear Regression

Linear regression with a single explanatory variable.


This part introduces the basics of regression analysis, which we will then use for estimation, comparisons, and prediction.

This part is split into two chapters:

  1. Ordinary Linear Models (regression of continuous outcomes with a central tendency)
  2. Generalized Linear Models (regression of counts, ratios, binary outcomes, and more)

To get started, watch the videos on ordinary linear models.

These are the most information-dense chapters of the website. Take your time to familiarize yourself with the contents. Both chapters end with interactive apps to test your knowledge, and the ultimate goal: A full analysis for you to do in RStudio.