Question
Question: Calculate the coefficient of correlation between X and Y series from the following data: \[n = 15,...
Calculate the coefficient of correlation between X and Y series from the following data:
n=15,xˉ=25,yˉ=18,σx=3.01,σy=3.03,∑(Xi−Xˉ)(Yi−Yˉ)=122
Solution
Here we will use the concept of the coefficient of correlation. Firstly we will find the value of the covariance of the X and Y series using the formula. Then we will put the value of covariance in the formula of the coefficient of correlation to get its value. Coefficient of correlation is the parameter which is used to measure the strength of the relationship between the two variables that varies relatively.
Formula used:
We will use the following formulas:
- Coefficient of correlation =ρ=σxσyCov(X,Y)
- Covariance, Cov(X,Y)=i=1∑nn−1(Xi−Xˉ)(Yi−Yˉ)
Complete Step by Step Solution:
Given values are n=15,xˉ=25,yˉ=18,σx=3.01,σy=3.03,∑(Xi−Xˉ)(Yi−Yˉ)=122
Firstly we will find the value of the correlation of the X and Y series of the data. Therefore, by using the formula of the covariance, we get
Covariance, Cov(X,Y)=i=1∑nn−1(Xi−Xˉ)(Yi−Yˉ)
Now we will put the values given in the formula of the covariance. Therefore, we get
⇒ Covariance, Cov(X,Y)=15−1122
Subtracting the terms in the denominator, we get
⇒ Covariance, Cov(X,Y)=14122=761
Now we will use the formula of the coefficient of the correlation to get its value. Therefore, we get
Coefficient of correlation =ρ=σxσyCov(X,Y)
Now by putting all the values in the formula of the coefficient of correlation we will get its value. Therefore, we get
⇒ Coefficient of correlation =ρ=3.01×3.03761
⇒ Coefficient of correlation =ρ=0.955
Hence the coefficient of correlation between X and Y series is 0.955.
Note:
The value of the coefficient of the correlation general varies from the negative one to the positive one i.e. −1 to 1. To calculate the value of the coefficient of correlation we have to calculate the value of the covariance between those two variables as it measures the variation of the two variables relatively. Positive value of the covariance means that the change in the relative value moves together but the negative value of the covariance means that the change in the relative value varies inversely.