QUESTION IMAGE
Question
an automobile company is running a new television commercial in five cities with approximately the same population. the following table shows the number of times the commercial is run on tv in each city and the number of car sales (in hundreds). find the pearson correlation coefficient r for the data given in the table. round any intermediate calculations to no less than six decimal places, and round your final answer to three decimal places.
| number of tv commercials, x | 3 | 8 | 12 | 16 | 19 |
| car sales, y (in hundreds) | 2 | 3 | 2 | 8 | 8 |
Step1: Calculate the means of \(x\) and \(y\)
Let \(x_1 = 3,x_2=8,x_3 = 12,x_4=16,x_5 = 19\) and \(y_1 = 2,y_2=3,y_3 = 2,y_4=8,y_5 = 8\).
The mean of \(x\), \(\bar{x}=\frac{3 + 8+12+16+19}{5}=\frac{58}{5}=11.6\).
The mean of \(y\), \(\bar{y}=\frac{2 + 3+2+8+8}{5}=\frac{23}{5}=4.6\).
Step2: Calculate the numerator of the correlation - coefficient formula
\[
\]
Step3: Calculate the denominator of the correlation - coefficient formula
\[
\]
\[
\]
The denominator is \(\sqrt{\sum_{i = 1}^{5}(x_i-\bar{x})^2\sum_{i = 1}^{5}(y_i-\bar{y})^2}=\sqrt{161.2\times39.2}=\sqrt{6319.04}\approx79.4924\).
Step4: Calculate the correlation coefficient \(r\)
\(r=\frac{\sum_{i = 1}^{5}(x_i-\bar{x})(y_i - \bar{y})}{\sqrt{\sum_{i = 1}^{5}(x_i-\bar{x})^2\sum_{i = 1}^{5}(y_i-\bar{y})^2}}=\frac{67.2}{79.4924}\approx0.845\)
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
\(0.845\)