There are two groups in this case which are independent of each other.
Group 1: Customers who used a credit card to pay
Group 2: Customers who did not use a credit card to pay
The null hypothesis, Ho: There is no difference in the percentage tips between the two groups
You may calculate the confidence interval in the following way to test the above null hypothesis:
Let's calculate the 95% confidence interval for the difference in the percentage tips. The independent samples t-test formula can be used here. Tt could be gauged that which customers are more generous, who pay by credit card or cash. If the confidence interval contains 0, there is no significant difference in the tips. In this way, the restaurant owner can understand its customers.
This dataset contains data recorded from 157 restaurant bills at a bistro in NY over a...
3. The dataset Restaurant Tips contains data recorded from 157 restaurant bills at a bistro in New York over a two week period and is considered to be representative of all bills at this particular restaurant. The mean tip was $3.849 and the standard deviation was 2.421. Using the methods of Section 6.2-CI (statistic + t*(SE)), find and interpret a 90% confidence interval for the average tip given at this restaurant. Show all calculations.
3. The dataset RestaurantTips contains data recorded from 157 restaurant bills at a bistro in New York over a two week period and is considered to be representative of all bills at this particular restaurant. The mean tip was $3.849 and the standard deviation was 2.421. Using the methods of Section 6.2-CI (statistic t* (SE)), find and interpret a 90% confidence interval for the average tip given at this restaurant. Show all calculations.