Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using matlab load the provided cw 9 . xlsx table using readtable command. The data represents the total tip paid by customer in a restaurant
using matlab
load the provided cwxlsx table using readtable command. The data represents the total tip paid by customer in a restaurant detailed by the customers gender, number, if heshethey are smokers, total bill, day and time.
a Using grpstats command:
On average, who spend more on the total bill, Male or Female?
On average, who spend more on the total bill, Smoker or nonsmoker?
On average, on which day the customers spend more on the total bill, from Monday to Sunday?
b Add another column of data, tippercent, to the table, which is the percent of tips tiptotalbill paid by the customer. To add one column of data to existing table create a table say Tnew using this column of data using table command then set Tnew
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started