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

Data science simplified: Entering the world of multivariate regression models

In the last article of this series, we discussed the story of Fernando, a data scientist who wanted to buy a car. He used a simple linear regression model to estimate car prices.

Fernando’s regression model predicted price based on the engine size, predicting one dependent variable using one independent variable.

This was the formula for his simple linear regression model:

price = β0 + β1 x engine size

The statistical package computed the parameters. The linear equation is estimated as:

price = -6870.1 + 156.9 x engine size

The model was also evaluated on two fronts:

  • Robustness using hypothesis testing
  • Accuracy using the coefficient of determination (aka R-squared)

Recall that R-squared explains the fraction of the variance between the values predicted by the model and the value as opposed to the mean of the actual. This value is between 0 and 1. The higher it is, the better the model can explain the variance. The R-squared for the model created by Fernando was 0.7503 (i.e. 75.03 percent on the training set). It means that the model can explain more than 75 percent of the variation.

However, Fernando wants to make it better. If he could feed the model with more inputs, would it improve its accuracy?

He decides to enhance the model by feeding it with more input data (i.e. more independent variables). He has now entered into the world of multivariate regression models.

The concept

Model formulation

Model building

Model interpretation

Model evaluation

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.