. You would like to determine if there is a statistical relationship between the amount of caffein in a cup of coffee and their sales at their coffee franchises. The data is included in the set "Coffee by the Cup". Here is information about the variables. Variable Measurement Units Caffeine Amount of caffeine in one cup Milligrams Cups sold Number of cups of the coffee sold at all of the franchises Cups Sold

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question

part D& E

3. You would like to determine if there is a statistical relationship between the amount of caffein in
a cup of coffee and their sales at their coffee franchises. The data is included in the set "Coffee
by the Cup". Here is information about the variables.
Variable
Measurement
Units
Caffeine
Amount of caffeine in one cup
Milligrams
Cups sold
Cups Sold
Number of cups of the coffee
sold at all of the franchises
Which variable is the explanatory variable and which variable is the response variable?
Construct a scatterplot of the data. Based upon the scatterplot is there a linear relationship
a.
b.
between the amount of caffeine in one cup of the coffee and the number of cups of coffee
sold? Justify your reasoning using the scatterplot.
Run a t-test for correlation using technology. Make sure you include the p-value and the
printout. According to the t-test, is there a statistical relationship between the amount of
caffeine in a cup of coffee and the number of cups sold? Justify your reasoning using the
results of the test.
C.
d. Find the correlation coefficient for caffeine and cups of coffee sold.
a. Interpret the correlation coefficient in terms of its strength and direction.
b. Complete the following sentence: According to the correlation coefficient, If you
(increase/decrease) the amount of a caffeine in a cup of coffee, then this will
(increase/decrease) the number of cups sold. Choose either increase or decrease for
each of the blanks.
Or write:
There is no relationship between the amount of caffeine in a cup of coffee and the
number of cups sold.
e. What percentage of the variability in the number of cups sold is on account of the amount of
caffeine in each cup? Explain how you know.
f.
State the linear regression line (you should use technology to find it). Determine based upon
the information from b-d whether or not the regression line is appropriate to use to predict
the number of cups sold based upon the amount of caffeine in the cups.
g. Predict the number of cups that would be sold if the amount of caffeine in the cup with 200
mg of caffeine.
000
Dashboard
Calendar
To Do
Notifications
Inbox
Transcribed Image Text:3. You would like to determine if there is a statistical relationship between the amount of caffein in a cup of coffee and their sales at their coffee franchises. The data is included in the set "Coffee by the Cup". Here is information about the variables. Variable Measurement Units Caffeine Amount of caffeine in one cup Milligrams Cups sold Cups Sold Number of cups of the coffee sold at all of the franchises Which variable is the explanatory variable and which variable is the response variable? Construct a scatterplot of the data. Based upon the scatterplot is there a linear relationship a. b. between the amount of caffeine in one cup of the coffee and the number of cups of coffee sold? Justify your reasoning using the scatterplot. Run a t-test for correlation using technology. Make sure you include the p-value and the printout. According to the t-test, is there a statistical relationship between the amount of caffeine in a cup of coffee and the number of cups sold? Justify your reasoning using the results of the test. C. d. Find the correlation coefficient for caffeine and cups of coffee sold. a. Interpret the correlation coefficient in terms of its strength and direction. b. Complete the following sentence: According to the correlation coefficient, If you (increase/decrease) the amount of a caffeine in a cup of coffee, then this will (increase/decrease) the number of cups sold. Choose either increase or decrease for each of the blanks. Or write: There is no relationship between the amount of caffeine in a cup of coffee and the number of cups sold. e. What percentage of the variability in the number of cups sold is on account of the amount of caffeine in each cup? Explain how you know. f. State the linear regression line (you should use technology to find it). Determine based upon the information from b-d whether or not the regression line is appropriate to use to predict the number of cups sold based upon the amount of caffeine in the cups. g. Predict the number of cups that would be sold if the amount of caffeine in the cup with 200 mg of caffeine. 000 Dashboard Calendar To Do Notifications Inbox
2:52
< Вack
Coffee_by_the_Cup.csv
mg of Caffeine Cups Sold
155
1215
200
1311
175
564
235
1900
247
1750
258
1427
180
280
205
750
310
2100
178
789
256
1500
288
1670
290
2000
199
1233
260
1400
000
Dashboard
Calendar
Тo Do
Notifications
Inbox
Transcribed Image Text:2:52 < Вack Coffee_by_the_Cup.csv mg of Caffeine Cups Sold 155 1215 200 1311 175 564 235 1900 247 1750 258 1427 180 280 205 750 310 2100 178 789 256 1500 288 1670 290 2000 199 1233 260 1400 000 Dashboard Calendar Тo Do Notifications Inbox
Expert Solution
steps

Step by step

Solved in 5 steps with 2 images

Blurred answer
Knowledge Booster
Points, Lines and Planes
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman