Aimathic
Login | English | Deutsch

Statistics math worksheets

Build your own math worksheets from 35,000+ problems for grades 3 to 12, from fractions to AP Calculus. Every problem comes with step-by-step solutions.

Hypothesis test for a difference in proportions

Learning goals

  • States null and alternative hypotheses about a difference in population proportions.
  • Checks conditions for a two-proportion hypothesis test.
  • Calculates the test statistic for a two-proportion test.
  • Determines a p-value for a two-proportion test.
  • Compares a p-value with the significance level to make a test decision.
  • Interprets a two-proportion test's decision without treating the null as proven.

Click problems to add them to your worksheet.

Hypothesis test for a difference in proportions 1
Two independent random samples are taken from two populations, and the response is success or failure. A researcher wants to test whether the two population success proportions are different. Name the appropriate hypothesis-test procedure.

Hints

- Identify the type of response variable and the number of populations. - The question asks for a test of a difference, not an interval estimate.

Solution

1. The response is binary, and the question compares two independent population proportions. 2. The appropriate procedure is a two-sample z-test for the difference between two population proportions.

Answer

A two-sample z-test for the difference between two population proportions.
Hypothesis test for a difference in proportions 2
Let \(p_A\) be the true proportion of all customers using plan A who renew, and let \(p_B\) be the corresponding true proportion for plan B. If a test compares plan A with plan B in the order A minus B, state the population parameter being tested.

Hints

- Use population proportions, not the observed sample proportions. - Preserve the stated subtraction order.

Solution

1. The test compares two population proportions. 2. In the requested order, the parameter is \(p_A-p_B\).

Answer

\(p_A-p_B\).
Hypothesis test for a difference in proportions 3
Independent random samples are taken from two populations. A researcher asks whether \(p_1>p_2\), where each \(p_i\) is a population success proportion. Should the researcher use a confidence interval as the primary procedure or a hypothesis test, and which test?

Hints

- Decide whether the goal is estimation or evaluation of a claim. - The response is binary and two independent populations are being compared.

Solution

1. The research question asks whether a directional claim about the population proportions is supported. 2. A hypothesis test is therefore the primary procedure. 3. The appropriate test is a two-sample z-test for the difference between two population proportions.

Answer

Use a two-sample z-test for the difference between two population proportions.
Hypothesis test for a difference in proportions 4
A two-sample z-test is used to test whether two population proportions are equal. What value of \(p_1-p_2\) is specified by the null hypothesis?

Hints

- Translate “equal proportions” into an equation. - Rewrite that equation as a difference between the two proportions.

Solution

1. Equality means \(p_1=p_2\). 2. Subtracting gives \(p_1-p_2=0\).

Answer

\(0\).
Hypothesis test for a difference in proportions 5
A two-proportion z-test gives a p-value of \(0.12\). At a significance level of \(\alpha=0.05\), should the researcher reject \(H_0\) or fail to reject \(H_0\)?

Hints

- Compare the p-value with the chosen cutoff for statistical significance. - Think about which decision is allowed when the sample evidence does not meet that cutoff.

Solution

1. The p-value \(0.12\) is larger than the significance level \(0.05\). 2. The result is not statistically significant at that level, so fail to reject \(H_0\).

Answer

Fail to reject \(H_0\).
Hypothesis test for a difference in proportions 6
A credit union wants to know whether the proportion of members using mobile deposit is higher among members younger than \(40\) than among members age \(40\) or older. Write the investigative question in a form suitable for a directional hypothesis test.

Hints

- Identify the yes-or-no outcome. - Name both population groups clearly. - Preserve the proposed direction of the difference.

Solution

1. The variable is whether a member uses mobile deposit. 2. The two parameters are the population proportions for the two age groups. 3. The direction is that the proportion for members younger than \(40\) is greater than the proportion for members age \(40\) or older. 4. The population is all members of the credit union.

Answer

One valid question is: “Among credit-union members, is the proportion who use mobile deposit greater for members younger than \(40\) than for members age \(40\) or older?”
Hypothesis test for a difference in proportions 7
Let \(p_U\) be the true proportion of adults in an urban population who support a policy and \(p_R\) the corresponding proportion in a rural population. Write hypotheses for testing whether the two proportions differ.

Hints

- The word “differ” does not specify a direction. - Write the hypotheses using population parameters rather than sample statistics. - Keep the same parameter expression in both hypotheses.

Solution

1. “No difference” is \(p_U-p_R=0\). 2. “Differ” requires a two-sided alternative, \(p_U-p_R\ne0\). 3. Thus \(H_0:p_U-p_R=0\) and \(H_a:p_U-p_R\ne0\).

Answer

\(H_0:p_U-p_R=0\); \(H_a:p_U-p_R\ne0\).
Hypothesis test for a difference in proportions 8
Let \(p_N\) be the true conversion proportion for a new webpage and \(p_O\) the true conversion proportion for an old webpage. Write hypotheses for testing the claim that the new webpage has the higher conversion proportion.

Hints

- Translate “higher” into the direction of the difference new minus old. - The null hypothesis uses equality. - State hypotheses about the population proportions, not the observed conversions.

Solution

1. The null hypothesis states no population difference: \(p_N-p_O=0\). 2. The claim “new is higher” gives the one-sided alternative \(p_N-p_O>0\).

Answer

\(H_0:p_N-p_O=0\); \(H_a:p_N-p_O>0\).
Hypothesis test for a difference in proportions 9
Let \(p_1\) be the true defect proportion for production line \(1\) and \(p_2\) the true defect proportion for line \(2\). Write hypotheses for testing whether line \(1\) has a lower defect proportion.

Hints

- Translate “lower” using the stated order line \(1\) minus line \(2\). - The null hypothesis represents no population difference. - Use population proportions in the hypotheses.

Solution

1. No difference is represented by \(p_1-p_2=0\). 2. “Line \(1\) is lower” means \(p_1-p_2<0\). 3. Therefore, \(H_0:p_1-p_2=0\) and \(H_a:p_1-p_2<0\).

Answer

