In a recent survey, ice cream truck drivers in Cincinnati, Ohio, reported they make about $280 in income on a typical summer day. The income was generally higher on days with longer work hours, particularly hot day, and on holidays. The IceCream data file includes five weeks of the driver's daily income (Income), number of hours on the road (Hours), whether it was a particularly hot day (Hot = 1 if the high temperature was above 85-degrees F, 0 otherwise), and whether it was a Holiday (Holiday = 1, 0 otherwise). 1. Predict the income of a driver working 8 hours on a hot holiday. (Round to the nearest dollar.) 2. Predict the income of a driver working 8 hours on a hot day if it was not a holiday. (Round to the nearest dollar.)

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

In a recent survey, ice cream truck drivers in Cincinnati, Ohio, reported they make about $280 in income on a typical summer day. The income was generally higher on days with longer work hours, particularly hot day, and on holidays. The IceCream data file includes five weeks of the driver's daily income (Income), number of hours on the road (Hours), whether it was a particularly hot day (Hot = 1 if the high temperature was above 85-degrees F, 0 otherwise), and whether it was a Holiday (Holiday = 1, 0 otherwise).

1. Predict the income of a driver working 8 hours on a hot holiday. (Round to the nearest dollar.)

2. Predict the income of a driver working 8 hours on a hot day if it was not a holiday. (Round to the nearest dollar.)

    

D
-
:
B
↓
D
7
3
:
B
+
5
.
B
I
D
:
B
+
I
5
income
196
282
318
232
276
312
193
110
321
283
325
247
398
448
214
235
238
148
313
449
332
247
363
393
254
228
355
248
291
255
239
181
222
170
374
Hours
500 5
8
6
5
8
8
5
4
8
8
8
7
8
8
4
8
8
3
8
8
8
8
7
7
8
8
6
7
8
5
6
6
7
56
HOT
1
TOTOO
0
1
1
0
0
O
0
OTOTO
1
0
1
0
1
1
0
0
0
1
0
1
1
0
1
1
HOO HO
0
1
0
1
1
HOOOOH
0
0
0
0
1
Holiday
0
Ooooo
0
0
0
0
LLOOOO
1
1
0
0
0
0
1
DOOPPP
1
1
0
0
1
1
1
0
0
HOOLHOOOOOHH
1
0
0
1
1
0
0
0
0
1
1
Transcribed Image Text:D - : B ↓ D 7 3 : B + 5 . B I D : B + I 5 income 196 282 318 232 276 312 193 110 321 283 325 247 398 448 214 235 238 148 313 449 332 247 363 393 254 228 355 248 291 255 239 181 222 170 374 Hours 500 5 8 6 5 8 8 5 4 8 8 8 7 8 8 4 8 8 3 8 8 8 8 7 7 8 8 6 7 8 5 6 6 7 56 HOT 1 TOTOO 0 1 1 0 0 O 0 OTOTO 1 0 1 0 1 1 0 0 0 1 0 1 1 0 1 1 HOO HO 0 1 0 1 1 HOOOOH 0 0 0 0 1 Holiday 0 Ooooo 0 0 0 0 LLOOOO 1 1 0 0 0 0 1 DOOPPP 1 1 0 0 1 1 1 0 0 HOOLHOOOOOHH 1 0 0 1 1 0 0 0 0 1 1
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 5 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