An owner of an ice cream shop wants to determine the factors that affect ice cream sales in a day.  Over 9 days, he calculates the Sales (in $100) of the shop, the high temperature that day (Temp), whether it was a Weekend (1 if it was weekend, 0 if it was a weekday),  whether it was Rainy that day (1 if it was rainy, 0 otherwise), and how many Employees simultaneously worked the shop that day.  His data is as follows:   Temp Weekend Rainy Employees Sales 80 0 0 3 197 103 0 0 2 200 81 1 1 2 213 73 0 0 4 172 91 0 0 4 177 87 0 0 2 193 77 1 0 3 251 74 0 0 4 182 77 1 1 3 177 He fits the model:    Sales = β0 + β1(Temp) + β2(Weekend) + β3(Rainy) + β4(Employees) +εi   and estimates the coefficients using linear regression.   1) Find the regression equation. (Round your answers to 4 decimal points)   Sales = + (Temp) + (Weekend) +  (Rainy)+  (Employees)   2) The owner believes that, everything else held constant, the shop has more sales on weekend days.  Test his hypothesis at the α = 0.05 significance level   2.a) Give the null hypothesis for the owner's claim:     multiple choice 1 H0: β0 > 0 H0: β0 = 0 H0: β0 < 0 H0: β1 > 0 H0: β1 = 0 H0: β1 < 0 H0: β2 > 0 H0: β2 = 0 H0: β2 < 0     2.b) Give the alternative hypothesis for the owner's claim:     multiple choice 2 H1: β0 > 0 H1: β0 = 0 H1: β0 < 0 H1: β1 > 0 H1: β1 = 0 H1: β1 < 0 H1: β2 > 0 H1: β2 = 0 H1: β2 < 0     2.c) Give the t-statistic for this test. (Round your answers to 3 decimal points)       2.d) Give the p-value for this test. (Round your answers to 4 decimal points)       2.e) What do you conclude?     multiple choice 3 Reject the null hypothesis. Sales do not increase on weekend days. Do not reject the null hypothesis. Sales do not increase on weekend days. Reject the null hypothesis. Sales increase on weekend days. Do not reject the null hypothesis. Sales t increase on weekend days.     3) Form a 95% confidence interval for the sales increase (in $100's of dollars) on weekends. (Round your answers to 4 decimal points)

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

Ice Cream

An owner of an ice cream shop wants to determine the factors that affect ice cream sales in a day.  Over 9 days, he calculates the Sales (in $100) of the shop, the high temperature that day (Temp), whether it was a Weekend (1 if it was weekend, 0 if it was a weekday),  whether it was Rainy that day (1 if it was rainy, 0 otherwise), and how many Employees simultaneously worked the shop that day.  His data is as follows:

 

Temp Weekend Rainy Employees Sales
80 0 0 3 197
103 0 0 2 200
81 1 1 2 213
73 0 0 4 172
91 0 0 4 177
87 0 0 2 193
77 1 0 3 251
74 0 0 4 182
77 1 1 3 177

He fits the model: 

 

Sales = β+ β1(Temp) + β2(Weekend) + β3(Rainy) + β4(Employees) i

 

and estimates the coefficients using linear regression.

 

1) Find the regression equation. (Round your answers to 4 decimal points)

 

Sales = + (Temp) + (Weekend) +  (Rainy)+  (Employees)

 

2) The owner believes that, everything else held constant, the shop has more sales on weekend days.  Test his hypothesis at the α = 0.05 significance level

 

2.a) Give the null hypothesis for the owner's claim:

 

 

multiple choice 1
  • H0: β0 > 0
  • H0: β0 = 0
  • H0: β0 < 0
  • H0: β1 > 0
  • H0: β1 = 0
  • H0: β1 < 0
  • H0: β2 > 0
  • H0: β2 = 0
  • H0: β2 < 0

 

 

2.b) Give the alternative hypothesis for the owner's claim:

 

 

multiple choice 2
  • H1: β0 > 0
  • H1: β0 = 0
  • H1: β0 < 0
  • H1: β1 > 0
  • H1: β1 = 0
  • H1: β1 < 0
  • H1: β2 > 0
  • H1: β2 = 0
  • H1: β2 < 0

 

 

2.c) Give the t-statistic for this test. (Round your answers to 3 decimal points)

 

 

 

2.d) Give the p-value for this test. (Round your answers to 4 decimal points)

 

 

 

2.e) What do you conclude?

 

 

multiple choice 3
  • Reject the null hypothesis. Sales do not increase on weekend days.
  • Do not reject the null hypothesis. Sales do not increase on weekend days.
  • Reject the null hypothesis. Sales increase on weekend days.
  • Do not reject the null hypothesis. Sales t increase on weekend days.

 

 

3) Form a 95% confidence interval for the sales increase (in $100's of dollars) on weekends. (Round your answers to 4 decimal points)

 

Answer: to

 

4) Give the adjusted R-squared for this regression. (Round your answers to 4 decimal points)

 

 

 

5) Suppose you regress Sales only on Temp, Weekend, and Rainy.

 

5.a) Give the adjusted R-squared for this regression.  (Round your answers to 4 decimal points)

 

 

 

5.b) Which model do you prefer?

 

 

multiple choice 4
  • The previous model where Sales is regressed on Temp, Weekend, Rainy, and Employees because it has a larger adjusted R-squared value
  • This model where Sales is only regressed on Temp, Weekend, and Rainy, because it has a smaller adjusted R-squared value
  • There is not enough information to tell.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 7 images

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