<< Chapter < Page | Chapter >> Page > |
The correlation coefficient, r , developed by Karl Pearson in the early 1900s, is numerical and provides a measure of strength and direction of the linear association between the independent variable x and the dependent variable y .
The correlation coefficient is calculated as
where n = the number of data points.
If you suspect a linear relationship between x and y , then r can measure how strong the linear relationship is.
The formula for r looks formidable. However, computer spreadsheets, statistical software, and many calculators can quickly calculate r . The correlation coefficient r is the bottom item in the output screens for the LinRegTTest on the TI-83, TI-83+, or TI-84+ calculator (see previous section for instructions).
The variable r 2 is called the coefficient of determination and is the square of the correlation coefficient, but is usually stated as a percent, rather than in decimal form. It has an interpretation in the context of the data:
Consider the
third exam/final exam example introduced in the previous section
A regression line, or a line of best fit, can be drawn on a scatter plot and used to predict outcomes for the x and y variables in a given data set or sample data. There are several ways to find a regression line, but usually the least-squares regression line is used because it creates a uniform line. Residuals, also called “errors,” measure the distance from the actual value of y and the estimated value of y . The Sum of Squared Errors, when set to its minimum, calculates the points on the line of best fit. Regression lines can be used to predict values within the given set of data, but should not be used to make predictions for values outside the set of data.
The correlation coefficient r measures the strength of the linear association between x and y . The variable r has to be between –1 and +1. When r is positive, the x and y will tend to increase and decrease together. When r is negative, x will increase and y will decrease, or the opposite, x will decrease and y will increase. The coefficient of determination r 2 , is equal to the square of the correlation coefficient. When expressed as a percent, r 2 represents the percent of variation in the dependent variable y that can be explained by variation in the independent variable x using the regression line.
Use the following information to answer the next five exercises . A random sample of ten professional athletes produced the following data where x is the number of endorsements the player has and y is the amount of money made (in millions of dollars).
x | y | x | y |
---|---|---|---|
0 | 2 | 5 | 12 |
3 | 8 | 4 | 9 |
2 | 7 | 3 | 9 |
1 | 3 | 0 | 3 |
5 | 13 | 4 | 10 |
Draw a scatter plot of the data.
Use regression to find the equation for the line of best fit.
ŷ = 2.23 + 1.99 x
Draw the line of best fit on the scatter plot.
What is the slope of the line of best fit? What does it represent?
The slope is 1.99 ( b = 1.99). It means that for every endorsement deal a professional player gets, he gets an average of another $1.99 million in pay each year.
What is the y -intercept of the line of best fit? What does it represent?
What does an r value of zero mean?
It means that there is no correlation between the data sets.
When n = 2 and r = 1, are the data significant? Explain.
When n = 100 and r = -0.89, is there a significant correlation? Explain.
Yes, there are enough data points and the value of r is strong enough to show that there is a strong negative correlation between the data sets.
Notification Switch
Would you like to follow the 'Introductory statistics' conversation and receive update notifications?