\(H_0:p_1-p_2=0\); \(H_a:p_1-p_2<0\).
Hypothesis test for a difference in proportions 10
Eleni proposes \(H_0:\hat p_1-\hat p_2=0\) and \(H_a:\hat p_1-\hat p_2\ne0\) for a two-sample z-test. Explain the error and write the correct hypotheses.

Hints

- Ask whether hypotheses are supposed to describe the samples already observed or the populations being studied. - Distinguish symbols with hats from population-parameter symbols. - Keep Eleni's two-sided direction while correcting the quantities being tested.

Solution

1. Hypotheses describe unknown population parameters, not random sample statistics. 2. The population parameter is \(p_1-p_2\). 3. The correct hypotheses are \(H_0:p_1-p_2=0\) and \(H_a:p_1-p_2\ne0\).

Answer

Eleni used sample statistics instead of population parameters. Correctly: \(H_0:p_1-p_2=0\); \(H_a:p_1-p_2\ne0\).
Hypothesis test for a difference in proportions 11
A researcher compares two population proportions by posting an online poll in two public social-media groups and using whoever chooses to respond. The sample sizes are large and the success/failure counts are all large. Is the randomization condition for a two-sample z-test satisfied?

Hints

- Separate sample size from the way the data were collected. - Ask whether each member of the target populations had a random mechanism for selection. - A large sample can still be systematically biased.

Solution

1. The respondents were self-selected rather than obtained through independent random samples or randomized assignment. 2. Large sample sizes do not repair the lack of randomization. 3. Therefore, the randomization condition is not satisfied.

Answer

No. The samples are voluntary-response samples, not independent random samples or randomized treatment groups.
Hypothesis test for a difference in proportions 12
Two independent simple random samples are taken without replacement. Sample \(1\) has size \(70\) from a population of \(900\), and sample \(2\) has size \(140\) from a population of \(1200\). Does the \(10\%\) condition hold for a two-sample z-test?

Hints

- Compare each sample size with \(10\%\) of its own population. - Both population-size checks must pass. - Do not use the combined sample size for this condition.

Solution

1. For population \(1\), \(0.10(900)=90\), and \(70\le90\). 2. For population \(2\), \(0.10(1200)=120\), but \(140>120\). 3. The condition fails because it must hold for both samples.

Answer

No. It fails for sample \(2\) because \(140>120\).
Hypothesis test for a difference in proportions 13
For a two-sample z-test of \(H_0:p_1=p_2\), sample \(1\) has \(48\) successes out of \(80\) and sample \(2\) has \(52\) successes out of \(120\). Check the normality condition using the pooled proportion.

Hints

- For this hypothesis test, first combine the successes to estimate the common proportion under \(H_0\). - Use that pooled proportion to find expected successes and failures for each sample. - Check all four expected counts against the threshold.

Solution

1. The pooled proportion is \(\hat p_c=\frac{48+52}{80+120}=0.50\). 2. Under the null model, the expected successes and failures are \(80(0.50)=40\) and \(40\) for sample \(1\), and \(120(0.50)=60\) and \(60\) for sample \(2\). 3. All four expected counts are at least \(10\), so the normality condition holds.

Answer

Yes. The pooled expected counts are \(40\), \(40\), \(60\), and \(60\), all at least \(10\).
Hypothesis test for a difference in proportions 14
For a two-sample z-test of \(H_0:p_1=p_2\), sample \(1\) has \(4\) successes out of \(30\) and sample \(2\) has \(6\) successes out of \(40\). Does the pooled normality condition hold?

Hints

- Pool the observed successes before checking the test's expected counts. - Expected successes and failures are computed under the null model. - The condition fails if any required expected count is below the threshold.

Solution

1. The pooled proportion is \(\hat p_c=\frac{4+6}{30+40}=\frac{10}{70}\approx0.1429\). 2. The expected numbers of successes are \(30(0.1429)\approx4.29\) and \(40(0.1429)\approx5.71\). 3. These are below \(10\), so the pooled normality condition fails.

Answer

No. The pooled expected success counts are below \(10\) in both samples.
Hypothesis test for a difference in proportions 15
A randomized experiment assigns \(300\) participants equally to two treatments. Treatment \(1\) has \(90\) successes and treatment \(2\) has \(75\) successes. Verify the conditions for a two-sample z-test of equal success proportions.

Hints

- Separate design conditions from numerical normality conditions. - Use the pooled proportion because the null hypothesis assumes equal success proportions. - Decide whether a population-size condition is relevant to random assignment.

Solution

1. Random assignment satisfies the randomization condition. 2. The \(10\%\) condition is unnecessary for this randomized experiment. 3. The pooled proportion is \(\hat p_c=\frac{90+75}{300}=0.55\). 4. Each group has expected successes \(150(0.55)=82.5\) and expected failures \(150(0.45)=67.5\), all at least \(10\). 5. Therefore, the needed conditions are satisfied.

Answer

Yes. Randomization and pooled normality are satisfied, and no \(10\%\) check is needed for the randomized experiment.
Hypothesis test for a difference in proportions 16
A two-sample z-test based on equal sample sizes gives \(z=2.40\) when the statistic is defined as \(\hat p_1-\hat p_2\). If the same data are analyzed instead as \(\hat p_2-\hat p_1\), what is the new z statistic? Explain.

Hints

- Identify which part of the z statistic changes when the order of subtraction is reversed. - The pooled standard error uses the same two samples regardless of order. - Check whether the magnitude or only the sign should change.

Solution

1. Reversing the subtraction changes the observed difference from \(d\) to \(-d\). 2. The pooled standard error is unchanged because it does not depend on subtraction order. 3. Therefore, the z statistic changes sign from \(2.40\) to \(-2.40\).

Answer

\(z=-2.40\).
Hypothesis test for a difference in proportions 17
Under \(H_0:p_1=p_2\), the pooled proportion is \(\hat p_c=0.40\). The sample sizes are \(n_1=100\) and \(n_2=150\), and the observed difference is \(\hat p_1-\hat p_2=0.10\). Calculate the z test statistic. Round to three decimal places.

Hints

- The null difference is \(0\). - Use the pooled proportion already supplied to form the null standard error. - Standardize only after the pooled standard error is found.

