Calculate Karl Pearson's coefficient of correlation by actual mean method:
Price (Rs)1012141618Quatity (Units)2029212228
Let X denotes price and Y denotes quantity
X¯¯¯¯¯X=14(X−¯¯¯¯¯X)2Y¯¯¯¯Y=24(Y−¯¯¯¯Y)2(X−¯¯¯¯¯X)(Y−¯¯¯¯Y)X−¯¯¯¯¯XY−¯¯¯¯Y10−41620−416+1612−2429+525−10140021−39 016+2422−24−418+41628+416+16∑X=70∑(X−¯¯¯¯¯X)∑(X−¯¯¯¯¯X)2∑Y=120∑(Y−¯¯¯¯Y)∑(Y−¯¯¯¯Y)2∑(X−¯¯¯¯¯X)(Y−¯¯¯¯Y)N=5=0=40=0=70=18¯¯¯¯¯X=∑XN=705=14;¯¯¯¯Y=∑YN=1205=24r=∑(X−¯¯¯¯X)(Y−¯¯¯¯Y)√∑(X−¯¯¯¯X)2√∑(Y−¯¯¯¯Y)2=18√40√70=18√2800=1852.91=0.34