Answer on Question #44851 – Math – Statistics and Probability
A number of restaurants feature a device that allows credit card users to swipe their cards at the table. It allows the user to specify a percentage or a dollar amount to leave as a tip. In an experiment to see how it works, a random sample of credit card users was drawn. Some paid the usual way, and some used the new device. The percent left as a tip was recorded and listed below. Can we infer that users of the device leave larger tips?
Usual: 10.3 15.2 13.0 9.9 12.1 13.4 12.2 14.9 13.2 12.0
Device: 13.6 15.7 12.9 13.2 12.9 13.4 12.1 13.9 15.7 15.4 17.4
Solution
First, we need to state the null hypothesis and an alternative hypothesis.
Null hypothesis: (there is no difference between the percent left as a tip)
Alternative hypothesis: (users of the device leave larger tips, the mean for the device leave tips is more than in the usual manner).
We note that these hypotheses constitute a one-tailed test. The null hypothesis will be rejected if the mean difference between sample means is too small. For this analysis, the significance level is 0.05. Using sample data, we will conduct a two-sample t-test.
We had determined the following given data:
Sample standard deviations are approximately equal.
If we do not know s then we use the pooled standard deviation.
Substitute the values into the formula.
Then calculate the t-score (t) defined by the following equation:
The number of degrees of freedom of the test statistic is
Because this is an one-tailed test, the alpha level (0.05) is not divided by two. The p-value is equal to 0.0216. Thus, we can conclude that the result is significant at . Since the P-value (0.0216) is less than the significance level (0.05), we cannot accept the null hypothesis, this means that we can confirm that there is no difference between the percent left as a tip. Thus, we can state that there is a sufficient evidence to make a conclusion that users of the device leave larger tips.
www.AssignmentExpert.com
Comments