

The way to interpret this equation is as follows: Predicted exam score = 65.47 + 2.58*(hours studied) Using a linear regression calculator, we find that the following equation best describes the relationship between these two variables: b 1: The regression coefficient (the average increase in y for a one unit increase in x)įor example, consider our dataset from earlier:.

b 0: The y-intercept (the value of y when x is equal to zero).ŷ: The predicted value of the response variable.It then finds an equation with the following form that best describes the relationship between the two variables: Regression is a method we can use to understand how changing the values of the x variable affect the values of the y variable.Ī regression model uses one variable, x, as the predictor variable, and the other variable, y, as the response variable. Since this value is close to 1, it confirms that there is a strong positive correlation between the two variables. Using a calculator, we can find that the correlation between these two variables is r = 0.915. In other words, we can visually see that there is a positive correlation between the two variables. Just from looking at the plot, we can tell that students who study more tend to earn higher exam scores. exam score, here’s what it would look like: If we created a scatterplot of hours studied vs. 1 indicates a perfectly positive linear correlation between two variablesįor example, suppose we have the following dataset that contains two variables: (1) Hours studied and (2) Exam Score received for 20 different students:.0 indicates no linear correlation between two variables.-1 indicates a perfectly negative linear correlation between two variables.What is Correlation?Ĭorrelation measures the linear association between two variables, x and y. In this tutorial, we’ll provide a brief explanation of both terms and explain how they’re similar and different. Correlation and regression are two terms in statistics that are related, but not quite the same.
