00:01
Okay, so here, the given data is for the distance between the cities and the cost of the train to get to travel between the cities.
00:09
So we have that our x here is going to be our distance in mile and the y is going to be our cost in dollars.
00:14
We want to find the correlation coefficient between the distance and the cost.
00:19
The correlation coefficient r is equal to the sum of each zx times zy divided by n minus 1, where zx is the z score for the x variable, and zy is the z score for the y.
00:30
Variable and n is the number of observed pairs in the given data so we find well for z x we have x minus x bar over the standard deviation so we define the mean for the x and y variable so that the mean for the x x bar is equal to the sum of all the x divided by n that's going to be equal to 1 ,472 divided by 5, giving x bar here equal to $294 .4 miles.
01:01
And then our mean for y, y bar, is equal to 1 ,151 divided by 5, which is going to be equal to $230 .20.
01:14
And then we can find a stamp with the deviation by taking each x minus x bar squared and each y minus y bar squared, summing all those together, and then we get the steady deviation for x is going to be equal to the square root of 76 ,229 .20 over 4.
01:36
Taking the square root gives us 138 .68 .68 miles, and the standard deviation for y is going to be equal to $75.
01:54
25 cents.
01:56
So then we get the correlation coefficient is going to be the sum of each xx times zy divided by n minus one, which is going to be equal to 3 .4386 divided by 5 minus 1.
02:14
So divided by 4 is going to be equal to 0 .86...