In: Statistics and Probability
The following data represent the calories and sugar, in grams, of various breakfast cereals.
Product |
Calories |
Sugar |
|
---|---|---|---|
A |
260 |
10.7 |
|
B |
300 |
3.0 |
|
C |
310 |
16.5 |
|
D |
320 |
20.3 |
|
E |
420 |
16.0 |
|
F |
450 |
21.4 |
|
G |
470 |
19.8 |
Use the data above to complete parts (a) through (d).
a. Compute the covariance.
(Round to three decimal places as needed.)
b)
X | Y | X⋅Y | X⋅X | Y⋅Y |
260 | 10.7 | 2782 | 67600 | 114.49 |
300 | 3.0 | 900 | 90000 | 9 |
310 | 16.5 | 5115 | 96100 | 272.25 |
320 | 20.3 | 6496 | 102400 | 412.09 |
420 | 16.0 | 6720 | 176400 | 256 |
450 | 21.4 | 9630 | 202500 | 457.96 |
470 | 19.8 | 9306 | 220900 | 392.04 |
therefore r=0.620