Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Love for Linear Models

Alex Gold
September 17, 2019

Love for Linear Models

A lightning talk extolling the virtues of simple linear models, presented at Data Science DC meetup.

Alex Gold

September 17, 2019
Tweet

More Decks by Alex Gold

Other Decks in Research

Transcript

  1. LINEAR MODELS ARE GREAT ALEX GOLD SOLUTIONS ENGINEER RSTUDIO @alexkgold

    Slides at: https://github.com/akgold/dsdc_linear_models
  2. WHAT DOES IT MEAN TO BE LINEAR? + some prediction

    error +βhp = β0 + βcyl Just a number
  3. mpg = β0 + β1 cyl + disp mpg =

    β0 + β1 cyl + β2 cyl2 + β3 log(disp) OR ?
  4. 1. INTERPRETATION MATTERS. 2. LINEARITY ISN’T RESTRICTIVE. 3. MO’ SQUIGGLY

    = MO’ OVERFITTING. 4. SMALL DATA’S OK. 5. IT’S ALL ABOUT THE DGP. @alexkgold https://github.com/akgold/dsdc_linear_models