8,974 views
3 votes
3 votes
Researchers investigated whether providing a fancy, foil-wrapped piece of chocolate with the dinner bill would lead to higher tips than not providing such a treat. Sixty-four dinner parties at a restaurant in Ithaca, NY were randomly assigned to receive such a piece of chocolate or not with their dinner bill. Of the 32 parties who received the chocolate, the average tip (as a percentage of the bill) was 17.84%, with a standard deviation of 3.06%. Of the 32 parties who did not receive the chocolate, the average tip (as a percentage of the bill) was 15.06%, with a standard deviation of 1.89%. Determine a 96% confidence interval for the size of the difference in average tips between the two groups

User Averie
by
2.7k points

1 Answer

29 votes
29 votes

Answer:

The 96% confidence interval for the size of the difference in average tips between the two groups is (1.47%, 4.09%).

Explanation:

Before building the confidence interval, we need to understand the central limit theorem and subtraction of normal variables.

Central Limit Theorem

The Central Limit Theorem estabilishes that, for a normally distributed random variable X, with mean
image and standard deviation
image, the sampling distribution of the sample means with size n can be approximated to a normal distribution with mean
image and standard deviation
image.

For a skewed variable, the Central Limit Theorem can also be applied, as long as n is at least 30.

Subtraction of normal variables:

When we subtract normal variables, the mean is the subtraction of the means while the standard deciation is the square root of the sum of the variances.

Of the 32 parties who received the chocolate, the average tip (as a percentage of the bill) was 17.84%, with a standard deviation of 3.06%.

This means that:


image

Of the 32 parties who did not receive the chocolate, the average tip (as a percentage of the bill) was 15.06%, with a standard deviation of 1.89%.

This means that:


image

Difference in average tips

The distribution has mean:


image

Standard deviation:


image

96% confidence interval

We have that to find our
image level, that is the subtraction of 1 by the confidence interval divided by 2. So:


image

Now, we have to find z in the Ztable as such z has a pvalue of
image.

That is z with a pvalue of
image, so Z = 2.054.

Now, find the margin of error M as such


image


image

The lower end of the interval is the sample mean subtracted by M. So it is 2.78% - 1.31% = 1.47%

The upper end of the interval is the sample mean added to M. So it is 2.78% + 1.31% = 4.09%

The 96% confidence interval for the size of the difference in average tips between the two groups is (1.47%, 4.09%).

User Nicolas Thery
by
3.2k points