Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: Server Tips When do servers receive the largest tips? Over several weeks, a student from a recent Stat 272 class ran a small

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
Part 1: Server Tips When do servers receive the largest tips? Over several weeks, a student from a recent Stat 272 class ran a small study of 417 customers who ate at one Northeld restaurant where she worked as a server. The student was interested in learning under what conditions a server can expect the largest tips for example, at dinner time or late at night? From younger or older patrons? During the shifts she was working, the student observed customers as they went about their meals and collected data on each customer. Here is a description of the variables we will consider, followed by the rst 6 rows of the dataset: - Bill : dollar amount of the bill . Tip : dollar amount of the tip - Ticht : percentage of the bill represented by the tip - Meal : time of day (Lunch, Dinner, Late Night) - Payment : how bill was paid (Credit, Cash, Credit with Cash tip) - Age : age of customer (Middle Aged, Senior Citizen, Young Adult) - Alcohol : No(D)/Yes(1) if Alcohol was part of the bill - FriSat : indicator of Friday/Saturday (1) vs Sundavahnrsday (0) head(tips) ## Bill Tip Ticht Meal Payment Age Alcohol FriSat ## 1 34.50 4.00 11.59420 Dinner Credit Middle Yes 0 ## 2 27.50 5.00 18.18182 Dinner Credit SenCit No 0 ## 3 16.16 2.50 15.47030 Dinner Credit SenCit Yes 0 ## 4 21.96 5.04 22.95082 Dinner Cash Yadult Yes 0 ## 5 49.50 10.50 21.21212 Dinner Cash Yadult Yes 0 ## 6 29.94 5.00 16.70007 Dinner Credit/CashTip SenCit Yes 0 o 150- 100- ' ' a I 9 50- O- NO YES Alcohol favstats(-Bill|A1cohol,a'n=tips) ## Alcohol min Q1 median QB max mean ed 11 missing ## 1 No 1.70 15.065 26.540 37.115 102.07 28.49152 17.05153 283 0 ## 2 Yes 7.83 26.625 34.995 46.820 164.13 38.69970 20.83116 134 0 modell |t|) ## (Intercept) 18.85395 0. 58230 32.378

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Exercises In Computational Mathematics With MATLAB

Authors: Tom Lyche, Jean Louis Merrien

1st Edition

366243511X, 9783662435113

More Books

Students also viewed these Mathematics questions