Week 12 - Logistic Regression
When the Outcome Is Yes or No
So far every outcome has been a number on a scale. This week the outcome is binary: believed or didn’t, relapsed or didn’t, passed or failed. We’ll see why lm() breaks down for a 0/1 outcome, translate between probability, odds, and log-odds, and fit our first generalized linear model with glm(). The goal is to be able to explain a logistic model two ways: with odds ratios for the Results section, and with predicted probabilities for everyone else.
The lecture and activity are short so that most of class is M2 work time.
📂 M2 is due Sunday 11/15. Bring your project to class.
Prepare
Slides
Data
Cards Against Humanity, Pulse of the Nation (.csv): used in the lecture and the activity
In-Class Activity
Then: M2 work time.
For Next Time
📂 Final Project M2, due Sunday 11/15
📋Lab 11 - Logistic Regression, due Tuesday 11/17
Back to course schedule ⏎