00:01
Hello student, in this question we have to calculate pearson -pearson correlation.
00:16
To calculate the pearson correlation, first we need to find the mean.
00:20
So the mean of x is given by sum of all the possible values, that is x i, divided by the number of observations and from this formula we get the mean of x as 4.
00:35
While the mean of y we get with the help of same formula and the mean of y we get that as 6.
00:44
The standard deviation of x can be calculated by x i minus x bar whole square divided by n minus 1.
00:57
From here the standard deviation of x we get and its value is given by 1 .58.
01:16
While the standard deviation of y we get and its value is given by 2 .16.
01:27
Now we will write the equation for pearson correlation.
01:33
The pearson correlation can be written as r equal summation x i minus x bar divided by the deviation of x multiplied by y i minus y bar divided by the deviation of y and the whole multiplied by 1 divided by n minus 1.
02:16
By using the formula we can plug in all the values.
02:21
So let's plug in all the values.
02:23
It will be r equal 5 minus 4 divided by 1 .58 multiplied by n minus 6 divided by 2 .16 and further so on.
02:46
From here we get the value of r as minus 0 .69.
02:57
So the pearson correlation value is minus 0 .69.
03:13
Now we will solve the second part of this question...