Need help answering A, B and C. B) Perform 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. Calculate:  Coefficient of determination (r2) and the coefficient of correlation (r).  SST, SSE and SSR for this linear regression.  Estimate for the variance (σ2) 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

Need help answering A, B and C.

B) Perform 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. Calculate:
 Coefficient of determination (r2) and the coefficient of correlation (r).
 SST, SSE and SSR for this linear regression.
 Estimate for the variance (σ2) and the standard deviation for the linear regression model you have developed.

C) Using the linear regression equation that you developed in topic (b), calculate the estimated sales for a day that
will reach 72 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? Justify.

Problem #1 Freeze Inc. is an air conditioning company located in Lakeland, Florida. They collected data for the number of air
conditioning units sold in the Central Florida area and for the outside temperature on the day that sales took place. The Sales Manager
put the following table together:
Sales
Outside Temperature
(Degrees F)
(Number of air conditioning units sold)
68
72
5.
8L
81
84
14
86
15
68
91
21
93
94
25
Plot a scatter diagram for the data provided on the tableabove and the linear regression line calculated in topic
(b)consider that:
Y: number of air conditioning units sold
X: outside temperature (degrees F)
Guidance: graph should look like the one presented in Figure 4.2 of textbook. Graph plotted by MS Excel, as a result of the
Regression function wili not be accepted.
Transcribed Image Text:Problem #1 Freeze Inc. is an air conditioning company located in Lakeland, Florida. They collected data for the number of air conditioning units sold in the Central Florida area and for the outside temperature on the day that sales took place. The Sales Manager put the following table together: Sales Outside Temperature (Degrees F) (Number of air conditioning units sold) 68 72 5. 8L 81 84 14 86 15 68 91 21 93 94 25 Plot a scatter diagram for the data provided on the tableabove and the linear regression line calculated in topic (b)consider that: Y: number of air conditioning units sold X: outside temperature (degrees F) Guidance: graph should look like the one presented in Figure 4.2 of textbook. Graph plotted by MS Excel, as a result of the Regression function wili not be accepted.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

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