An ice-cream vendor working at a holiday resort has a record of how many scoops of ice-cream he sold each day between 15 July and 20 August this year. He wonders whether his daily sales may depend on (1) the high temperature of the day (measured in "C) and (2) the day of the week. He collects data on daily high temperatures for this period from a meteorology website, and because he also has a deep interest in advanced statistical methods, he decides to fit a multiple linear regression model to the data to see whether sales can be reliably predicted form these two variables. The deterministic component of the model is hypothesised as E(y) = Bo + B₁x₁ + B₂x₂, where x₁ stands for the daily high temperature and x₂ is a dummy variable which equals 0 for weekdays (Monday to Friday) and 1 for weekends (Saturday and Sunday). The SPSS printout of the analysis is shown below. Model 1 Model R Square .256 212 a. Predictors: (Constant), Day of the week (x2), High temperature (x1) Model Summary R .506* Model Adjusted R Square Sum of Squares 276752.043 804838.307 1081590.350 ANOVA df Std. Error of the Estimate 153.856 Regression Residual Total a. Dependent Variable: Sales (scoops) b. Predictors: (Constant), Day of the week (x2), High temperature (x1) (Constant) High temperature (x1) Day of the week (x2) a. Dependent Variable: Sales (scoops) Mean Square 2 138376.022 34 23671.715 36 -212.093 15.713 118.233 Coefficients Unstandardized Coefficients Std. Error 195.196 5.906 54.039 Sig. 5.846 .007b Standardized Coefficients Beta 394 .324 1 -1.087 2.661 2.188 Sig. 285 012 .036 Find the estimated parameters and use the model to predict the number of scoops of ice-scream sold on a Wednesday when the high temperature is 30 °C. (Your answer must be accurate within +1

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%
An ice-cream vendor working at a holiday resort has a record of how many scoops of ice-cream he
sold each day between 15 July and 20 August this year. He wonders whether his daily sales may
depend on (1) the high temperature of the day (measured in °C) and (2) the day of the week. He
collects data on daily high temperatures for this period from a meteorology website, and because he
also has a deep interest in advanced statistical methods, he decides to fit a multiple linear regression
model to the data to see whether sales can be reliably predicted form these two variables. The
deterministic component of the model is hypothesised as E(y) = Bo + B₁x₁ + B₂x₂, where x₁
stands for the daily high temperature and x₂ is a dummy variable which equals 0 for weekdays
(Monday to Friday) and 1 for weekends (Saturday and Sunday). The SPSS printout of the analysis is
shown below.
Model
Model
R
.506*
Model Summary
R Square
256
212
a. Predictors: (Constant), Day of the week (x2), High
temperature (x1)
Model
Adjusted R
Square
Sum of
Squares
276752.043
804838.307
1081590.350
ANOVA
df
Std. Error of
the Estimate
153.856
Regression
Residual
Total
a. Dependent Variable: Sales (scoops)
b. Predictors: (Constant), Day of the week (x2), High temperature (x1)
(Constant)
High temperature (x1)
Day of the week (x2)
a. Dependent Variable: Sales (scoops)
Mean Square
2
138376.022
34 23671.715
36
-212.093
15.713
118.233
Coefficients
Unstandardized Coefficients
B
Std. Error
195.196
5.906
54.039
F
Sig.
5.846 .007b
Standardized
Coefficients
Beta
394
324
1
-1.087
2.661
2.188
Sig.
285
.012
.036
Find the estimated parameters and use the model to predict the number of scoops of ice-scream sold
on a Wednesday when the high temperature is 30 °C. (Your answer must be accurate within +1
Transcribed Image Text:An ice-cream vendor working at a holiday resort has a record of how many scoops of ice-cream he sold each day between 15 July and 20 August this year. He wonders whether his daily sales may depend on (1) the high temperature of the day (measured in °C) and (2) the day of the week. He collects data on daily high temperatures for this period from a meteorology website, and because he also has a deep interest in advanced statistical methods, he decides to fit a multiple linear regression model to the data to see whether sales can be reliably predicted form these two variables. The deterministic component of the model is hypothesised as E(y) = Bo + B₁x₁ + B₂x₂, where x₁ stands for the daily high temperature and x₂ is a dummy variable which equals 0 for weekdays (Monday to Friday) and 1 for weekends (Saturday and Sunday). The SPSS printout of the analysis is shown below. Model Model R .506* Model Summary R Square 256 212 a. Predictors: (Constant), Day of the week (x2), High temperature (x1) Model Adjusted R Square Sum of Squares 276752.043 804838.307 1081590.350 ANOVA df Std. Error of the Estimate 153.856 Regression Residual Total a. Dependent Variable: Sales (scoops) b. Predictors: (Constant), Day of the week (x2), High temperature (x1) (Constant) High temperature (x1) Day of the week (x2) a. Dependent Variable: Sales (scoops) Mean Square 2 138376.022 34 23671.715 36 -212.093 15.713 118.233 Coefficients Unstandardized Coefficients B Std. Error 195.196 5.906 54.039 F Sig. 5.846 .007b Standardized Coefficients Beta 394 324 1 -1.087 2.661 2.188 Sig. 285 .012 .036 Find the estimated parameters and use the model to predict the number of scoops of ice-scream sold on a Wednesday when the high temperature is 30 °C. (Your answer must be accurate within +1
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

"For Wednesday, the value of x2 is 0 and the value of x1 is 30."

Why's that?

Solution
Bartleby Expert
SEE SOLUTION
Similar 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