Week 10: Statistical Simulation & Sampling
Nov 11, 2026 · 2:00–4:40 PM · Bobst LL138
Before class
- Read: R02Pro Ch 11.1–11.4
- Review the newly released weekly exercise and prepare questions.
- Complete Weekly Exercise 9 (due tonight at 11:59 PM).
- 🔍 Proofreading corner: spot a typo or unclear passage in Ch 11.1–11.4? Submit a PR or issue for extra credit (see syllabus).
Topics
- Random number generation and reproducibility (set.seed())
- Probability distributions in R: r/d/p/q functions (norm, binom, pois, exp)
- Random sampling and permutation with sample()
- Monte Carlo simulation of public health epidemics
- Empirical demonstrations of the Central Limit Theorem (CLT)
- Final project announcement: see the Project page
Materials
- 📊 Lecture Slides: Interactive Presentation (HTML)
- 📝 In-Class Exercise: View Worksheet (HTML) · Download Starter Code (
.qmd) · or runget_worksheet(10)in your in-class repo - 💻 Weekly Exercise 10: Accept Assignment on Classroom 50 · How to do it, start to finish
Due
- Weekly Exercise 9 (due tonight at 11:59 PM)
- In-class exercise 10 (pushed to GitHub by end of class)