Lecture Demo
Duke University
STA 199 - Fall 2023
2024-02-05
Before class starts, I pull up a checklist of information that students may reference to help best situate them in and outside of class. Items often include:
– Be checking Slack
– Clone the in-class activity from GitHub
– Due Dates
– Typically between 1-3 questions
– Provide students a “no stakes” assessment on previous material
– Students are encouraged to work alone, or in a group setting
– What is a simple linear regression? Why do we care?
– What is a simple linear regression? Why do we care?
– Model data using a straight line
– Helps us understand the relationship between two variables
– Allows us to make predictions
Response variable
Explanatory variable
– Model data using a straight line (linear model)
– Quantitative response
– Quantitative (today) or categorical explanatory
– How are SLR models fit
– Practice fitting SLR models in R
– Reading output
– Making predictions
– Interpreting output
– We have been using GitHub since day 1
– We have been using R + Tidyverse since day 1
– The expectation of learning through doing + conversation has been established