Linear regression is a statistical technique to predict the value of y based on some value input value x, after recognizing the relationship among the variables y and x.

General formula for a linear regression is y = m_{1}x_{1 }+ m_{2}x_{2}+m_{3}x_{3}+....+c. Where in x_{1}, x_{2}, x_{3},... are the input variables.