Calculate the correlation coefficient between the average number of cigarettes per...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
r = \frac{n\sum xy - (\sum x)(\sum y)}{\sqrt{[n\sum x^2 - (\sum x)^2][n\sum y^2 - (\sum y)^2]}} \approx -0.886
Step 1: List the data pairs $(x, y)$ from the table: $(46.00, 4.00), (12.80, 5.90), (21.70, 4.90), (25.60, 4.80), (8.80, 5.70), (37.20, 4.40), (1.50, 7.10), (18.30, 5.10), (9.50, 5.50), (13.50, 5.30), (36.50, 3.80), (19.30, 5.90)$.
Step 2: Use a calculator or statistical software to find the Pearson correlation coefficient $r$. The formula is $$r = \frac{n\sum xy - (\sum x)(\sum y)}{\sqrt{[n\sum x^2 - (\sum x)^2][n\sum y^2 - (\sum y)^2]}}$$
Step 3: Input the values into the calculator. The sum of $x$ is $250.6$, the sum of $y$ is $62.4$, the sum of $x^2$ is $7326.6$, the sum of $y^2$ is $333.6$, and the sum of $xy$ is $1212.79$.
Step 4: Calculate $r \approx -0.886$.