Love for Linear Models

2b651c3725763904a603ab0a63a46cc8?s=47 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.

2b651c3725763904a603ab0a63a46cc8?s=128

Alex Gold

September 17, 2019
Tweet

Transcript

  1. 1.

    LINEAR MODELS ARE GREAT ALEX GOLD SOLUTIONS ENGINEER RSTUDIO @alexkgold

    Slides at: https://github.com/akgold/dsdc_linear_models
  2. 2.
  3. 3.

    WHAT DOES IT MEAN TO BE LINEAR? + some prediction

    error +βhp = β0 + βcyl Just a number
  4. 6.
  5. 9.
  6. 10.
  7. 11.
  8. 15.
  9. 17.

    mpg = β0 + β1 cyl + disp mpg =

    β0 + β1 cyl + β2 cyl2 + β3 log(disp) OR ?
  10. 18.
  11. 19.

    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