Like correlation coefficients, linear regression analyzes the relationship between two variables, x and y. If the data on the scatter plot seems to represent a linear relationship, then linear regression can be used to find the line that best fits the data. If the data is curved, a line would not be the best equation to use. The goal is to find an equation that fits the data so that it can be used to predict other x and y values in the situation.