AIExplainer

What is linear model?

A mathematical model that uses a linear equation to describe the relationship between variables

A linear model is a way to predict an outcome based on one or more input variables, using a straight-line relationship. It's a simple and widely used method in machine learning and statistics.

Think of a linear model like a ruler, where each mark on the ruler represents a specific value. Just as the marks on the ruler are evenly spaced and follow a straight line, a linear model assumes that the relationship between variables is also straight and consistent.

A company might use a linear model to predict the demand for a product based on factors like price, advertising spend, and seasonality. For example, 'for every 10% increase in price, demand decreases by 5%'.

Linear models are used in many applications, such as predicting house prices based on features like number of bedrooms and square footage, or forecasting stock prices based on historical data.

One common misconception is that linear models can only handle simple relationships. While it's true that linear models assume a straight-line relationship, they can still be used to model complex relationships by transforming the variables or using multiple linear models.

Linear models have been used in statistics and machine learning for decades, and are a fundamental concept in many fields, including economics, engineering, and computer science.

linear regression linear equation straight-line model

Three products for different needs — explore what’s relevant to you.