Q. 4.14

Question

Determine the linear correlation coefficient by formula and definition.

Step-by-Step Solution

Verified
Answer

a)The linear coefficient by the definition =-0.795

b)The linear coefficient by the formula=-0.795

1Part (a) Step 1: Given Information

To find thelinear correlation coefficient by the definition. 

2Part (a) Step 2: Explanation

The linear correlation coefficient using the definition is


r=1n-1xi-x¯yi-y¯σxσy


The standard deviations are


σx=1n-1(x-x¯)2,σy=1n-1(y-y¯)2


Calculation:

Make a table of values

Find the standard deviations

σx=1n-1(x-x¯)2     =14-1(3)     =1.414

σy=1n-1(y-y¯)2     =14-1(38)     =3.559

Find the correlation coefficient

r=1n-1xi-x¯yi-y¯σxσy    =14-1(-12)(1.414)(3.559)


Hence,

The linear coefficient by the definition =-0.795

3Part (b) Step 1: Given Information

To find the linear correlation coefficient by the formula. 

4Part (b) Step 2: Explanation

The linear correlation coefficient using the formula


r=xy-xynnx2-x2ny2-y2n


Calculation:

Make a table of values

Find the correlation coefficient

r=xy-xyynx2-x2ny2-y2n   =24-1444(42-(144/4))(74-(144/4))


Hence,

The linear coefficient by the formula =-0.795