Solution

1. The pooled standard error is \(\sqrt{0.40(0.60)(\frac{1}{100}+\frac{1}{150})}\). 2. This standard error is \(\sqrt{0.004}\approx0.06325\). 3. Therefore, \(z=\frac{0.10-0}{0.06325\ldots}\approx1.581\).

Answer

\(z\approx1.581\).
Hypothesis test for a difference in proportions 18
In a two-sample z-test of \(H_0:p_1=p_2\), the pooled standard error is \(0.050\) and the test statistic is \(z=2.00\). What observed value of \(\hat p_1-\hat p_2\) produced this test statistic?

Hints

- Work backward from the z-score definition. - The null difference is \(0\), so no additional shift is needed after rescaling. - Multiply rather than divide when undoing the standardization.

Solution

1. Under the null hypothesis, the standardized statistic is \(z=\frac{(\hat p_1-\hat p_2)-0}{SE}\). 2. Rearranging gives \(\hat p_1-\hat p_2=z(SE)\). 3. Thus \(\hat p_1-\hat p_2=2.00(0.050)=0.10\).

Answer

\(0.10\).
Hypothesis test for a difference in proportions 19
A two-sample z-test of \(H_0:p_1=p_2\) against \(H_a:p_1>p_2\) gives \(z=1.74\). Find the p-value. Round to four decimal places.

Hints

- The direction of the alternative determines which tail is used. - A positive z statistic with a greater-than alternative uses the right tail. - The p-value is an area under the standard normal curve, not the z statistic itself.

Solution

1. Because the alternative is \(p_1>p_2\), the p-value is the standard normal area to the right of \(1.74\). 2. \(P(Z\ge1.74)\approx0.0409\).

Answer

The p-value is approximately \(0.0409\).
Hypothesis test for a difference in proportions 20
A two-sample z-test of \(H_0:p_1=p_2\) against \(H_a:p_1>p_2\) gives \(z=1.25\). The graph shows the standard normal curve with the corresponding p-value region shaded. Find the p-value to four decimal places.
Figure for problem 550832

Hints

- Match the direction of the shaded tail to the greater-than alternative. - The boundary of the shaded region is the observed z statistic. - Use a standard normal table or calculator to find the area in that tail.

Solution

1. The greater-than alternative makes the p-value the area to the right of the observed z statistic. 2. Thus the p-value is \(P(Z\ge1.25)=1-\Phi(1.25)\approx0.1056\).

Answer

The p-value is approximately \(0.1056\).
Hypothesis test for a difference in proportions 21
The graph shows the p-value region for a two-sided two-sample z-test. Estimate the p-value to four decimal places.
Figure for problem 550835

Hints

- What would an equally extreme result with the opposite sign look like? - How could the bell curve's symmetry help you find the shaded area? - Read the marked z-score and work out what probability it represents in one tail.

Solution

1. For a two-sided test, the p-value includes both standard normal tails beyond \(-1.96\) and \(1.96\). 2. Each tail has area about \(0.0250\). 3. The total p-value is therefore about \(2(0.0250)=0.0500\).

Answer

The p-value is approximately \(0.0500\).
Hypothesis test for a difference in proportions 22
In independent random samples from two school districts, a two-sample z-test compares the population proportions of students who support a later start time. The hypotheses are \(H_0:p_1=p_2\) and \(H_a:p_1>p_2\). The p-value is \(0.041\). At the \(\alpha=0.05\) significance level, state the decision and write the conclusion in context.

Hints

- Compare the p-value directly with the stated significance level. - The decision concerns the null hypothesis; the conclusion should address the alternative. - Keep the conclusion about population proportions, not just the sampled students.

Solution

1. Compare the p-value with the significance level: \(0.041<0.05\). 2. Reject \(H_0\). 3. There is statistically significant evidence that the population proportion of students who support a later start time is greater in district \(1\) than in district \(2\).

Answer

Reject \(H_0\). There is statistically significant evidence at the \(0.05\) level that the support proportion is greater in district \(1\) than in district \(2\).
Hypothesis test for a difference in proportions 23
A food bank compares the proportions of volunteers at its warehouse and mobile pantry who return for another shift. The null hypothesis is \(H_0:p_W=p_M\). Why does the two-proportion z-test use one estimate from both groups for its standard error instead of using each group's sample proportion separately?

Hints

- If the null hypothesis were true, would the return rate depend on which team a volunteer belongs to? - Think about what both groups' results would tell you in that situation.

Solution

1. The null hypothesis says the true return proportions at the warehouse and mobile pantry are equal. 2. Under that assumption, both samples provide information about the same unknown proportion, so we combine their counts to estimate a single common proportion when calculating the test standard error.

Answer

Under \(H_0\), both groups have the same population proportion. Combining their data estimates that common proportion for the test standard error.
Hypothesis test for a difference in proportions 24
A two-sided test compares the proportions of students at two schools who support an outdoor classroom. The p-value is \(0.03\). Explain what this means if the schools really have equal population proportions. Also explain why it does not mean there is a \(3\%\) chance that the population proportions are equal.

Hints

- Begin by treating the null hypothesis as true, then think about outcomes from repeated samples. - Separate the probability of getting sample evidence from the probability that a hypothesis is true.

Solution

1. Assume the two schools have equal true support proportions. 2. If the study were repeated under that assumption, a sample difference at least as extreme as the one observed would occur about \(3\%\) of the time. 3. The p-value does not assign a \(3\%\) chance to the hypothesis being true.

Answer

If the population proportions were equal, sample results at least this unusual would occur about \(3\%\) of the time. This is not a \(3\%\) chance that the proportions are equal; the calculation assumes equality.
Hypothesis test for a difference in proportions 25
Ridgeview High and Harbor High compare the proportions of their students who bike to school. Let \(p_R\) and \(p_H\) be their population proportions. The shaded tail is the p-value region for a one-sided z-test of Ridgeview minus Harbor. Which alternative matches the shading: \(H_a:p_R<p_H\) or \(H_a:p_R>p_H\)? Explain what a sample difference in this tail would mean about biking at the two schools.
Figure for problem 563231

