Skip to main content
Ch. 8 - Hypothesis Testing with Two Samples
Larson - Elementary Statistics: Picturing the World 8th Edition
Larson8th EditionElementary Statistics: Picturing the WorldISBN: 9780137493470Not the one you use?Change textbook
Chapter 8, Problem 8.2.25

Constructing Confidence Intervals for μ1-μ2. When the sampling distribution for x̅1-x̅2 is approximated by a t-distribution and the populations have equal variances, you can construct a confidence interval for μ1-μ2, as shown below.
Construct the indicated confidence interval for μ1-μ2 . Assume the populations are approximately normal with equal variances.
Family Doctor 
To compare the mean number of days spent waiting to see a family doctor for two large cities, you randomly select several people in each city who have had an appointment with a family doctor. The results are shown at the left. Construct a 90% confidence interval for the difference in mean number of days spent waiting to see a family doctor for the two cities. (Adapted from Merritt Hawkins)
Table comparing sample means, standard deviations, and sizes for waiting days to see a family doctor in Miami and Seattle.

Verified step by step guidance
1
Step 1: Identify the given data for both cities. For Miami, the sample mean \( \bar{x}_1 = 28 \) days, sample standard deviation \( s_1 = 39.7 \) days, and sample size \( n_1 = 20 \). For Seattle, the sample mean \( \bar{x}_2 = 26 \) days, sample standard deviation \( s_2 = 42.4 \) days, and sample size \( n_2 = 17 \).
Step 2: Since the populations are assumed to have equal variances, calculate the pooled standard deviation \( s_p \) using the formula: \[ s_p = \sqrt{ \frac{(n_1 - 1)s_1^2 + (n_2 - 1)s_2^2}{n_1 + n_2 - 2} } \]
Step 3: Calculate the standard error (SE) of the difference between the two sample means using the pooled standard deviation: \[ SE = s_p \times \sqrt{ \frac{1}{n_1} + \frac{1}{n_2} } \]
Step 4: Determine the degrees of freedom (df) for the t-distribution, which is \( n_1 + n_2 - 2 \). Then, find the critical t-value \( t^* \) corresponding to a 90% confidence level and the calculated degrees of freedom from the t-distribution table.
Step 5: Construct the 90% confidence interval for the difference in means \( \mu_1 - \mu_2 \) using the formula: \[ (\bar{x}_1 - \bar{x}_2) \pm t^* \times SE \] This interval estimates the range in which the true difference in mean waiting days between the two cities lies with 90% confidence.

Verified video answer for a similar problem:

This video solution was recommended by our tutors as helpful for the problem above.
Video duration:
7m
Was this helpful?

Key Concepts

Here are the essential concepts you must grasp in order to answer the question correctly.

Confidence Interval for the Difference of Means

A confidence interval for the difference between two population means (μ1 - μ2) estimates the range within which the true difference lies with a certain level of confidence, such as 90%. It uses sample means, standard deviations, and sample sizes to calculate this range, providing insight into whether the means differ significantly.
Recommended video:
Guided course
08:21
Difference in Means: Confidence Intervals

t-Distribution with Equal Variances

When population variances are assumed equal but unknown, the sampling distribution of the difference between sample means follows a t-distribution. This approach pools the sample variances to estimate a common variance, which is then used to calculate the standard error and critical t-value for the confidence interval.
Recommended video:
05:50
Critical Values: t-Distribution

Assumptions of Normality and Equal Variances

Constructing a confidence interval using the t-distribution requires that the populations are approximately normal and have equal variances. These assumptions ensure the validity of the pooled variance estimate and the accuracy of the confidence interval, especially important when sample sizes are small or moderate.
Recommended video:
Guided course
09:47
Finding Standard Normal Probabilities using z-Table
Related Practice
Textbook Question

Independent and Dependent Samples In Exercises 5–8, classify the two samples as independent or dependent and justify your answer.

Sample 1: The maximum bench press weights for 53 football players

Sample 2: The maximum bench press weights for the same 53 football players after completing a weight lifting program

75
views
Textbook Question

Constructing Confidence Intervals for μd To construct a confidence interval for μd , use the inequality below.

Construct the indicated confidence interval for μd . Assume the populations are normally distributed.

[APPLET] Drug Testing A sleep disorder specialist wants to test the effectiveness of a new drug that is reported to increase the number of hours of sleep patients get during the night. To do so, the specialist randomly selects 16 patients and records the number of hours of sleep each gets with and without the new drug. The table shows the results of the two-night study. Construct a 90% confidence interval for μd.

103
views
Textbook Question

Test the claim about the difference between two population means and at the level of significance α. Assume the samples are random and independent, and the populations are normally distributed.

Claim: μ1=μ2, α=0.01, Assume (σ1)^2=(σ2)^2

Sample statistics:

x̅1=33.7, s1=3.5 , n1=12 and x̅2=35.5 , s2=2.2 , n2=17

118
views
Textbook Question

Testing the Difference Between Two Means In Exercises 15–24, (a) identify the claim and state Ho and Ha, (b) find the critical value(s) and identify the rejection region(s), (c) find the standardized test statistic z, (d) decide whether to reject or fail to reject the null hypothesis, and (e) interpret the decision in the context of the original claim. Assume the samples are random and independent, and the populations are normally distributed.

Bed-in-a-Box To compare customer satisfaction with mattresses that are delivered compressed in a box and traditional mattresses, a researcher randomly selects 30 ratings of mattresses in boxes and 30 ratings of traditional mattresses. The mean rating of mattresses in boxes is 68.7 out of 100. Assume the population standard deviation is 6.6. The mean rating of traditional mattresses is 70.9 out of 100. Assume the population standard deviation is 5.6. At α=0.01, can the researcher support the claim that the mean rating of traditional mattresses is greater than the mean rating of mattresses in a box? (Adapted from Consumer Reports)

61
views
Textbook Question

Daily Activities In Exercises 19–22, the results of a survey of 200 U.S. randomly selected U.S. men and 300 randomly selected U.S. women are shown in the figure at the left, which displays the percentages engaged in working or socializing and communicating on an average day. (Adapted from U.S. Bureau of Labor Statistics)



Women’s Activities At α=0.01, can you reject the claim that the proportion of women who work is the same as the proportion of women who socialize and communicate on an average day?

75
views
Textbook Question

Testing the Difference Between Two Means In Exercises 15–24, (a) identify the claim and state Ho and Ha, (b) find the critical value(s) and identify the rejection region(s), (c) find the standardized test statistic z, (d) decide whether to reject or fail to reject the null hypothesis, and (e) interpret the decision in the context of the original claim. Assume the samples are random and independent, and the populations are normally distributed.

Home Prices A real estate agency says that the mean home sales price in Casper, Wyoming, is the same as in Cheyenne, Wyoming. The mean home sales price for 35 homes in Casper is \$349,237. Assume the population standard deviation is \$158,005. The mean home sales price for 41 homes in Cheyenne is \$435,244. Assume the population standard deviation is \$154,716. At α=0.01, is there enough evidence to reject the agency’s claim? (Adapted from Realtor.com)

36
views