Linear regression is a statistical method used to predict the values of variables based on the values of different variables. Typically, you would use a sample of data where you know the independent and dependent variables to find the equation of a straight line that could be used to predict the dependent variable value given an independent variable’s value.
The equation of this line would be in the usual form that straight lines follow: \(y=mx+b\)