Hints

- Decide whether the shaded part represents unusually large or unusually small values of the difference. - Relate positive and negative values of the Ridgeview-minus-Harbor difference to the two population proportions. - In your explanation, distinguish what happened in the samples from the claim being tested about all students.

Solution

1. The shaded part is to the left of a negative z-score, so it represents evidence that the first proportion is smaller. 2. The matching alternative is \(H_a:p_R<p_H\). A difference in this tail means a smaller share of sampled Ridgeview students biked to school than sampled Harbor students. Such a result supports the claim that the Ridgeview population proportion is lower.

Answer

\(H_a:p_R<p_H\). The left tail represents unusually low Ridgeview-minus-Harbor sample differences: the proportion who bike is smaller in the Ridgeview sample than in the Harbor sample. This supports the claim that Ridgeview's population proportion is lower.
Hypothesis test for a difference in proportions 26
A grocery store compares use of its mobile app at its Oak Street and River Road locations. In a sample of \(30\) Oak Street customers, \(18\) use the app. In a sample of \(70\) River Road customers, \(20\) use it. Under the null hypothesis that the population proportions are equal, find the pooled sample proportion. Why is it not the average of the two sample proportions?

Hints

- How many sampled customers does each sample proportion represent? - How might a much larger sample affect a combined proportion? - Check whether the proposed estimate would describe all the sampled customers together.

Solution

1. The pooled estimate combines all successes and observations: \(\hat p_c=\frac{18+20}{30+70}=\frac{38}{100}=0.38\). 2. The sample proportions are \(\frac{18}{30}=0.60\) and \(\frac{20}{70}\approx0.2857\), whose simple average is about \(0.4429\). 3. That average gives equal weight to samples of different sizes; pooling counts each customer equally.

Answer

The pooled proportion is \(0.38\). The two sample sizes differ, so the pooled proportion weights each observation equally, rather than giving equal weight to the two samples.
Hypothesis test for a difference in proportions 27
Two school districts tested whether a text reminder helps students get to school, using separate randomized experiments. In Springfield, attendance was \(1\) percentage point higher with reminders, with a p-value of \(0.01\). In Fairhaven, attendance was \(8\) percentage points higher, with a p-value of \(0.12\). At \(\alpha=0.05\), which study gives convincing evidence that the reminders make a difference? Which study shows the larger observed increase? Why does a larger increase not always mean stronger evidence?

Hints

- Compare each p-value with the same significance cutoff. - Look at the reported changes in attendance separately from the p-values. - Consider why stronger evidence does not always mean a larger observed change.

Solution

1. Springfield's p-value is \(0.01<0.05\), giving statistically significant evidence that reminders affect attendance there. Fairhaven's p-value is \(0.12>0.05\), so that study does not give convincing evidence of an effect. 2. The observed increase is larger in Fairhaven: \(8\) percentage points versus \(1\) percentage point in Springfield. 3. A p-value depends on the observed effect compared with its sampling uncertainty, not on the size of the effect alone. Different sample sizes or amounts of variation can make a small increase measured precisely and a larger increase uncertain.

Answer

Springfield gives statistically significant evidence of an effect at \(\alpha=0.05\). Fairhaven has the larger observed increase, but its p-value does not give convincing evidence of an effect. A p-value also depends on sampling uncertainty, not just on the increase.
Hypothesis test for a difference in proportions 28
A two-sided test compares two population proportions. The observed z-score has a standard normal upper-tail area of \(0.018\) beyond its absolute value. Find the two-sided p-value. At \(\alpha=0.05\), reject or fail to reject \(H_0:p_1=p_2\)?

Hints

- Imagine a z-score that is equally far from zero but has the opposite sign. - What does the symmetry of the standard normal curve tell you about the areas beyond those two z-scores? - Which probability needs to be compared with the significance level to make the decision?

Solution

1. A two-sided test includes equally extreme results in both tails, so the p-value is \(2(0.018)=0.036\). 2. Since \(0.036<0.05\), reject \(H_0\).

Answer

The p-value is \(0.036\); reject \(H_0\) at \(\alpha=0.05\).
Hypothesis test for a difference in proportions 29
Eastgate High randomly samples \(120\) students to ask whether they eat school lunch; \(84\) say yes. Lakeview High independently samples \(180\) students; \(90\) say yes. Each sample is less than \(10\%\) of its school's students. Putri uses one pooled proportion to find the standard error for both a \(95\%\) confidence interval for \(p_E-p_L\) and a z-test of \(H_0:p_E=p_L\). Is her method correct for both? Find the standard error for each method. Explain the difference and round both values to four decimal places.

Hints

- Ask whether the confidence interval assumes the two population proportions are equal. - For the test, consider what the null hypothesis says about the two populations. - Use the observed counts to form the proportion appropriate for each standard error.

Solution

1. The sample proportions are \(\hat p_E=\frac{84}{120}=0.70\) and \(\hat p_L=\frac{90}{180}=0.50\). 2. The confidence interval does not assume equal population proportions, so it uses the unpooled standard error: \(SE_{\text{CI}}=\sqrt{\frac{0.70(0.30)}{120}+\frac{0.50(0.50)}{180}}\approx0.0560\). 3. Under the equality null hypothesis, both samples estimate one proportion. The pooled estimate is \(\hat p_c=\frac{84+90}{120+180}=\frac{174}{300}=0.58\). 4. The test uses \(SE_{\text{test}}=\sqrt{0.58(0.42)(\frac{1}{120}+\frac{1}{180})}\approx0.0582\). 5. Putri's pooled standard error is appropriate for the equality test but not for the confidence interval.

Answer

No. The confidence interval uses the unpooled standard error, \(0.0560\), while the equality test uses the pooled standard error, \(0.0582\). Pooling is justified by the test's null hypothesis, not by the confidence interval.
Hypothesis test for a difference in proportions 30
In a test of \(H_0:p_1=p_2\), sample \(1\) has \(78\) successes out of \(120\) and sample \(2\) has \(63\) successes out of \(140\). Find the pooled proportion and the pooled standard error. Round to four decimal places.

