Calculate the correlation coefficient of the following data: x 45 46 46 47 48 49 50 y 44 48 45 48 52 51 49
xˉ=45+46+46+47+48+49+507=47.2857yˉ=44+48+45+48+52+51+497=48.1429x̄ = \frac{45+46+46+47+48+49+50}{7} = 47.2857 \\ȳ = \frac{44+48+45+48+52+51+49}{7} = 48.1429xˉ=745+46+46+47+48+49+50=47.2857yˉ=744+48+45+48+52+51+49=48.1429
Now, creating a table
Coefficient of correlation
(r)=Σ(xi−xˉ)(yi−yˉ)(Σ(xi−xˉ)2Σ(yi−yˉ)2)=23.7143(19.4286∗50.8571)=0.7544(r) =\frac{Σ(x_i - x̄)(y_i - ȳ)}{\sqrt{(Σ( x_i - x̄)^2Σ(y_i - ȳ)^2 ) }} \\=\frac{23.7143}{\sqrt{(19.4286*50.8571)}} \\=0.7544(r)=(Σ(xi−xˉ)2Σ(yi−yˉ)2)Σ(xi−xˉ)(yi−yˉ)=(19.4286∗50.8571)23.7143=0.7544
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments