90 likes | 316 Views
15.5 Linear Correlation Objectives:. Be able to construct a scatterplot to show the relationship between two variables. Understand the properties of the linear correlation coefficient. Be able to use your calculator to compute the linear correlation coefficient . Scatterplots.
E N D
15.5 Linear CorrelationObjectives: • Be able to construct a scatterplot to show the relationship between two variables. • Understand the properties of the linear correlation coefficient. • Be able to use your calculator to compute the linear correlation coefficient.
Scatterplots • To determine whether there is a correlation between two variables, we obtain pairs of data, called data points, relating the first variable to the second. • To understand such data, we plot data points in a graph called a scatterplot.
Scatterplots cont. (2) Example: An instructor wants to know whether there is a correlation between the number of times students attended tutoring sessions during the semester and their grades on a 50-point examination. The table shows the data for 10 students. Represent these data points by a scatterplot and interpret the graph. Solution: We plot the points (18, 42), (6, 31), (16, 46), and so on. As the number of tutoring sessions increases, the grades also generally increase. So the correlation coefficient is positive.
Linear Correlation • Linear correlationexists between two variables if, when graphed, the points in the graph tend to lie in a straight line. • The linear correlation coefficientallows us to compute to what degree the points of a scatterplot lie along a straight line. • r = 1 means that the points all lie on a straight line and yincreases as x increases. • r= -1means that the points all lie on a straight line and ydecreases as x increases.
Linear Correlation cont. (2) • There is a positive correlationbetween the variables xand yif whenever xincreases or decreases, then ychanges in the same way. • We will say that there is a negative correlationbetween the variables xand yif whenever xincreases or decreases, then ychanges in the opposite way.
Linear correlation coefficient, r • Using your Calculator to Compute r • Enter the x-values in List1 and the y-values in List2. • You must have the same number of entries in List1 and List2! • Go to STAT CALC • and then 4: LinReg(ax+b) • 3) ENTER
Confidence of Correlation 1. Compute rfor npairs of data. • If the absolute value of rexceeds the number in the column labeled α = .05 on line n, then we are 95% confident that there is a significant linear correlation. (There is less than a 0.05 (5%) chance that the variables do not have significant linear correlation. ) • If the absolute value of rexceeds the number in the column labeled α = .01 on line n, then we are 99% confident that there is a significant linear correlation. (There is less than a 0.01 (1%) chance that the variables do not have significant linear correlation.
Correlation Applications • Example A: You wish to determine if there is a relationship between the weight of the car and gas mileage. The table shows data regarding gas mileage of cars with various weights. Find the correlation coefficient for these data and determine whether there is linear correlation at the 95% or 99% level. • Example B: Find the correlation coefficient for the number of times students attended tutoring sessions during the semester and their grades on the 50-point examination. The table shows the data for 10 students. Determine whether there is linear correlation at the 95% or 99% level.
Correlation Applications cont. (2) • Solution A: We will represent the weight by xand the gas mileage by y. So enter the weight in List1 and the gas mileage in List2. We now compute There are 10 pairs of data, so we look at line 10 of the table and find the value 0.765 under the α = 0.01 column. The absolute value of ris 0.85, so we are 99% confident that there is significant negative linear correlation between car weight and gas mileage. • Solution B: Enter the number of times students attended tutoring sessions during the semester in List1 and their grades on the 50-point examination in List2. • Compute the correlation coefficient, r . • There are again 10 pairs of data, so we look at line 10 of the table to find the confidence of correlation level.