Skip to main content
Ch. 9 - Inferences from Two Samples
Triola - Elementary Statistics 14th Edition
Triola14th EditionElementary StatisticsISBN: 9780137366446Not the one you use?Change textbook
Chapter 9, Problem 9.1.26

Equivalence of Hypothesis Test and Confidence Interval Two different simple random samples are drawn from two different populations. The first sample consists of 20 people with 10 having a common attribute. The second sample consists of 2000 people with 1404 of them having the same common attribute. Compare the results from a hypothesis test of p1=p2 (with a 0.05 significance level) and a 95% confidence interval estimate of p1-p2

Verified step by step guidance
1
Step 1: Calculate the sample proportions for each population. For the first sample, the proportion is p1 = 10/20. For the second sample, the proportion is p2 = 1404/2000. These proportions represent the observed probabilities of the common attribute in each sample.
Step 2: Formulate the null and alternative hypotheses for the hypothesis test. The null hypothesis (H0) is that the proportions are equal: p1 = p2. The alternative hypothesis (H1) is that the proportions are not equal: p1 ≠ p2. This is a two-tailed test.
Step 3: Compute the standard error for the difference in proportions. The formula for the standard error is: SE = sqrt((p1 * (1 - p1) / n1) + (p2 * (1 - p2) / n2)), where n1 and n2 are the sample sizes for the first and second populations, respectively.
Step 4: Perform the hypothesis test. Calculate the test statistic using the formula: z = (p1 - p2) / SE. Compare the calculated z-value to the critical z-value for a 0.05 significance level (±1.96 for a two-tailed test). If the calculated z-value falls outside the range of -1.96 to 1.96, reject the null hypothesis; otherwise, fail to reject it.
Step 5: Construct the 95% confidence interval for the difference in proportions (p1 - p2). The formula for the confidence interval is: (p1 - p2) ± z*SE, where z* is the critical z-value for a 95% confidence level (1.96). Compare the confidence interval to the null hypothesis value (0). If the interval does not contain 0, it suggests a significant difference between the proportions; otherwise, it does not.

Verified video answer for a similar problem:

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

Key Concepts

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

Hypothesis Testing

Hypothesis testing is a statistical method used to make decisions about population parameters based on sample data. It involves formulating a null hypothesis (H0) and an alternative hypothesis (H1), then using sample data to determine whether to reject H0. The significance level, often set at 0.05, indicates the probability of making a Type I error, which is rejecting a true null hypothesis.
Recommended video:
Guided course
06:21
Step 1: Write Hypotheses

Confidence Intervals

A confidence interval is a range of values, derived from sample statistics, that is likely to contain the true population parameter with a specified level of confidence, typically 95%. It provides an estimate of the uncertainty around the sample statistic. For comparing two proportions, the confidence interval for the difference (p1 - p2) can indicate whether the two population proportions are statistically significantly different.
Recommended video:
06:33
Introduction to Confidence Intervals

Proportions and Sample Size

Proportions represent the fraction of a sample that possesses a certain attribute, calculated as the number of successes divided by the total sample size. The sample size affects the precision of the estimates; larger samples generally yield more reliable results. In the context of hypothesis testing and confidence intervals, understanding the proportions from each sample is crucial for making valid comparisons between the two populations.
Recommended video:
05:11
Sampling Distribution of Sample Proportion
Related Practice
Textbook Question

Bootstrapping and Randomization When resampling data from two independent samples, what is the fundamental difference between bootstrapping and randomization?

165
views
Textbook Question

In Exercises 5–8, use (a) randomization and (b) bootstrapping for the indicated exercise from Section 9-1. Compare the results to those obtained in the original exercise.


Exercise 7 in Section 9-1 “Buttered Toast Drop”

106
views
Textbook Question

Test for Normality For the hypothesis test described in Exercise 2, the sample sizes are n1 = 2208 and n2 = 1986 When using the F test with these data, is it correct to reason that there is no need to check for normality because both samples have sizes that are greater than 30?

159
views
Textbook Question

Randomization vs t Test Two samples of commute times from Boston and New York are randomly selected and it is found that the samples sizes are n1 = 18 and n2 = 12 and each of the two samples appears to be from a population with a distribution that is dramatically far from normal. Which method is more likely to yield better results for testing Mu1 is not equals to Mu2. Hypothesis test using the t distribution (as in Section 9-2) or the resampling method?

101
views
Textbook Question

Color and Creativity Researchers from the University of British Columbia conducted trials to investigate the effects of color on creativity. Subjects with a red background were asked to think of creative uses for a brick; other subjects with a blue background were given the same task. Responses were scored by a panel of judges and results from scores of creativity are given below. Use a 0.05 significance level to test the claim that creative task scores have the same variation with a red background and a blue background.

[Image]

137
views
Textbook Question

Sampling Methods A student obtains a sample of responses to the question “Do you plan to take or have you taken a statistics course?” A second student obtains a sample of responses to the same question. The first student surveys only males at the same college, and the second student surveys only females at the same college. What is wrong with the samples? Can randomization be used to overcome the flaws of those samples?

145
views