An introduction to Linear Regression
3 min readAug 14, 2022
Linear regression analysis is used to predict the value of a continuous variable of a variable based on the value of another variable. The variable that is predicted is the dependent, or output. The variable that is used to make the prediction is the independent variable, or input.
Linear regression fits a straight line or surface that minimises the discrepancies between predicted and actual output…