4. Compute the value of the Pearson product moment correlation coefficient for the data…
- User
- Compute the value of the Pearson product moment correlation coefficient for the data below: x value -2 3 5 y value 7 -1 2 A) -0.789 B) 0.882 C) 0.924 D) -0.224
- Assistant
To calculate the Pearson product-moment correlation coefficient (r) for the data:
[ r = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sqrt{\sum (x_i - \bar{x})^2 \cdot \sum (y_i - \bar{y})^2}} ]
Step 1: Calculate (\bar{x}) and (\bar{y})
[ \bar{x} = \frac{-2 + 3 + 5}{3} = \frac{6}{3} = 2 ] [ \bar{y} = \frac{7 + (-1) + 2}{3} = \frac{8}{3} \approx 2.67 ]
Step 2: Create the table to calculate needed values.
(x_i) (y_i) (x_i - \bar{x}) (y_i - \bar{y}) ((x_i - \bar{x})(y_i - \bar{y})) ((x_i - \bar{x})^2) ((y_i - \bar{y})^2)