QUESTION IMAGE
Question
distance from the beach, x (in miles) selling price, y (in thousands of dollars) xy 5.4 268.3 1448.82 12.0 280.2 3362.4 6.3 248.4 1564.92 10.1 301.2 3042.12 11.9 186.1 2214.59 11.1 193.7 2150.07 12.3 206.4 2538.72 11.4 269.5 3072.3 11.9 218.7 2602.53 18.3 224.6 4110.18 13.3 268.8 3575.04 7.0 304.9 2134.3 7.6 226.0 1717.6 7.5 220.7 1655.25 4.0 273.2 1092.8 2.9 320.7 930.03 what is the sample correlation coefficient for these data? carry your intermediate computations to at least fou places and round your answer to at least three decimal places. (if necessary, consult a list of formulas.)
Step1: Calculate the means of \(x\) and \(y\)
Let \(n = 16\) (number of data points).
\(\bar{x}=\frac{5.4 + 12.0+6.3 + 10.1+11.9+11.1+12.3+11.4+11.9+18.3+13.3+7.0+7.6+7.5+4.0+2.9}{16}=\frac{164.3}{16}=10.26875\)
\(\bar{y}=\frac{268.3 + 280.2+248.4 + 301.2+186.1+193.7+206.4+269.5+218.7+224.6+268.8+304.9+226.0+220.7+273.2+320.7}{16}=\frac{4080.6}{16}=255.0375\)
Step2: Calculate \(S_{xx}\), \(S_{yy}\), and \(S_{xy}\)
\(S_{xx}=\sum_{i = 1}^{n}(x_i-\bar{x})^2\)
\(S_{yy}=\sum_{i = 1}^{n}(y_i-\bar{y})^2\)
\(S_{xy}=\sum_{i = 1}^{n}(x_i-\bar{x})(y_i-\bar{y})\)
Step3: Calculate the sample correlation coefficient \(r\)
The formula for the sample correlation coefficient is \(r=\frac{S_{xy}}{\sqrt{S_{xx}S_{yy}}}\)
\(r=\frac{- 1335.22}{\sqrt{246.6663\times25360.96}}\)
\(r=\frac{-1335.22}{\sqrt{6257099.19}}\)
\(r=\frac{-1335.22}{2501.42}\)
\(r\approx - 0.534\)
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.534\)