y = mx + b where m = slope and b = intercept. Is there a linear relationship between x and y? Correlation and regression are used regularly in statistical analysis. Correlation is used to see if a relationship exists between two variables and can be used to answer questions like these: Do you think there is any relationship between: the amount of time you spend studying for a test and the grade you make? the amount of time a team spends practicing and the number of wins they have in a season? how tall you are and your weight? If a relationship is found then correlation can be used to determine how strong the relationship is. Once a correlation has been discovered, regression is used to find the equation used to relate the two variables. This equation can tell you if the two variables are positively or negatively related.y = mx + b is the equation for a line: What is the Line of Best Fit?