Regression and inference
Content for Thursday, January 18, 2024
Readings
- Chapters 3 and 4 in The Effect (Huntington-Klein 2021)
Recommended readings
Look through your notes on regression from your last stats class. Also, you can skim through these resources:
- 5.1–5.4 in ModernDive (Ismay and Kim 2019)
- 6.1–6.4 in ModernDive (Ismay and Kim 2019)
- 7.1–7.3 in OpenIntro Statistics (Diez, Çetinkaya-Rundel, and Barr 2019)
- 8.1 in OpenIntro Statistics (Diez, Çetinkaya-Rundel, and Barr 2019)
We’ll review all this regression stuff in the videos, so don’t panic if this all looks terrifying! Also, take advantage of the videos that accompany the OpenIntro chapters. And also, the OpenIntro chapters are heavier on the math—don’t worry if you don’t understand everything.
Slides
The slides for today’s lesson are available online as an HTML file. Use the buttons below to open the slides either as an interactive website or as a static PDF (for printing or storing for later). You can also click in the slides below and navigate through them with your left and right arrow keys.
Fun fact: If you type ? (or shift + /) while going through the slides, you can see a list of special slide-specific commands.
Videos
Videos for each section of the lecture are available at this YouTube playlist.
You can also watch the playlist (and skip around to different sections) here:
In-class stuff
Here are all the materials we’ll use in class:
- Session 2 FAQ slides (PDF)
- Errors vs. warnings vs. messages (i.e. what to do when R shows you red text)
Reading in grad school:
- Michael J. Nelson, “How to Read Journal Articles Like a Professor,” 2021, http://mjnelson.org/Teaching/HowToRead.pdf.
- The “How to Read” section in Amelia Hoover Green, “Reading and Writing in College: Ten Years of Tip Sheets in One Handy Document,” September 2021, https://www.ameliahoovergreen.com/uploads/9/3/0/9/93091546/writing-guide.pdf.
Hands-on R materials:
Live code:
Lab materials: