Overview
Linear regression is a statistical method used to model the relationship between a dependent variable (Y) and one or more independent variables (X).
It is often used to identify possible relationships and understand how changes in independent variables impact the dependent variable, and it has a wide variety of applications, especially in the data science atmosphere.
Linear regression can be broken down into two main types: Simple Linear Regression (SLR) and Multiple Linear Regression (MLR). SLR only involves one independent variable, whereas MLR involves two or more independent variables.