STA 199: Introduction to Data Science & Statistical Thinking

This page contains an outline of the topics, content, and assignments for the semester! Entries for future dates are tentative; the timeline of topics, assignments, and due dates might be changed throughout the session at the instructor’s discretion. All material changes will be communicated with the students in a timely manner.

WEEK DATE TOPIC MATERIALS DUE PREPARE
1 Mon, Jun 29 Welcome πŸ–₯️ slides 00
⌨️ ae 00
GitHub username - End of Lecture

Mon, Jun 29 Lab 0 πŸ’» lab 0 Lab 0 - End of Lab

Tue, Jun 30 Meet the Toolkit πŸ–₯️ slides 01
πŸ—’οΈ notes 01
⌨️ ae 01

πŸ“— r4ds - intro
πŸ“˜ ims - chp 1
πŸŽ₯ Meet the toolkit :: R and RStudio
πŸŽ₯ Meet the toolkit :: Quarto

Wed, Jul 1 Grammar of Data Visualization πŸ–₯️ slides 02
πŸ—’οΈ notes 02
⌨️ ae 02
βœ… ae 02
Drop/Add Deadline 11:59pm πŸ“— r4ds - chp 1
πŸ“˜ ims - chp 4

Thu, Jul 2 Grammar of Data Transformation πŸ–₯️ slides 03
πŸ—’οΈ notes 03
⌨️ ae 03
βœ… ae 03

πŸ“— r4ds - chp 2
πŸ“— r4ds - chp 3.1-3.5
πŸŽ₯ Grammar of data transformation
πŸŽ₯ Code along :: Flights and pipes

Thu, Jul 2 Lab 1 πŸ’» lab 1
πŸ“— r4ds - chp 2
πŸ“˜ ims - chp 5

Fri, Jul 3 NO CLASS - Independence Day


2 Mon, Jul 6 Exploratory Data Analysis I πŸ–₯️ slides 04
πŸ—’οΈ notes 04
⌨️ ae 04
βœ… ae 04

πŸ“— r4ds - chp 3.6-3.7
πŸŽ₯ Visualizing and summarizing categorical data
πŸŽ₯ Visualizing and summarizing numerical data
πŸŽ₯ Visualizing and summarizing relationships
πŸŽ₯ Code along :: Star Wars characters

Tue, Jul 7 Exploratory Data Analysis II πŸ–₯️ slides 05
πŸ—’οΈ notes 05
⌨️ ae 05
βœ… ae 05

πŸ“˜ ims - chp 5
πŸ“˜ ims - chp 6
πŸŽ₯ Code along :: Diving deeper with Palmer Penguins

Wed, Jul 8 Tidying Data πŸ–₯️ slides 06
πŸ—’οΈ notes 06
⌨️ ae 06
βœ… ae 06
Lab 1 - 11:59PM ET πŸ“— r4ds - chp 5
πŸ“˜ ims - chp 6

Thu, Jul 9 Joining Data πŸ–₯️ slides 07
πŸ—’οΈ notes 07
⌨️ ae 07
βœ… ae 07

πŸŽ₯ Joining data
πŸŽ₯ Code along :: Continent populations
πŸ“— r4ds - chp 19.1-19.3

Thu, Jul 9 Lab 2 πŸ’» lab 2
πŸ“— r4ds - chp 4
πŸŽ₯ Tidy data
πŸŽ₯ Tidying data
πŸŽ₯ Code Along: Population over time

Fri, Jul 10 Data Types and Classes πŸ–₯️ slides 08
πŸ—’οΈ notes 08
⌨️ ae 08
βœ… ae 08

πŸŽ₯ Data types
πŸŽ₯ Data classes
πŸŽ₯ Code along :: That’s my type
πŸ“— r4ds - chp 16

Sun, Jul 12



3 Mon, Jul 13 Importing and Recoding Data πŸ–₯️ slides 09
πŸ—’οΈ notes 09
⌨️ ae 09
βœ… ae 09
Lab 2 - 11:59PM ET πŸŽ₯ Importing data
πŸŽ₯ Code along :: Halving CO2 emissions
πŸŽ₯ Code along :: Student survey
πŸ“— r4ds - chp 7
πŸ“— r4ds - chp 17.1 - 17.3

Mon, Jul 13 Lab 3 πŸ’» lab 3


Tue, Jul 14 Communication via Data Science πŸ–₯️ slides 10
πŸ—’οΈ notes 10
⌨️ ae 10
βœ… ae 10



Wed, Jul 15 Data Ethics + Midterm Review πŸ–₯️ slides 11
πŸ—’οΈ notes 11
⌨️ ae 11
βœ… ae 11

