The following table contains the cost of 5 motorcycles and their corresponding mileages in (km/litre). Find the correlation coefficient using the shortcut method.
Cost (X)Mileage (Y)500004010000030150000252000001525000010
-0.99
Let Ax=150000 & hx=50000Let Ay=25 & hy=5
XiYiUi=Xi−AxhxVi=Yi−AyhyU2iV2iUiVi5000040−2349−610000030−1111−11500002500000200000151−214−2250000102−349−6∑=0∑=−1∑=10∑=23∑=−15
r=N∑(UiVi)–(∑Ui)(∑Vi)√N∑U2i–(∑Ui)2√N∑V2i–(∑Vi)2=−757.07×10.68=−0.993