Hints

- Pool successes and total observations across both samples first. - The pooled standard error represents the null model of a common population proportion. - Keep the two sample-size reciprocals separate inside the final factor.

Solution

1. The pooled proportion is \(\hat p_c=\frac{78+63}{120+140}=\frac{141}{260}\approx0.5423\). 2. The null standard error is \(\sqrt{\hat p_c(1-\hat p_c)(\frac{1}{120}+\frac{1}{140})}\). 3. Substitution gives \(SE\approx0.0620\).

Answer

\(\hat p_c\approx0.5423\) and \(SE\approx0.0620\).
Hypothesis test for a difference in proportions 31
Sample \(1\) has \(112\) successes out of \(200\), and sample \(2\) has \(88\) successes out of \(200\). Conditions for a two-sample z-test are satisfied. For \(H_0:p_1=p_2\), calculate the z test statistic.

Hints

- Find the observed difference in sample proportions first. - Under the null hypothesis, estimate the common proportion by pooling the successes. - Standardize the observed difference using the pooled standard error.

Solution

1. \(\hat p_1=0.56\), \(\hat p_2=0.44\), and \(\hat p_1-\hat p_2=0.12\). 2. The pooled proportion is \(\hat p_c=\frac{112+88}{400}=0.50\). 3. The pooled standard error is \(\sqrt{0.50(0.50)(\frac{1}{200}+\frac{1}{200})}=0.05\). 4. Thus \(z=\frac{0.12-0}{0.05}=2.40\).

Answer

\(z=2.40\).
Hypothesis test for a difference in proportions 32
Sample \(1\) has \(75\) successes out of \(150\), and sample \(2\) has \(60\) successes out of \(150\). Conditions for inference are satisfied. For a test of \(H_0:p_1=p_2\) against \(H_a:p_1>p_2\), calculate the z test statistic. Round to three decimal places.

Hints

- The alternative direction affects the p-value later, not the formula for the z statistic. - Pool the successes because the null hypothesis assumes equal population proportions. - Standardize the observed sample difference relative to the null value \(0\).

Solution

1. The sample proportions are \(0.50\) and \(0.40\), so the observed difference is \(0.10\). 2. The pooled proportion is \(\frac{75+60}{300}=0.45\). 3. The pooled standard error is \(\sqrt{0.45(0.55)(\frac{1}{150}+\frac{1}{150})}\approx0.05745\). 4. Therefore, \(z=\frac{0.10}{0.05745\ldots}\approx1.741\).

Answer

\(z\approx1.741\).
Hypothesis test for a difference in proportions 33
Sample \(1\) has \(54\) successes out of \(100\), and sample \(2\) has \(72\) successes out of \(150\). Conditions for a two-sample z-test are satisfied. For \(H_0:p_1=p_2\), calculate the pooled proportion, pooled standard error, and z test statistic. Round to four decimal places.

Hints

- Compute both sample proportions before pooling the success counts. - The pooled proportion is used only in the null standard error. - Divide the observed difference by the pooled standard error after centering at the null difference.

Solution

1. The sample proportions are \(0.54\) and \(0.48\), so the observed difference is \(0.06\). 2. The pooled proportion is \(\hat p_c=\frac{54+72}{250}=0.5040\). 3. The pooled standard error is \(\sqrt{0.504(0.496)(\frac{1}{100}+\frac{1}{150})}\approx0.0645\). 4. The test statistic is \(z=\frac{0.06}{0.0645477\ldots}\approx0.9295\).

Answer

\(\hat p_c=0.5040\), \(SE\approx0.0645\), and \(z\approx0.9295\).
Hypothesis test for a difference in proportions 34
A two-sample z-test of \(H_0:p_1=p_2\) against \(H_a:p_1\ne p_2\) gives \(z=-2.10\). Find the p-value. Round to four decimal places.

Hints

- The not-equal alternative makes this a two-sided test. - Use the magnitude of the observed z statistic to identify equally extreme values in both tails. - Find one tail area and account for its symmetric counterpart.

Solution

1. A two-sided alternative requires probability in both tails at least as extreme as \(|z|=2.10\). 2. One tail has area \(P(Z\le-2.10)\approx0.01786\). 3. Doubling gives \(2(0.01786\ldots)\approx0.0357\).

Answer

The p-value is approximately \(0.0357\).
Hypothesis test for a difference in proportions 35
In a random sample of customers from each of two store chains, a two-sample z-test of \(H_0:p_1=p_2\) against \(H_a:p_1>p_2\) gives a p-value of \(0.032\), where \(p_1\) and \(p_2\) are the population proportions who would recommend the chains. Interpret this p-value in context.

Hints

- Begin the interpretation by assuming the null hypothesis is true. - Describe a probability about sample results, not a probability that either hypothesis is true. - Use the greater-than alternative to identify what “at least as extreme” means here.

Solution

1. A p-value is interpreted under the assumption that the null hypothesis is true. 2. If the two population recommendation proportions are equal, the probability of obtaining a sample difference \(\hat p_1-\hat p_2\) at least as large as the one observed, from random sampling alone, is about \(0.032\).

Answer

If the two population recommendation proportions are equal, there is about a \(3.2\%\) chance of obtaining a sample difference in favor of chain \(1\) at least as large as the observed difference from random sampling alone.
Hypothesis test for a difference in proportions 36
A two-sample z-test of \(H_0:p_1=p_2\) against \(H_a:p_1\ne p_2\) has p-value \(0.081\). Matías writes, “At \(\alpha=0.05\), we accept \(H_0\), so the two population proportions are equal.” Evaluate Matías's statement and give the correct conclusion.

Hints

- First compare the p-value with \(\alpha\). - Distinguish “fail to reject” from proving the null hypothesis. - Phrase the final statement in terms of the evidence for the alternative hypothesis.

Solution

1. Since \(0.081>0.05\), fail to reject \(H_0\). 2. Failing to reject a null hypothesis does not establish that it is true, so “accept \(H_0\)” and “the proportions are equal” are too strong. 3. The correct conclusion is that the data do not provide statistically significant evidence at the \(0.05\) level that the two population proportions differ.

