Linear regression is a statistical tool which models the relationship between dependent and independent variables by finding a line of best fit for observed data. The regression line created by the process of linear regression can be used to predict a value of a dependent variable based on a given value of an independent variable.