In statistics and data analysis, simple linear regression is a method to produce a linear function to predict the dependent variable based on the independent variable within a set of data.
This model takes into account the errors of the data and finds a “best fit” linear line to match the correlations between the x and y data.