O'Reilly logo

Business Data Science: Combining Machine Learning and Economics to Optimize, Automate, and Accelerate Business Decisions by Matt Taddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2

Images

Regression

The vast majority of problems in applied data science require regression modeling. That is, you have a response variable (y) that you want to model or predict as a function of a vector of inputs or covariates (x). This chapter introduces the basic framework and language of regression. We will build on this material throughout the rest of the book.

Linear Models

A basic but powerful regression strategy is to deal in averages and lines. We model the conditional mean for y given x as

Images

Here, x = [1, x1, x2, . . . xp] is a vector of covariates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required