πŸ“• mdsr - chp 8
πŸ“ How to make a racist AI in R without really trying
πŸŽ₯ Alberto Cairo - How charts lie
πŸŽ₯ Joy Buolamwini - How I’m fighting bias in algorithms

Thu, Jul 16 Midterm (lecture + lab sessions)



Fri, Jul 17 Project Milestone 1 - Collaboration 🏁milestone 1
Project Milestone 1 - 11:00AM ET

Sun, Jul 19

Lab 3 - 11:59PM ET
4 Mon, Jul 20 The Language of Models πŸ–₯️ slides 12
πŸ—’οΈ notes 12
⌨️ ae 12
βœ… ae 12

πŸŽ₯ The language of models
πŸ“˜ ims - chp 7.1
πŸŽ₯ Fitting and interpreting models
πŸŽ₯ Modeling nonlinear relationships

Mon, Jul 20 Project Milestone 2 - Proposals 🏁milestone 2



Tue, Jul 21 Simple Linear Regression πŸ–₯️ slides 13
πŸ—’οΈ notes 13
⌨️ ae 13
βœ… ae 13

πŸŽ₯ Linear regression with a categorical predictor
πŸŽ₯ Outliers in linear regression
πŸŽ₯ Code along :: Modeling fish
πŸ“˜ ims - chp 7.2

Wed, Jul 22 Multiple Linear Regression I πŸ–₯️ slides 14
πŸ—’οΈ notes 14
Project Milestone 2 - 11:59PM ET πŸŽ₯ Linear regression with multiple predictors
πŸŽ₯ Main and interaction effects
πŸ“˜ ims - chp 8.1-8.2
πŸ“˜ ims - chp 8.3-8.5

Thu, Jul 23 Multiple Linear Regression II πŸ–₯️ slides 15
πŸ—’οΈ notes 15
⌨️ ae 14
βœ… ae 14

πŸŽ₯ Code along :: Modeling interest rates

Thu, Jul 23 Lab 4 πŸ’» lab 4


Fri, Jul 24 Linear Regression Diagnostics πŸ–₯️ slides 16
πŸ—’οΈ notes 16



Sun, Jul 26

Lab 4 - 11:59PM ET

5 Mon, Jul 27 Logistic Regression I πŸ–₯️ slides 17
πŸ—’οΈ notes 17
⌨️ ae 15
βœ… ae 15

πŸŽ₯ Logistic regression
πŸŽ₯ Code along :: Building a spam filter
πŸ“˜ ims - chp 9

Mon, Jul 27 Lab 5 πŸ’» lab 5


Tue, Jul 28 Logistic Regression II / Modeling Wrap-Up πŸ–₯️ slides 18
πŸ—’οΈ notes 18
⌨️ ae 16
βœ… ae 16

πŸŽ₯ Clasification and decision errors
πŸŽ₯ Overfitting and spending your data

Wed, Jul 29 Interval Estimation πŸ–₯️ slides 19
πŸ—’οΈ notes 19
⌨️ ae 17
βœ… ae 17
Project Milestone 3 - 11:59PM ET πŸŽ₯ Quantifying uncertainty
πŸŽ₯ Bootstrapping
πŸŽ₯ Code along :: Bootstrapping Duke Forest houses
πŸ“˜ ims - chp 11
πŸ“˜ ims - chp 12

Thu, Jul 30 Hypothesis Testing πŸ–₯️ slides 20
πŸ—’οΈ notes 20
⌨️ ae 18
βœ… ae 18

πŸŽ₯ Hypothesis testing
πŸ“˜ ims - chp 11

Thu, Jul 30 Project Milestone 4 - Peer Review 🏁milestone 4
Project Milestone 4 - 12:30PM ET


Fri, Jul 31 More Inference πŸ–₯️ slides 21
πŸ—’οΈ notes 21
⌨️ ae 19
βœ… ae 19



Sun, Aug 2

Lab 5 - 11:59PM ET

6 Mon, Aug 3 Causality from Randomized Experiments πŸ–₯️ slides 22
πŸ—’οΈ notes 22
⌨️ ae 20
βœ… ae 20



Mon, Aug 3 Lab 6 πŸ’» lab 6


Tue, Aug 4 Causality from Observational Studies πŸ–₯️ slides 23
πŸ—’οΈ notes 23



Wed, Aug 5 Project Workday



Thu, Aug 6 Project Milestone 5 - Presentations 🏁milestone 5
Project - 9:30 AM

Fri, Aug 7 Review πŸ–₯️ slides 24
πŸ—’οΈ notes 24
πŸ€ͺ Kahoot!
Lab 6 - 11:59pm ET

Sun, Aug 9 FINAL EXAM (9am - 12pm)