The following table contains the data of monthly salaries and percentage of the income saved. Find the correlation coefficient using the shortcut method.
Salary% of income saved100005200008300001040000125000020
0.98
Let Ax=30000 & hx=10000Let Ay=0 & hy=1
XiYiUi=Xi−AxhxVi=Yi−AyhyU2iV2iUiVi100005−25425−10200008−18164−830000100100100040000121121144125000020220440040∑=0∑=55∑=10∑=733∑=34
r=N∑(UiVi)–(∑Ui)(∑Vi)√N∑U2i–(∑Ui)2√N∑V2i–(∑Vi)2=1707.07×25.3=0.95