+ - 0:00:00
Notes for current slide
Notes for next slide

Welcome to Linear Models

Dr. D’Agostino McGowan

1 / 24

👋

Lucy D'Agostino McGowan

  mcgowald@wfu.edu
  Tues/Thurs 9:30a-10:45a, 12:30p-1:45p

2 / 24

Everything you will need will be posted at:

bit.ly/sta-312-f20

3 / 24

"truth … is much too complicated to allow anything but approximations" - John von Neumann

John von Neumann, wearer of funny hats via farkasdilemma.wordpress.com
4 / 24

"Statistics is using data and knowledge about randomness to condense, communicate, and contextualize information and provide insight into the setting from which the data came." - Jo Hardin

Jo Hardin https://research.pomona.edu/johardin/
5 / 24

"All models are wrong, but some are useful" - George Box

GeorgeEPBox

DavidMCEddy at en.wikipedia CC BY-SA 3.0 , via Wikimedia Commons
6 / 24

data = model + error

7 / 24

y=f(X)+ϵ

🗣 math speak

8 / 24

y=f(X)+ϵ

model

9 / 24

y=f(X)+ϵ

data (to build the model)

10 / 24

y=f(X)+ϵ

data (outcome)

11 / 24

y=β0+β1X+ϵ

Simple Linear Regression

12 / 24

Bob at Easel from Wikipedia
13 / 24

Data: FiveThirtyEight

14 / 24

15 / 24

y=β0+β1X+ϵ

16 / 24

# of paintings with clouds=β0+β1season+ϵ

17 / 24

# of paintings with clouds=β0+β1season+ϵ

18 / 24

# of paintings with clouds=β0+β1f(season)+ϵ

19 / 24

y=β0+β1X1+β2X2+...+ϵ

Multiple Linear Regression

20 / 24

Let's go!

21 / 24

Log into RStudio Pro

22 / 24
05:00

Penguin fun!

  • Once you log on to RStudio Pro, find the project 01-welcome-penguins, click it
  • In the Files pane in the bottom right corner, spot the file called welcome-penguins.Rmd. Open it, and then click on the "Knit" button.
  • Go back to the file and change your name on top (in the yaml -- we'll talk about what this means later) and knit again.
  • Then, scroll to the plot chunk, below Palmer Penguins. Instead of looking at the relationship between flipper length and bill length, plot the relationship between flipper length and bill depth. Hint, look at the full dataset at the bottom of the document for variable names, update the captions to match your new plot. Knit again & voila!
23 / 24
24 / 24

👋

Lucy D'Agostino McGowan

  mcgowald@wfu.edu
  Tues/Thurs 9:30a-10:45a, 12:30p-1:45p

2 / 24
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow