Week 11: Statistical Modeling & Regression
Nov 18, 2026 · 2:00–4:40 PM · Bobst LL138
Before class
- Read: R02Pro Ch 11.5–11.6
- Review the newly released weekly exercise and prepare questions.
- Complete Weekly Exercise 10 (due tonight at 11:59 PM).
- 📝 Quiz 5 (20 min, covers Weeks 9–10) will be held during the last 30 minutes of class.
- 🔍 Proofreading corner: spot a typo or unclear passage in Ch 11.5–11.6? Submit a PR or issue for extra credit (see syllabus).
Topics
- Hypothesis testing in R: t.test(), prop.test(), chisq.test()
- Linear regression with lm(): formulas, coefficients, and R-squared
- Logistic regression with glm(family = binomial): Odds Ratios and 95% CIs
- Tidy model summaries with broom (tidy(), glance(), augment())
- Formatting regression tables for publication
Materials
- 📊 Lecture Slides: Interactive Presentation (HTML)
- 📝 In-Class Exercise: View Worksheet (HTML) · Download Starter Code (
.qmd) · or runget_worksheet(11)in your in-class repo - 💻 Weekly Exercise 11: Accept Assignment on Classroom 50 · How to do it, start to finish
Due
- Weekly Exercise 10 (due tonight at 11:59 PM)
- In-class exercise 11 (pushed to GitHub by end of class)
- Quiz 5 (20 min, covers Weeks 9–10)