Question
Question: If x¯=y¯=0, ∑xiyi=12, σx=2, σy=3 and n=10, then the coefficient of correlation is...
If x¯=y¯=0, ∑xiyi=12, σx=2, σy=3 and n=10, then the coefficient of correlation is
0.2
Solution
The coefficient of correlation (Pearson's correlation coefficient), denoted by r, is given by the formula: r=σxσyCov(x,y) where Cov(x,y) is the covariance between x and y, σx is the standard deviation of x, and σy is the standard deviation of y.
The formula for covariance is: Cov(x,y)=n∑(xi−xˉ)(yi−yˉ) Given that xˉ=0 and yˉ=0, the covariance formula simplifies to: Cov(x,y)=n∑(xi−0)(yi−0)=n∑xiyi
We are given the following values: ∑xiyi=12 n=10 σx=2 σy=3
First, calculate the covariance: Cov(x,y)=1012=1.2
Next, substitute the covariance and standard deviations into the correlation coefficient formula: r=2×31.2 r=61.2 r=0.2
The coefficient of correlation is 0.2.