Correlation

checklist
Mark Yourself Question
  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.
Find the correlation coefficient and interpret it.



x=30\sum x=30
y=25\sum y=25
xy=122\sum xy=122
x2=220\sum x^2=220
y2=159\sum y^2=159


r=1n1(xixˉSx)(yiyˉSy)=XY(X)(Y)n(n1)SxSy=(SSxy)2(SSxx)(SSyy) \large r=\frac{1}{n-1}\sum\Big(\frac{x_i-\bar{x}}{S_x}\Big)\Big(\frac{y_i-\bar{y}}{S_y}\Big)=\frac{\sum XY-\frac{(\sum X)(\sum Y)}{n}}{(n-1)S_xS_y}=\sqrt{\frac{\color{green}(SS_{xy})\color{black}^2}{\color{blue}(SS_{xx})\color{Red}(SS_{yy})}}


SSxx=(xixˉ)2=xi2(xi)2n\color{blue}SS_{xx}=\sum(x_i-\bar{x})^2=\sum x^2_i-\frac{(\sum x_i)^2}{n}
SSyy=(yiyˉ)2=yi2(yi)2n\color{red}SS_{yy}=\sum(y_i-\bar{y})^2=\sum y^2_i-\frac{(\sum y_i)^2}{n}


SSxy=(xixˉ)(yiyˉ)=xiyi(xi)(yi)n\color{green}SS_{xy}=\sum(x_i-\bar{x})(y_i-\bar{y})=\sum x_iy_i-\frac{(\sum x_i)(\sum y_i)}{n}



r=(SSxy)2(SSxx)(SSyy) \large r=\sqrt{\frac{\color{green}(SS_{xy})\color{black}^2}{\color{blue}(SS_{xx})\color{Red}(SS_{yy})}}

More Solving for Correlation Questions: