Tired of ads? Enjoy an ad-free experience by signing up.
Pradeep Menon · · 4 min read

Data science simplified: Interactions and limitations of regression models

In the last few articles of this series, we discussed regression models at length. Fernando, our data scientist who wants to buy a car, has built a multivariate regression model which takes the following shape:

price = -55089.98 + 87.34 engineSize + 60.93 horsepower + 770.42width

Recall that a multivariate regression model assumes independence between the independent predictors. It treats horsepower, engine size, and width as if they are not related.

However, in practice, variables are rarely independent. What if there are relations between horsepower, engine size, and width? Can these relationships be measured?

This article will address this and explain the concept of interactions.

The concept

The independence between predictors means that if one predictor changes, it has an impact on the target. But this impact has no relation to the existence or changes in other predictors. The relationship between the target and the predictors is additive and linear.

Let us take an example to illustrate this. Again, Fernando’s equation is:

price = -55089.98 + 87.34 x engine size + 60.93 x horsepower + 770.42 width

Here, we can interpret that a change in engine size of one unit changes the price by US$87.34.

However, this interpretation never takes into consideration that engine size may be related to the width of the car. Could it be that the wider the car, the bigger the engine?

A third predictor captures the interaction between engine and width. This third predictor is called the interaction term.

With the interaction term between engine size and width, the regression model takes the following shape:

price = β0 + β1. engine size + β2. horsepower + β3. width + β4. (engine size. width)

The part of the equation β1. engine size + β3. width is called the main effect.

The term engine size x width is the interaction term.

Model building

Limitations of regression models

Conclusion

Stay ahead in Asia’s tech landscape

You've reached your 2 free content limit for the month. Sign up for free to read the full story.

🏄 For casual readers / 👶 Free

Basic

US$0

Free forever

Get instant access to this article and more every month

0 premium content

Unlimited news briefs

5

5 articles

Ad-free reading experience

Just US$0 per day

⌛Sign up in 20s. No payment details needed.

📖 For learners / 👍 Starter

Lite

US$4.92/month

Billed annually at US$59/year

Get instant access to this article and more every month

4

4 premium content

Unlimited news briefs & articles

Ad-free reading experience

Just US$0.17 per day

Cancel anytime

Our subscriber community includes professionals from these companies:

Stay updated on the go with our mobile app.

Get latest insights with smoother, more personalized experience through TIA mobile app.

Community Writer

Pradeep Menon

Pradeep is an experienced Big Data and Data Science professional with 15+ years of experience. Pradeep works as a Cloud Solution Architect (CSA)- Advanced Analytics and AI with Microsoft.