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.1.21

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)

Verified step by step guidance
1
Identify the claim and state the null hypothesis (H\_0) and the alternative hypothesis (H\_a). The claim is that the mean home sales prices in Casper and Cheyenne are the same. So, H\_0: \(\mu\)_1 = \(\mu\)_2 (means are equal) and H\_a: \(\mu\)_1 \(\neq\) \(\mu\)_2 (means are different), where \(\mu\)_1 is the mean price in Casper and \(\mu\)_2 is the mean price in Cheyenne.
Find the critical value(s) for a two-tailed test at the significance level \(\alpha\) = 0.01. Since the test is two-tailed, find the z-values that correspond to the upper and lower 0.5% tails of the standard normal distribution. These z-values define the rejection regions.
Calculate the standardized test statistic z using the formula for the difference between two means with known population standard deviations: \(z = \frac{(\bar{x}_1 - \bar{x}_2) - (\mu_1 - \mu_2)}{\sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}}\) Here, \(\bar{x}\)_1 and \(\bar{x}\)_2 are the sample means, \(\sigma\)_1 and \(\sigma\)_2 are the population standard deviations, and n_1 and n_2 are the sample sizes. Since H\_0 assumes \(\mu\)_1 - \(\mu\)_2 = 0, substitute that in the numerator.
Compare the calculated z-value to the critical values found in step 2. If z falls into the rejection region (less than the lower critical value or greater than the upper critical value), reject the null hypothesis. Otherwise, fail to reject the null hypothesis.
Interpret the decision in the context of the original claim. If you rejected H\_0, conclude that there is sufficient evidence at the 0.01 significance level to say the mean home prices in Casper and Cheyenne are different. If you failed to reject H\_0, conclude that there is not enough evidence to say the means differ, supporting the agency's claim.

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.

Hypothesis Testing for Two Means

This involves comparing the means of two independent samples to determine if there is a statistically significant difference between their population means. The null hypothesis (Ho) typically states that the means are equal, while the alternative hypothesis (Ha) states they are different. This framework guides the testing process and decision-making.
Recommended video:
Guided course
08:24
Difference in Means: Hypothesis Tests

Z-Test for Two Independent Samples with Known Population Standard Deviations

When population standard deviations are known and samples are independent, the z-test is used to calculate the standardized test statistic. This involves computing the difference between sample means, divided by the standard error derived from the population standard deviations and sample sizes. The z-test helps determine how extreme the observed difference is under the null hypothesis.
Recommended video:
04:48
Population Standard Deviation Known

Critical Value and Rejection Region

The critical value is a threshold from the standard normal distribution corresponding to the chosen significance level (α). It defines the rejection region(s) where the null hypothesis is rejected if the test statistic falls within these regions. For a two-tailed test at α=0.01, critical values mark the extreme 0.5% tails on both ends of the distribution.
Recommended video:
05:50
Critical Values: t-Distribution
Related Practice
Textbook Question

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)

43
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.

Repair Costs: Washing Machines You want to buy a washing machine, and a salesperson tells you that the mean repair costs for Model A and Model B are equal. You research the repair costs. The mean repair cost of 24 Model A washing machines is \$208. Assume the population standard deviation is \$18. The mean repair cost of 26 Model B washing machines is \$221. Assume the population standard deviation is \$22. At α=0.01, can you reject the salesperson’s claim?

72
views
Textbook Question

Parks and Mental Health In Exercises 13–18, use the figure, which shows the percentages from a survey of two hundred 18- to 24-year-olds in the United States who say that various park and recreation activities have a positive impact on their mental health. (Adapted from National Recreation and Park Association)



Taking Classes and Enjoying Nature At α=0.05, can you support the claim that the proportion of 18- to 24-year-olds who benefit mentally from taking classes in parks is less than the proportion who benefit mentally from enjoying nature in parks?

38
views
Textbook Question

Test the claim about the mean of the differences for a population of paired data at the level of significance α. Assume the samples are random and dependent, and the populations are normally distributed.

Claim: μd≠0 , α=0.10, Sample statistics: d̄ =-1, sd=2.75, n=20

86
views