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 Wed, May 13 Welcome πŸ–₯️ slides 00
⌨️ ae 00
GitHub username - End of Lecture

Thu, May 14 Lab 0 πŸ’» lab 0 Lab 0 - End of Lab

Thu, May 14 Meet the Toolkit πŸ–₯️ slides 01
πŸ—’οΈ notes 01
⌨️ ae 01

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

Fri, May 15 Grammar of Data Visualization πŸ–₯️ slides 02
πŸ—’οΈ notes 02
⌨️ ae 02

πŸ“— r4ds - chp 1
πŸ“˜ ims - chp 4
2 Mon, May 18 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

Mon, May 18 Lab 1 πŸ’» lab 1
πŸ“— r4ds - chp 2
πŸ“˜ ims - chp 5

Tue, May 19 Exploratory Data Analysis I πŸ–₯️ slides 04
πŸ—’οΈ notes 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

Wed, May 20 Exploratory Data Analysis II πŸ–₯️ slides 05
πŸ—’οΈ notes 05
⌨️ ae 05
Lab 1 - 11:59PM ET πŸ“˜ ims - chp 5
πŸ“˜ ims - chp 6
πŸŽ₯ Code along :: Diving deeper with Palmer Penguins

Thu, May 21 Tidying Data

πŸ“— r4ds - chp 5
πŸ“˜ ims - chp 6

Thu, May 21 Lab 2

πŸ“— r4ds - chp 4
πŸŽ₯ Tidy data
πŸŽ₯ Tidying data
πŸŽ₯ Code Along: Population over time

Fri, May 22 Joining Data

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

Sun, May 24



3 Mon, May 25 NO CLASS - Memorial Day



Tue, May 26 Data Types and Classes

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

Wed, May 27 Importing and Recoding Data
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

Thu, May 28 More Practice + Midterm Review



Thu, May 28 Lab 3



Fri, May 29 Data Ethics + Midterm Review

πŸ“• 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

Sun, May 31

Lab 3 - 11:59PM ET
4 Mon, Jun 1 Midterm (lecture + lab sessions)



Tue, Jun 2 Project Milestone 1 - Collaboration
Project Milestone 1 - 12:30PM ET

Wed, Jun 3 The Language of Models

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

Thu, Jun 4 Simple Linear Regression

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

Thu, Jun 4 Project Milestone 2 - Proposals



Fri, Jun 5 Multiple Linear Regression I

πŸŽ₯ Linear regression with multiple predictors
πŸŽ₯ Main and interaction effects
πŸ“˜ ims - chp 8.1-8.2
πŸ“˜ ims - chp 8.3-8.5

Sun, Jun 7

Project Milestone 2 - 11:59PM ET
5 Mon, Jun 8 Multiple Linear Regression II

πŸŽ₯ Code along :: Modeling interest rates

Mon, Jun 8 Lab 4



Tue, Jun 9 Linear Regression Diagnostics

TBU

Wed, Jun 10 Logistic Regression I
Lab 4 - 11:59PM ET
πŸŽ₯ Logistic regression
πŸŽ₯ Code along :: Building a spam filter
πŸ“˜ ims - chp 9

Thu, Jun 11 Logistic Regression II

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

Thu, Jun 11 Lab 5



Fri, Jun 12 Interval Estimation
Project Milestone 3 - 11:59PM ET πŸŽ₯ Quantifying uncertainty
πŸŽ₯ Bootstrapping
πŸŽ₯ Code along :: Bootstrapping Duke Forest houses
πŸ“˜ ims - chp 11
πŸ“˜ ims - chp 12

Sun, Jun 14

Lab 5 - 11:59PM ET

6 Mon, Jun 15 Hypothesis Testing

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

Mon, Jun 15 Project Milestone 4 - Peer Review
Project Milestone 4 - 12:30PM ET

Tue, Jun 16 More Inference



Wed, Jun 17 More Inference



Thu, Jun 18 Special Topic



Thu, Jun 18 Lab 6



Fri, Jun 19 NO CLASS - Juneteenth



Sun, Jun 21

Lab 6 - 11:59pm ET
7 Mon, Jun 22 Project Milestone 5 - Presentations + Final Review
Project - 9:30 AM

Mon, Jun 22 Final Review



Wed, Jun 24 FINAL EXAM (9am - 12pm)