The file coffeedrink represents the calories and fat (in grams) of 16-ounce iced coffee drinks at Dunkin Donuts and Starbucks:
Dunkin' Donuts Iced Mocha 240 8.0
Swirl Latte (whole milk)
Starbucks Coffee Frappuccino 260 3.5
Dunkin' Donuts Coffee 350 22.0
Starbucks Iced Coffee Mocha 350 20.0
Espresso (whole milk and whipped cream)
Starbucks Mocha Frappuccino 420 16.0
Blended coffee (whipped cream)
Starbucks Chocolate Brownie 510 22.0
Frappuccino blended coffee
Starbucks Chocolate Frappuccino 530 19.0
Blended Crème (whipped cream)
a) Compute and interpret the coefficient of correlation, r.
b) At the 0.05 level of significance, is there a significant linear relationship between calories and fat?
The solution provides step by step method for the calculation of correlation coefficient and test statistic for significance of correlation coefficient. Formula for the calculation and Interpretations of the results are also included.