Answer

Fail to reject \(H_0\). The data do not provide statistically significant evidence that the population proportions differ; they do not prove that the proportions are equal.
Hypothesis test for a difference in proportions 37
A two-sided two-sample z-test gives a p-value of \(0.032\). Determine the test decision at \(\alpha=0.05\) and at \(\alpha=0.01\). Then explain why the two decisions can differ even though the data are unchanged.

Hints

- Compare the same p-value separately with each significance level. - A smaller significance level demands stronger evidence before rejection. - Separate the numerical evidence from the rule used to make a decision from that evidence.

Solution

1. At \(\alpha=0.05\), \(0.032<0.05\), so reject \(H_0\). 2. At \(\alpha=0.01\), \(0.032>0.01\), so fail to reject \(H_0\). 3. The p-value summarizes the same evidence from the data in both cases. Changing \(\alpha\) changes the threshold required for rejection, so the decision can change without any change in the data.

Answer

Reject \(H_0\) at \(\alpha=0.05\), but fail to reject \(H_0\) at \(\alpha=0.01\). The evidence is unchanged; only the rejection threshold changes.
Hypothesis test for a difference in proportions 38
The graph shows the p-value region for a two-sample z-test and labels the observed z statistic. Is the graph consistent with \(H_a:p_1>p_2\) or with \(H_a:p_1\ne p_2\)? Find the p-value to four decimal places and state the decision at \(\alpha=0.05\).
Figure for problem 550840

Hints

- Use the number and location of shaded tails to identify the alternative direction. - Read the z boundary from the graph before finding the standard normal tail area. - Compare the resulting tail area with the stated significance level.

Solution

1. Only the right tail is shaded, so the graph represents the greater-than alternative \(H_a:p_1>p_2\). 2. The labeled boundary is \(z=2.05\), so the p-value is \(P(Z\ge2.05)\approx0.0202\). 3. Since \(0.0202<0.05\), reject \(H_0\).

Answer

The graph represents \(H_a:p_1>p_2\). The p-value is approximately \(0.0202\), so reject \(H_0\) at \(\alpha=0.05\).
Hypothesis test for a difference in proportions 39
The same two independent samples are used to construct a confidence interval for \(p_1-p_2\) and to test \(H_0:p_1=p_2\). Ananya says, “Because the data are the same, both procedures should use exactly the same standard error.” Explain why this is incorrect and identify the standard error used by each procedure.

Hints

- Ask what assumption about \(p_1\) and \(p_2\) is imposed by the null hypothesis. - A confidence interval estimates a difference without first setting that difference equal to zero. - Connect pooling to the model assumed while calculating the test statistic.

Solution

1. A confidence interval estimates the unknown difference without assuming that \(p_1=p_2\), so it estimates each population proportion separately. 2. Its standard error is \(\sqrt{\frac{\hat p_1(1-\hat p_1)}{n_1}+\frac{\hat p_2(1-\hat p_2)}{n_2}}\). 3. The hypothesis test is carried out under \(H_0:p_1=p_2\), so the null model treats the two population proportions as one common value. 4. Therefore the test uses the pooled estimate \(\hat p_c=\frac{x_1+x_2}{n_1+n_2}\) and standard error \(\sqrt{\hat p_c(1-\hat p_c)(\frac{1}{n_1}+\frac{1}{n_2})}\).

Answer

The confidence interval uses the unpooled standard error based on \(\hat p_1\) and \(\hat p_2\) separately. The test uses a pooled standard error because \(H_0\) assumes a common population proportion.
Hypothesis test for a difference in proportions 40
Two independent samples have \(62\) successes out of \(100\) and \(60\) successes out of \(120\). For testing \(H_0:p_1=p_2\), Daniela uses the unpooled standard error \(\sqrt{\frac{0.62(0.38)}{100}+\frac{0.50(0.50)}{120}}\). Explain the error and calculate the correct z statistic. Round to three decimal places.

Hints

- Ask what the null hypothesis assumes about the two population proportions. - Decide how that null assumption changes the way the sampling variability should be estimated. - After finding the null-model spread, standardize the observed difference and check the requested precision.

Solution

1. A test of \(H_0:p_1=p_2\) assumes one common population proportion under the null, so its null standard error must use a pooled estimate. 2. The pooled proportion is \(\hat p_c=\frac{62+60}{100+120}=\frac{122}{220}\approx0.5545\). 3. The pooled standard error is \(\sqrt{0.5545(1-0.5545)(\frac{1}{100}+\frac{1}{120})}\approx0.06730\). 4. The observed difference is \(0.62-0.50=0.12\), so \(z=\frac{0.12}{0.067296\ldots}\approx1.783\).

Answer

Daniela's error is using the confidence-interval, unpooled standard error in a null-hypothesis test. The correct pooled test statistic is \(z\approx1.783\).
Hypothesis test for a difference in proportions 41
The graph shows the p-value region for a one-sided two-sample z-test. Use the graph to determine whether the alternative is \(H_a:p_1<p_2\) or \(H_a:p_1>p_2\). Then find the p-value to four decimal places and state the decision at \(\alpha=0.05\).
Figure for problem 550844

Hints

- The shaded side of the standard normal curve tells you the direction of the alternative. - Read the observed z statistic from the labeled boundary of the shaded tail. - Compare the resulting tail area with \(0.05\) only after identifying the correct direction.

Solution

1. The shaded region is in the left tail, so the alternative is \(H_a:p_1<p_2\). 2. The graph labels the observed statistic as \(z=-1.65\). 3. The left-tail area is \(P(Z\le-1.65)\approx0.0495\). 4. Since \(0.0495<0.05\), reject \(H_0\).

Answer

The alternative is \(H_a:p_1<p_2\). The p-value is approximately \(0.0495\), so reject \(H_0\) at \(\alpha=0.05\).
Hypothesis test for a difference in proportions 42
Independent random samples of adults are taken from city A and city B. A two-sided two-sample z-test for the difference in the population proportions who support a proposed transit expansion gives a p-value of \(0.006\). At \(\alpha=0.05\), state the statistical conclusion and describe the appropriate scope of that conclusion.

