Part (a)
The Karl Pearson correlation coefficient is defined as:
(∑(Xi - X*)∑(Yi - Y*))/(√∑(Xi - X*)2∑(Yi - Y*)2)
where X* denotes the mean of the X values and Y* denotes the mean of the Y values.
X*=(12+15+16+17+14)/5=14.8
Y*=(110+124+134+139+124)/5=126.2
Numerator:
∑(Xi - X*)∑(Yi - Y*) = ∑(Xi - 14.8)∑(Yi - 126.2)
= [(12-14.8)+...+(14-14.8)]·[(110-126.2)+...+(124-126.2)]
= 84.2
Denominator:
√∑(Xi - X*)2∑(Yi - Y*)2 = √∑(Xi - 14.8)2∑(Yi - 126.2)2
= √[(12-14.8)2+...+(14-14.8)2]·[(110-126.2)2+...+(124-126.2)2]
=85.7
Then the Karl Pearson correlation coefficient is 84.2/85.7 ≈ 0.98.
Part (b)
The coefficient of determination R2 is the square of the answer to part (a), so R2=0.982≈0.96. R2 is always a number between 0 and 1, and a number close to 1 indicates a strong relationship between the independent and dependent variables. Equivalently, the data points are very close to the regression line.