(b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two points and then drawing the line through them. Round each coordinate to three decimal places. Regression equation: y= 24 22 20 18 16- High temperature (in °C) (c) Use your regression equation to predict the amount of hot chocolate sold on a day with a high temperature of 17 °C. Round your answer to the nearest whole number. Predicted amount of hot chocolate sold: liters Amount of hot chocolate sold (In liters) 8图 X

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
Question
(b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two
points and then drawing the line through them. Round each coordinate to three decimal places.
Regression equation:
22
20-
High temperature
(in °C)
(c) Use your regression equation to predict the amount of hot chocolate sold on a day with a high temperature of 17 °C. Round your answer to the nearest
whole number.
Predicted amount of hot chocolate sold: liters
Amount of hot chocolate sold
(In liters)
8图 x
Transcribed Image Text:(b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two points and then drawing the line through them. Round each coordinate to three decimal places. Regression equation: 22 20- High temperature (in °C) (c) Use your regression equation to predict the amount of hot chocolate sold on a day with a high temperature of 17 °C. Round your answer to the nearest whole number. Predicted amount of hot chocolate sold: liters Amount of hot chocolate sold (In liters) 8图 x
Españ
You are the owner of Fast Break, a popular local place that sells drinks, snacks, and sandwiches. For inventory management purposes, you are examining how
the weather affects the amount of hot chocolate sold in a day. You are going to gather a random sample of 9 days showing that day's high temperature (denoted
by x, in °C) and the amount of hot chocolate sold that day (denoted by y, in liters). You will also note the productx.y of the temperature and amount of hot
chocolate sold for each day. (These products are written in the row labeled "xy").
(a) Click on "Take Sample" to see the results for your random sample.
High temperature, x
22
15
6
33
28
3
15
6.
11
(in °C)
Amount of hot
Take Sample
chocolate sold, y
(in liters)
7
12
17
10
14
15
xy
132
105
72
99
56
51
150
84
165
Send data to calculator
Based on the data from your sample, enter the indicated values in the column on the left below. Round decimal values to three decimal places. When you
are done, select "Compute". (In the table below, n is the sample size and the symbol E xy means the sum of the values xy.)
n: I
Sample correlation coefficient (r):
y: 0
Slope (b;):
Ixy: 0
y-intercept (6):
Compute
(b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two
points and then drawing the line through them. Round each coordinate to three decimal places.
Regression equation: y =
3.
Transcribed Image Text:Españ You are the owner of Fast Break, a popular local place that sells drinks, snacks, and sandwiches. For inventory management purposes, you are examining how the weather affects the amount of hot chocolate sold in a day. You are going to gather a random sample of 9 days showing that day's high temperature (denoted by x, in °C) and the amount of hot chocolate sold that day (denoted by y, in liters). You will also note the productx.y of the temperature and amount of hot chocolate sold for each day. (These products are written in the row labeled "xy"). (a) Click on "Take Sample" to see the results for your random sample. High temperature, x 22 15 6 33 28 3 15 6. 11 (in °C) Amount of hot Take Sample chocolate sold, y (in liters) 7 12 17 10 14 15 xy 132 105 72 99 56 51 150 84 165 Send data to calculator Based on the data from your sample, enter the indicated values in the column on the left below. Round decimal values to three decimal places. When you are done, select "Compute". (In the table below, n is the sample size and the symbol E xy means the sum of the values xy.) n: I Sample correlation coefficient (r): y: 0 Slope (b;): Ixy: 0 y-intercept (6): Compute (b) Write the equation of the least-squares regression line for your data. Then on the scatter plot for your data, graph this regression equation by plotting two points and then drawing the line through them. Round each coordinate to three decimal places. Regression equation: y = 3.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
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