According to IBM, linear regression is a form of data analysis used to predict the value of a variable, called the dependent variable. This is done by looking at the value of another variable, the independent variable, to mathematically obtain the value of the variable you are trying to predict.