d) Calculate the coefficient of determination (r) and the coefficient of correlation (r). e) Using the linear regression equation that you developed in topic (b), calculate the estimated sales for a day that will reach 84 degrees F and for a day that will reach 94 F and for both temperature levels calculate the error "e" when comparing the estimated value against the actual data provided. At which of the two temperatures, is your model more accurate? Explain. f) Calculate an estimate for the variance (o?) and the standard deviation for the linear regression model you have developed.

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
100%

I need help answering parts D, E and F.

The Sales Manager put the following table together:
Outside Temperature
Sales
(Degrees F)
(# of AC units)
68
72
78
7
81
12
84
15
86
16
89
22
91
18
93
19
94
26
a) Plot a scatter diagram for the data provided on calculated in topic (b). Consider that:
Y: number of air conditioning units sold
X: outside temperature (degrees F)
b) the linear regression calculation and provide the linear regression equation that describes the
relationship between Y (number of air conditioning units sold) and X (outside temperature in degrees
Fahrenheit.
c) Calculate SST, SSE and SSR for this linear regression
d) Calculate the coefficient of determination (r2) and the coefficient of correlation (r).
e) Using the linear regression equation that you developed in topic (b), calculate the estimated sales for
a day that will reach 84 degrees F and for a day that will reach 94 F and for both temperature levels
calculate the error "e" when comparing the estimated value against the actual data provided. At which
of the two temperatures, is your model more accurate? Explain.
f) Calculate an estimate for the variance (o?) and the standard deviation for the linear regression model
you have developed.
Scanned with CamScanner
Transcribed Image Text:The Sales Manager put the following table together: Outside Temperature Sales (Degrees F) (# of AC units) 68 72 78 7 81 12 84 15 86 16 89 22 91 18 93 19 94 26 a) Plot a scatter diagram for the data provided on calculated in topic (b). Consider that: Y: number of air conditioning units sold X: outside temperature (degrees F) b) the linear regression calculation and provide the linear regression equation that describes the relationship between Y (number of air conditioning units sold) and X (outside temperature in degrees Fahrenheit. c) Calculate SST, SSE and SSR for this linear regression d) Calculate the coefficient of determination (r2) and the coefficient of correlation (r). e) Using the linear regression equation that you developed in topic (b), calculate the estimated sales for a day that will reach 84 degrees F and for a day that will reach 94 F and for both temperature levels calculate the error "e" when comparing the estimated value against the actual data provided. At which of the two temperatures, is your model more accurate? Explain. f) Calculate an estimate for the variance (o?) and the standard deviation for the linear regression model you have developed. Scanned with CamScanner
Expert Solution
steps

Step by step

Solved in 6 steps

Blurred answer
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