Member-only story
Types of Linear Regression
A brief overview of Simple and Multiple Linear Regression

In this blog, I’m going to provide a brief overview of the different types of Linear Regression with their applications to some real-world problems.
Linear Regression is generally classified into two types:
- Simple Linear Regression
- Multiple Linear Regression
1. Simple
In Simple Linear Regression, we try to find the relationship between a single independent variable (input) and a corresponding dependent variable (output). This can be expressed in the form of a straight line.
The same equation of a line can be re-written as:
- Y represents the output or dependent variable.
- β0 and β1 are two unknown constants that represent the intercept and coefficient (slope) respectively.
- ε (Epsilon) is the error term.
The following is a sample graph of a Simple Linear Regression Model :

Applications of Simple Linear Regression include :
- Predicting crop yields based on the amount of rainfall: Yield is dependent variable while the amount of rainfall is independent variable.
- Marks scored by student based on number of hours studied (ideally) : Here marks scored is dependent and number of hours studied is independent.
- Predicting the Salary of a person based on years of experience : Thus Experience become the independent variable while Salary becomes the dependent variable.