Hints

- Use the p-value and significance level to make the test decision first. - Random sampling and random assignment support different kinds of conclusions. - Keep the inferential claim about the two population proportions measured by the survey.

Solution

1. Since \(0.006<0.05\), reject \(H_0:p_A=p_B\). 2. There is statistically significant evidence that the population proportions of adults who support the proposal differ between the two cities. 3. Because the samples were random, the inference can be generalized to the adult populations represented by the sampling processes. 4. The study does not impose a treatment, so the result does not establish that living in one city causes a person's opinion.

Answer

Reject \(H_0\). There is significant evidence that the two citywide support proportions differ. The random sampling supports generalization to the sampled populations, but the comparison does not establish causation.
Hypothesis test for a difference in proportions 43
A \(95\%\) confidence interval for \(p_1-p_2\) is \((0.012,\,0.108)\). Deniz says, “Because \(0\) is not in the interval, the standard pooled two-sample z-test of \(H_0:p_1=p_2\) at \(\alpha=0.05\) must reject without any further calculation.” Is that test decision guaranteed from this interval alone? Explain.

Hints

- Compare the standard-error formulas used for estimation and for testing equality. - Ask what extra assumption is imposed when the null hypothesis sets the two population proportions equal. - Decide whether two procedures with different standard errors must always give exactly matching boundaries.

Solution

1. The interval excludes \(0\), so the confidence interval itself supports a nonzero population difference at the \(95\%\) confidence level. 2. However, the usual two-sample z-interval uses an unpooled standard error based on \(\hat p_1\) and \(\hat p_2\) separately. 3. The standard z-test of \(H_0:p_1=p_2\) uses a pooled standard error based on the common proportion assumed under the null hypothesis. 4. Because those standard errors are not generally identical, the two procedures are not exact mathematical inverses. The pooled test statistic and p-value must be computed from the sample data to guarantee the test decision.

Answer

No. Excluding \(0\) supports a difference through the confidence-interval procedure, but it does not by itself guarantee the decision of the standard pooled two-sample z-test because the interval and test use different standard errors.
Hypothesis test for a difference in proportions 44
Two independent samples have \(66\) successes out of \(100\) and \(45\) successes out of \(90\). Conditions for a two-sample z-test are satisfied. Jakub writes: \(H_0:\hat p_1=\hat p_2\), \(H_a:\hat p_1\ne\hat p_2\) \(SE=\sqrt{\frac{0.66(0.34)}{100}+\frac{0.50(0.50)}{90}}\), so \(z\approx2.258\) and \(p\approx0.024\). “Because \(p<0.05\), accept \(H_a\); \(p_1\) is definitely larger than \(p_2\).” Identify and correct at least three errors. Then give the correct two-sided test statistic, p-value, and conclusion at \(\alpha=0.05\). Round \(z\) to three decimal places and the p-value to four decimal places.

Hints

- Check whether the hypotheses describe population parameters or observed sample statistics. - Ask what the equality assumption under the null changes about the standard-error model. - Separate the numerical decision from what a two-sided alternative allows you to conclude about direction and certainty. - Recheck each stage of the test against the stated null and alternative before comparing the p-value with \(\alpha\).

Solution

1. Hypotheses must be about the population parameters: \(H_0:p_1=p_2\) and \(H_a:p_1\ne p_2\), not about the sample proportions. 2. Under \(H_0\), use a pooled estimate rather than the unpooled confidence-interval standard error. The pooled proportion is \(\hat p_c=\frac{66+45}{100+90}=\frac{111}{190}\approx0.5842\). 3. The pooled standard error is \(\sqrt{\frac{111}{190}(1-\frac{111}{190})(\frac{1}{100}+\frac{1}{90})}\approx0.07161\). 4. The observed difference is \(0.66-0.50=0.16\), so \(z=\frac{0.16}{0.0716105\ldots}\approx2.234\). 5. For a two-sided test, the p-value is \(2P(Z\ge2.234\ldots)\approx0.0255\). 6. Since \(0.0255<0.05\), reject \(H_0\). The data provide statistically significant evidence that the two population proportions differ. The conclusion is not certainty, and a two-sided alternative does not state a pre-specified greater-than direction.

Answer

Corrections include using population parameters in the hypotheses, pooling for the null standard error, and replacing “accept” and “definitely” with an evidence-based conclusion. The correct results are \(z\approx2.234\) and p-value \(\approx0.0255\). Reject \(H_0\); there is significant evidence that \(p_1\ne p_2\).
Hypothesis test for a difference in proportions 45
A streaming service independently takes random samples of \(180\) subscribers from its Basic plan and \(180\) from its Premium plan. In the samples, \(117\) Basic subscribers and \(96\) Premium subscribers renewed for another year. Each sample is less than \(10\%\) of its plan's subscribers. Test at \(\alpha=0.05\) whether the population renewal proportion is greater for Basic than for Premium. Verify the inference conditions, state the hypotheses, calculate the test statistic and p-value, and give a conclusion in context. Round \(z\) to three decimal places and the p-value to four decimal places.

Hints

- Define the two population proportions before writing the hypotheses. - If the two population proportions were equal, what shared quantity would both samples help estimate? - Think about expected renewals and nonrenewals in each group under that assumption. - Use the claim being tested to choose the relevant tail, then state what your decision says about the two plans.

Solution

1. Let \(p_B\) and \(p_P\) be the population renewal proportions for Basic and Premium. Test \(H_0:p_B=p_P\) against \(H_a:p_B>p_P\). 2. The samples are random and independent, and each is less than \(10\%\) of its population. Under the null hypothesis, \(\hat p_c=\frac{117+96}{360}=\frac{213}{360}\approx0.5917\). Each group has \(180(\frac{213}{360})=106.5\) expected successes and \(180(\frac{147}{360})=73.5\) expected failures, so the normal condition is satisfied. 3. The sample proportions are \(\hat p_B=\frac{117}{180}=0.65\) and \(\hat p_P=\frac{96}{180}\approx0.5333\), giving an observed difference of about \(0.1167\). 4. The pooled standard error is \(\sqrt{\frac{213}{360}(1-\frac{213}{360})(\frac{1}{180}+\frac{1}{180})}\approx0.05181\). 5. The test statistic is \(z=\frac{0.65-0.5333\ldots}{0.0518113\ldots}\approx2.252\). 6. For the greater-than alternative, the p-value is \(P(Z\ge2.252\ldots)\approx0.0122\). 7. Since \(0.0122<0.05\), reject \(H_0\). There is statistically significant evidence that the population renewal proportion is greater for Basic than for Premium.

