To compute the correlation coefficient (denoted as \( r \)) between the temperatures of the left and right feet, we can use the formula for the Pearson correlation coefficient:
\[ r = \frac{n(\sum xy) - (\sum x)(\sum y)}{\sqrt{[n \sum x^2 - (\sum x)^2][n \sum y^2 - (\sum y)^2]}} \]
Where:
- \( n \) is the number of pairs of observations,
- \( x \) represents the values for the left foot,
- \( y \) represents the values for the right foot.
Let's list the left and right foot temperatures:
Left foot (x):
- 85, 80, 88, 89, 87, 78, 88, 89
Right foot (y):
- 85, 81, 86, 87, 82, 78, 89, 90
Now, let's calculate the required sums and values:
-
Number of pairs (\( n \)): \[ n = 8 \]
-
Calculate \( \sum x \), \( \sum y \), \( \sum xy \), \( \sum x^2 \), and \( \sum y^2 \):
- \( \sum x = 85 + 80 + 88 + 89 + 87 + 78 + 88 + 89 = 88.125 \)
- \( \sum y = 85 + 81 + 86 + 87 + 82 + 78 + 89 + 90 = 86.125 \)
- \( \sum xy = (85 \cdot 85) + (80 \cdot 81) + (88 \cdot 86) + (89 \cdot 87) + (87 \cdot 82) + (78 \cdot 78) + (88 \cdot 89) + (89 \cdot 90) \)
Calculating \( \sum xy \):
- \( 85 \cdot 85 = 7225 \)
- \( 80 \cdot 81 = 6480 \)
- \( 88 \cdot 86 = 7568 \)
- \( 89 \cdot 87 = 7730 \)
- \( 87 \cdot 82 = 7146 \)
- \( 78 \cdot 78 = 6084 \)
- \( 88 \cdot 89 = 7832 \)
- \( 89 \cdot 90 = 8010 \)
Adding them together: \[ \sum xy = 7225 + 6480 + 7568 + 7730 + 7146 + 6084 + 7832 + 8010 = 61992 \]
- Now calculate \( \sum x^2 \): \[ \sum x^2 = 85^2 + 80^2 + 88^2 + 89^2 + 87^2 + 78^2 + 88^2 + 89^2 \] Calculating:
- \( 85^2 = 7225 \)
- \( 80^2 = 6400 \)
- \( 88^2 = 7744 \)
- \( 89^2 = 7921 \)
- \( 87^2 = 7569 \)
- \( 78^2 = 6084 \)
- \( 88^2 = 7744 \)
- \( 89^2 = 7921 \)
Adding them together: \[ \sum x^2 = 7225 + 6400 + 7744 + 7921 + 7569 + 6084 + 7744 + 7921 = \sum x^2 = 90309 \]
- And for \( \sum y^2 \): \[ \sum y^2 = 85^2 + 81^2 + 86^2 + 87^2 + 82^2 + 78^2 + 89^2 + 90^2 \] Calculating:
- \( 85^2 = 7225 \)
- \( 81^2 = 6561 \)
- \( 86^2 = 7396 \)
- \( 87^2 = 7569 \)
- \( 82^2 = 6724 \)
- \( 78^2 = 6084 \)
- \( 89^2 = 7921 \)
- \( 90^2 = 8100 \)
Adding: \[ \sum y^2 = 7225 + 6561 + 7396 + 7569 + 6724 + 6084 + 7921 + 8100 = 66170 \]
Now, we have: \[ \sum x = 710 \] \[ \sum y = 693 \] \[ \sum xy = 61992 \] \[ \sum x^2 = 70309 \] \[ \sum y^2 = 66170 \]
- Plug these values into the formula for \( r \): \[ r = \frac{8(61992) - (710)(693)}{\sqrt{[8(70309) - (710)^2][8(66170) - (693)^2]}} \]
Calculating the numerator: \[ 8(61992) = 495936 \] \[ (710)(693) = 492030 \] So, the numerator is: \[ 495936 - 492030 = 3906 \]
Now calculate the denominator: First component: \[ 8(70309) - (710)^2 = 562472 - 504100 = 58372 \] Second component: \[ 8(66170) - (693)^2 = 529360 - 480249 = 49111 \]
Now plug into the square root: \[ \sqrt{[58372][49111]} = \sqrt{2869088372} \approx 53638.927 \]
Thus, we have: \[ r = \frac{3906}{53638.927} \approx 0.0728 \]
After rounding to three decimal places, the correlation coefficient \( r \) is:
\[ \boxed{0.073} \]