Answer

The samples are independent and random and meet the \(10\%\) rule. Under the null, each plan has \(106.5\) expected renewals and \(73.5\) expected nonrenewals, all at least \(10\). With \(H_0:p_B=p_P\) and \(H_a:p_B>p_P\), \(z\approx2.252\) and the p-value is approximately \(0.0122\). Reject \(H_0\); there is significant evidence that Basic has the greater population renewal proportion.
Hypothesis test for a difference in proportions 46
Suppose Pinebrook and Riverton each have more than \(10{,}000\) adults. Independent simple random samples ask whether residents support adding protected bike lanes. In Pinebrook, \(65\) of \(150\) say yes; in Riverton, \(85\) of \(150\) say yes. At \(\alpha=0.05\), test whether support is lower in Pinebrook. Check the conditions, calculate the pooled two-proportion z-test statistic and p-value, and give a conclusion about the city populations. Round the z-score and p-value to four decimal places.

Hints

- Define the two population proportions and keep Pinebrook minus Riverton in the same order throughout. - Before calculating, check the random sampling, population sizes, and expected yes/no counts under the null. - Under the claim that the population proportions are equal, what rate would the two samples be estimating? - Choose the tail that matches the alternative, then interpret the decision as evidence about population proportions.

Solution

1. Let \(p_P\) and \(p_R\) be the population support proportions. Test \(H_0:p_P=p_R\) against \(H_a:p_P<p_R\). 2. The samples are independently and randomly chosen, and each is below \(10\%\) of its city's adult population. With \(\hat p_c=\frac{65+85}{150+150}=0.50\), each sample has \(75\) expected yes responses and \(75\) expected no responses, meeting the large-counts condition. 3. The observed proportions are \(\hat p_P=\frac{65}{150}\) and \(\hat p_R=\frac{85}{150}\). The pooled standard error is \(SE=\sqrt{0.50(0.50)(\frac{1}{150}+\frac{1}{150})}\approx0.0577\). 4. The test statistic is \(z=\frac{\frac{65}{150}-\frac{85}{150}}{\sqrt{0.50(0.50)(\frac{1}{150}+\frac{1}{150})}}\approx-2.3094\). The left-tail p-value is approximately \(0.0105\). 5. Since \(0.0105<0.05\), reject \(H_0\). The samples give convincing evidence that a lower proportion of adults in Pinebrook supports protected bike lanes than in Riverton. The survey does not show why support differs.

Answer

The independent random samples meet the \(10\%\) rule. With pooled proportion \(0.50\), each sample has \(75\) expected yes responses and \(75\) expected no responses. For \(H_0:p_P=p_R\) and \(H_a:p_P<p_R\), \(z\approx-2.3094\) and the p-value is approximately \(0.0105\). Reject \(H_0\); the data support lower population support in Pinebrook than in Riverton.
Hypothesis test for a difference in proportions 47
A network of community centers randomly assigns \(2{,}000\) registered volunteers to receive one of two event reminders. Of the \(1{,}000\) volunteers sent a personalized reminder, \(610\) attend. Of the \(1{,}000\) sent a standard reminder, \(560\) attend. Assume one person's attendance does not affect another's. At \(\alpha=0.05\), test whether the reminders lead to different attendance proportions. Check the conditions, find the pooled z-score and two-sided p-value, and state what the result does and does not tell the centers about using personalized reminders. Round the z-score and p-value to four decimal places.

Hints

- The question asks whether the reminders differ, without choosing a direction first. What does that mean for the alternative and p-value? - Random assignment and random sampling are different study designs. Decide which conditions apply here. - Under equality, the two groups' attendance rates are estimates of what common quantity? - Keep the observed percentage-point difference separate from its statistical significance and from any cost decision.

Solution

1. Let \(p_P\) and \(p_S\) be attendance proportions under personalized and standard reminders. Test \(H_0:p_P=p_S\) against \(H_a:p_P\ne p_S\). 2. Random assignment makes the treatment groups comparable, and individual attendance is assumed independent. The pooled estimate is \(\hat p_c=\frac{610+560}{2000}=0.585\). Under the null, each group expects \(585\) attendees and \(415\) nonattendees, so the large-counts condition is met. The \(10\%\) sampling rule is not needed for random assignment. 3. The observed difference is \(0.610-0.560=0.050\). The pooled standard error is \(SE=\sqrt{0.585(0.415)(\frac{1}{1000}+\frac{1}{1000})}\approx0.0220\). 4. The test statistic is \(z=\frac{0.050}{\sqrt{0.585(0.415)(\frac{1}{1000}+\frac{1}{1000})}}\approx2.2691\). The two-sided p-value is approximately \(0.0233\). 5. Since \(0.0233<0.05\), reject \(H_0\). There is evidence that reminder type affects attendance for these volunteers. The observed difference is \(5\) percentage points, but the test alone does not show whether that improvement is worth the extra cost or would carry over to other groups.

Answer

Random assignment and the stated independence assumption apply. Under \(H_0:p_P=p_S\), the pooled expected counts in each group are \(585\) attendees and \(415\) nonattendees. For \(H_a:p_P\ne p_S\), \(z\approx2.2691\) and the two-sided p-value is approximately \(0.0233\). Reject \(H_0\). Reminder type appears to affect attendance among these volunteers; whether a \(5\)-percentage-point increase is worthwhile requires more information, and the result may not generalize to everyone.

All problems may be used, copied and printed free of charge for school and tutoring, including paid tutoring. Commercial adaptations as well as publication or redistribution on the internet are not permitted.