Aimathic
Login | English | Deutsch

Free math worksheets

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

Confidence interval for a difference in proportions

Click problems to add them to your worksheet.

55078112
Two independent simple random samples are taken from two populations. The response is whether each person supports a proposal. The goal is to estimate \(p_1-p_2\), the difference in the two population support proportions. Name the appropriate confidence-interval procedure.

Hints

- Identify whether the response variable is categorical or quantitative. - Count how many populations are being compared and identify the parameter being estimated.

Solution

1. The response is binary, and the parameter is a difference between two population proportions. 2. The samples are independent, so the appropriate procedure is a two-sample z-interval for a difference between two population proportions.

Answer

A two-sample z-interval for the difference between two population proportions.
55078212
A school district takes independent random samples of juniors and seniors. Let \(p_J\) be the true proportion of all juniors who plan to attend a district event, and let \(p_S\) be the corresponding true proportion of all seniors. State the parameter that a confidence interval should estimate if the district wants juniors minus seniors.

Hints

- Use population proportions for the parameter, not sample proportions. - Preserve the order requested in the question.

Solution

1. The requested population comparison is juniors minus seniors. 2. Therefore, the parameter is \(p_J-p_S\).

Answer

\(p_J-p_S\), the true junior attendance proportion minus the true senior attendance proportion.
55078312
A two-sample z-interval is calculated from independent samples and is written as \((0.04,0.16)\) for group \(1\) minus group \(2\). Does this interval estimate \(\hat p_1-\hat p_2\) or \(p_1-p_2\)?

Hints

- Distinguish the statistic computed from the sample from the unknown parameter being estimated. - Confidence intervals are designed to estimate population quantities.

Solution

1. The sample difference \(\hat p_1-\hat p_2\) is the point estimate used to construct the interval. 2. The interval itself estimates the population parameter \(p_1-p_2\).

Answer

It estimates \(p_1-p_2\).
55078412
In a randomized experiment, \(200\) participants are randomly assigned to one of two treatments, and the response is success or failure. Does the randomization condition for a two-sample z-interval for a difference in proportions hold?

Hints

- The condition can be met through random sampling or through randomized treatment assignment. - Focus on how the treatment groups were formed.

Solution

1. A randomized experiment satisfies the randomization condition when treatments are randomly assigned to experimental units. 2. The problem states that assignment was random, so the condition holds.

Answer

Yes, the randomization condition holds.
55078512
Two independent simple random samples are taken without replacement. Sample \(1\) has \(n_1=80\) from a population of \(1200\), and sample \(2\) has \(n_2=90\) from a population of \(700\). Does the \(10\%\) condition hold for constructing a two-sample z-interval for \(p_1-p_2\)?

Hints

- Check each sample against its own population size. - The interval condition requires both samples to satisfy the population-size restriction. - Do not combine the two population sizes into one denominator.

Solution

1. For population \(1\), \(0.10(1200)=120\), and \(80\le120\). 2. For population \(2\), \(0.10(700)=70\), but \(90>70\). 3. Because the condition must hold for both populations, it fails overall.

Answer

No. It fails for population \(2\) because \(90>70\).
55078612
In sample \(1\), \(18\) of \(60\) individuals are successes. In sample \(2\), \(9\) of \(50\) individuals are successes. The samples are independent random samples from large populations. Does the normality condition hold for a two-sample z-interval for a difference in proportions?

Hints

- For an interval, use the observed successes and failures in each sample. - All four observed counts must meet the threshold. - One count below the threshold is enough for the condition to fail.

Solution

1. Sample \(1\) has \(18\) successes and \(42\) failures, both at least \(10\). 2. Sample \(2\) has \(9\) successes and \(41\) failures. 3. Because sample \(2\) has only \(9\) observed successes, the normality condition fails.

Answer

No. The condition fails because sample \(2\) has only \(9\) successes.
55078712
Independent simple random samples are taken from two large populations. In sample \(1\), \(44\) of \(100\) individuals are successes. In sample \(2\), \(63\) of \(120\) individuals are successes. Each sample is less than \(10\%\) of its population. Verify the conditions for constructing a two-sample z-interval for \(p_1-p_2\).

Hints

- Organize the check into randomization, population-size, and observed-count conditions. - For each sample, count both successes and failures. - The interval uses the separate observed counts rather than a pooled proportion.

Solution

1. Randomization holds because both samples are simple random samples and are independent. 2. The \(10\%\) condition is stated to hold for both populations. 3. The observed success and failure counts are \(44\), \(56\), \(63\), and \(57\), all at least \(10\). 4. Therefore, all conditions are satisfied.

Answer

All conditions for a two-sample z-interval are satisfied.
55078812
A randomized experiment assigns \(160\) volunteers to two treatments, \(80\) per treatment. Treatment \(1\) has \(52\) successes and treatment \(2\) has \(43\) successes. Which of the usual two-sample z-interval conditions need to be checked, and are they satisfied?

Hints

- Distinguish a randomized experiment from sampling without replacement. - Check the success and failure counts separately in both treatment groups. - Do not impose a population-size condition when the design does not require it.

Solution

1. Random assignment satisfies the randomization condition. 2. The \(10\%\) condition is not needed for a randomized experiment because sampling without replacement from a population is not the source of dependence. 3. The observed counts are \(52\) successes and \(28\) failures for treatment \(1\), and \(43\) successes and \(37\) failures for treatment \(2\); all are at least \(10\). 4. The needed conditions are satisfied.

Answer

Randomization and normality are satisfied; the \(10\%\) condition is unnecessary for this randomized experiment.
55078912
In an independent sample from group \(1\), \(84\) of \(120\) people are successes. In an independent sample from group \(2\), \(65\) of \(100\) people are successes. Find the point estimate for \(p_1-p_2\).

Hints

- Convert each success count to a sample proportion first. - Preserve the requested order when subtracting the two sample proportions. - The point estimate is a statistic, not yet a confidence interval.

Solution

1. \(\hat p_1=\frac{84}{120}=0.70\). 2. \(\hat p_2=\frac{65}{100}=0.65\). 3. The point estimate is \(0.70-0.65=0.05\).

Answer

\(0.05\).
55079012
Two independent samples give \(\hat p_1=0.60\) with \(n_1=100\) and \(\hat p_2=0.60\) with \(n_2=140\). Find the standard error used for a confidence interval for \(p_1-p_2\). Round to four decimal places.

Hints

- An interval standard error is unpooled. - Each sample contributes its own estimated variance term. - Add the variance terms before taking the square root.

Solution

1. For a confidence interval, use the two sample proportions separately. 2. \(SE=\sqrt{\frac{0.60(0.40)}{100}+\frac{0.60(0.40)}{140}}\). 3. Thus \(SE\approx0.0641\).

Answer

\(SE\approx0.0641\).
55079112
A two-sample z-interval for a difference in proportions uses a standard error of \(0.040\). Find the margin of error for a \(95\%\) confidence interval using \(z^*=1.96\).

Hints

- The margin of error is the half-width of the interval. - Use the supplied critical value with the standard error.

Solution

1. Margin of error equals the critical value times the standard error. 2. \(ME=1.96(0.040)=0.0784\).

Answer

\(0.0784\).
55079212
Two independent samples give \(\hat p_1=0.42\), \(n_1=200\), \(\hat p_2=0.34\), and \(n_2=200\). Find the point estimate and the standard error for a confidence interval for \(p_1-p_2\). Round the standard error to four decimal places.

Hints

- The point estimate comes from subtracting the two sample proportions. - The interval standard error uses the two sample proportions separately. - Keep the order consistent in both the statistic and its interpretation.

Solution

1. The point estimate is \(0.42-0.34=0.08\). 2. The standard error is \(\sqrt{\frac{0.42(0.58)}{200}+\frac{0.34(0.66)}{200}}\). 3. Thus \(SE\approx0.0484\).

Answer

Point estimate: \(0.08\). Standard error: \(0.0484\).
55079312
A confidence interval for \(p_1-p_2\) has point estimate \(0.08\) and margin of error \(0.06\). Write the interval.

Hints

- A confidence interval is point estimate plus or minus margin of error. - The point estimate should be the midpoint of the two endpoints.

Solution

1. Subtract the margin of error from the point estimate: \(0.08-0.06=0.02\). 2. Add the margin of error to the point estimate: \(0.08+0.06=0.14\).

Answer

\((0.02,0.14)\).
55079412
Two independent samples have \(96\) successes out of \(160\) in group \(1\) and \(75\) successes out of \(150\) in group \(2\). Conditions for a two-sample z-interval are satisfied. For a \(90\%\) confidence level, use \(z^*=1.645\). Find the point estimate, standard error, and margin of error. Round the last two values to four decimal places.

Hints

- Convert the counts to sample proportions before computing the interval quantities. - Use an unpooled standard error for a confidence interval. - Multiply the standard error by the supplied critical value only after finding the standard error.

Solution

1. The sample proportions are \(\hat p_1=0.60\) and \(\hat p_2=0.50\), so the point estimate is \(0.10\). 2. \(SE=\sqrt{\frac{0.60(0.40)}{160}+\frac{0.50(0.50)}{150}}\approx0.0563\). 3. \(ME=1.645(0.056273\ldots)\approx0.0926\).

Answer

Point estimate: \(0.10\). Standard error: \(0.0563\). Margin of error: \(0.0926\).
55079512
Two independent random samples each have size \(120\). Group \(1\) has \(78\) successes and group \(2\) has \(60\) successes. Conditions for inference are satisfied. Construct a \(95\%\) confidence interval for \(p_1-p_2\) using \(z^*=1.96\). Round endpoints to four decimal places.

Hints

- Begin with the difference in the two sample proportions. - The confidence-interval standard error is unpooled. - Form the two endpoints only after computing the margin of error.

Solution

1. \(\hat p_1=\frac{78}{120}=0.65\) and \(\hat p_2=\frac{60}{120}=0.50\), so the point estimate is \(0.15\). 2. \(SE=\sqrt{\frac{0.65(0.35)}{120}+\frac{0.50(0.50)}{120}}\approx0.0631\). 3. The margin of error is \(1.96(0.0630806\ldots)\approx0.1236\). 4. The interval is \(0.15\pm0.1236\), or approximately \((0.0264,0.2736)\).

Answer

\((0.0264,0.2736)\).
55079612
Independent random samples give \(105\) successes out of \(150\) in group \(1\) and \(96\) successes out of \(160\) in group \(2\). Conditions for inference are satisfied. Construct a \(90\%\) confidence interval for \(p_1-p_2\) using \(z^*=1.645\). Round endpoints to four decimal places.

Hints

- Calculate the sample proportions before writing the standard error. - Use the confidence-level critical value supplied in the problem. - Check that the point estimate lies at the midpoint of your final interval.

Solution

1. \(\hat p_1=0.70\), \(\hat p_2=0.60\), and the point estimate is \(0.10\). 2. \(SE=\sqrt{\frac{0.70(0.30)}{150}+\frac{0.60(0.40)}{160}}\approx0.0539\). 3. The margin of error is \(1.645(0.0538516\ldots)\approx0.0886\). 4. The interval is approximately \((0.0114,0.1886)\).

Answer

\((0.0114,0.1886)\).
55079712
Independent samples give \(\hat p_1=0.38\) with \(n_1=250\) and \(\hat p_2=0.31\) with \(n_2=300\). Conditions for inference are satisfied. Construct a \(99\%\) confidence interval for \(p_1-p_2\) using \(z^*=2.576\). Round endpoints to four decimal places.

Hints

- Use the difference in the two sample proportions as the point estimate. - A higher confidence level uses a larger critical value and therefore a wider interval. - Keep the standard error unpooled for an interval.

Solution

1. The point estimate is \(0.38-0.31=0.07\). 2. \(SE=\sqrt{\frac{0.38(0.62)}{250}+\frac{0.31(0.69)}{300}}\approx0.0407\). 3. The margin of error is \(2.576(0.0406866\ldots)\approx0.1048\). 4. The interval is approximately \((-0.0348,0.1748)\).

Answer

\((-0.0348,0.1748)\).
55079812
Independent samples give \(\hat p_1=0.56\), \(n_1=180\), \(\hat p_2=0.44\), and \(n_2=220\). Conditions for inference are satisfied. Construct a \(95\%\) confidence interval for \(p_1-p_2\) using \(z^*=1.96\). Round endpoints to four decimal places.

Hints

- Find the point estimate before calculating the margin of error. - Each sample proportion has its own variance contribution. - A final interval entirely above \(0\) is possible even when the margin of error is fairly large.

Solution

1. The point estimate is \(0.56-0.44=0.12\). 2. The unpooled standard error is approximately \(0.0499\). 3. The margin of error is \(1.96(0.0498888\ldots)\approx0.0978\). 4. The interval is approximately \((0.0222,0.2178)\).

Answer

\((0.0222,0.2178)\).
55079912
Independent samples give \(\hat p_1=0.28\), \(n_1=300\), \(\hat p_2=0.35\), and \(n_2=280\). Conditions for inference are satisfied. Construct a \(90\%\) confidence interval for \(p_1-p_2\) using \(z^*=1.645\). Round endpoints to four decimal places.

Hints

- The requested order can make the point estimate negative. - Apply the margin of error symmetrically around that negative point estimate. - Check that both endpoints have the expected order from smaller to larger.

Solution

1. The point estimate is \(0.28-0.35=-0.07\). 2. The standard error is \(\sqrt{\frac{0.28(0.72)}{300}+\frac{0.35(0.65)}{280}}\approx0.0385\). 3. The margin of error is approximately \(1.645(0.0385292\ldots)=0.0634\). 4. The interval is approximately \((-0.1334,-0.0066)\).

Answer

\((-0.1334,-0.0066)\).
55080012
Independent samples give \(\hat p_1=0.62\), \(n_1=200\), \(\hat p_2=0.52\), and \(n_2=200\). Conditions for inference are satisfied. Using \(z^*=1.96\), determine which interval shown in the graph is the correct \(95\%\) confidence interval for \(p_1-p_2\).
Figure for problem 550800

Hints

- Compute the numerical interval before comparing it with the displayed choices. - The correct graph must have midpoint \(0.10\). - Its half-width should equal the calculated margin of error.

Solution

1. The point estimate is \(0.62-0.52=0.10\). 2. \(SE=\sqrt{\frac{0.62(0.38)}{200}+\frac{0.52(0.48)}{200}}\approx0.0493\). 3. The margin of error is approximately \(1.96(0.0493)=0.0965\). 4. The interval is approximately \((0.0035,0.1965)\), which corresponds to interval B in the graph.

Answer

Interval B.
55080112
Independent random samples of employees from two large companies produce a \(95\%\) confidence interval of \((0.03,0.11)\) for \(p_1-p_2\), where \(p_i\) is the true proportion of employees at company \(i\) who prefer a hybrid schedule. Interpret the interval in context.

Hints

- Refer to the two population proportions, not just the sample proportions. - Translate the positive endpoints into a directional comparison. - Include the confidence level and the context of the response variable.

Solution

1. The interval estimates the population difference \(p_1-p_2\), not a difference limited to the sampled employees. 2. We are \(95\%\) confident that company \(1\)'s true proportion is between \(0.03\) and \(0.11\) greater than company \(2\)'s true proportion.

Answer

We are \(95\%\) confident that the true proportion preferring a hybrid schedule is between \(3\) and \(11\) percentage points higher at company \(1\) than at company \(2\).
55080212
A \(95\%\) confidence interval for \(p_1-p_2\) is \((-0.14,-0.04)\), where \(p_1\) and \(p_2\) are the true proportions of customers who would recommend two different services. Interpret the interval in context.

Hints

- Interpret the sign before translating the size of the difference. - A negative value of \(p_1-p_2\) means population \(1\) has the smaller proportion. - State the conclusion about population proportions in context.

Solution

1. Both endpoints are negative, so \(p_1\) is estimated to be smaller than \(p_2\). 2. The difference \(p_1-p_2\) is estimated to be between \(-0.14\) and \(-0.04\). 3. Equivalently, service \(1\)'s recommendation proportion is estimated to be between \(4\) and \(14\) percentage points lower than service \(2\)'s.

Answer

We are \(95\%\) confident that the true recommendation proportion for service \(1\) is between \(4\) and \(14\) percentage points lower than that for service \(2\).
55080312
A researcher repeatedly takes independent random samples of the same sizes from the same two populations and constructs a \(90\%\) confidence interval for \(p_1-p_2\) each time. Explain what the \(90\%\) confidence level means.

Hints

- Think about repeating the entire sampling-and-interval procedure many times. - The population parameter is fixed; the interval endpoints change from sample to sample. - Interpret the percentage as a long-run capture rate for the method.

Solution

1. The confidence level describes the long-run performance of the interval-producing method. 2. In repeated sampling, approximately \(90\%\) of the intervals constructed by this method will contain the fixed population difference \(p_1-p_2\).

Answer

Over many repetitions of the sampling process, about \(90\%\) of the resulting intervals will capture the true value of \(p_1-p_2\).
55080412
After computing a \(95\%\) confidence interval of \((0.02,0.18)\) for \(p_1-p_2\), a student says, “There is a \(95\%\) probability that \(p_1-p_2\) is between \(0.02\) and \(0.18\).” Explain what is wrong with this statement and give a correct interpretation.

Hints

- Decide which quantity is fixed and which quantities would change under repeated sampling. - The confidence percentage describes the procedure that generated the interval. - Rewrite the conclusion using “we are confident” rather than assigning a post-data probability to the parameter.

Solution

1. In the usual frequentist interpretation, \(p_1-p_2\) is a fixed but unknown parameter after the populations are defined. 2. The \(95\%\) refers to the long-run success rate of the interval method, not to a probability assigned to the fixed parameter after this interval is computed. 3. A correct statement is that we are \(95\%\) confident that the interval from \(0.02\) to \(0.18\) contains the true difference \(p_1-p_2\).

Answer

The probability statement is not the standard frequentist interpretation. We are \(95\%\) confident that \((0.02,0.18)\) contains the true population difference \(p_1-p_2\).
55080512
The graph shows three confidence intervals for three different population differences, each defined as group \(1\) minus group \(2\). Which intervals provide convincing evidence that the two population proportions differ? For each such interval, state which population has the larger proportion.
Figure for problem 550805

Hints

- Use \(0\) as the reference value for “no difference.” - An interval entirely on one side of \(0\) gives a direction for the difference. - Keep the sign convention group \(1\) minus group \(2\) in mind.

Solution

1. Interval A lies entirely above \(0\), so it provides evidence that \(p_1>p_2\). 2. Interval B contains \(0\), so it does not provide convincing evidence of a difference. 3. Interval C lies entirely below \(0\), so it provides evidence that \(p_1<p_2\).

Answer

Intervals A and C provide evidence of a difference. A supports \(p_1>p_2\); C supports \(p_1<p_2\). B does not show a convincing difference.
55080612
A \(95\%\) confidence interval for \(p_1-p_2\) is \((-0.02,0.09)\). Researcher A says the interval proves that \(p_1=p_2\). Researcher B says it proves that \(p_1>p_2\). Evaluate both statements.

Hints

- Identify every type of difference represented inside the interval: negative, zero, and positive. - “Not enough evidence of a difference” is not the same as “proof of equality.” - Confidence intervals support ranges of plausible parameter values rather than exact proofs.

Solution

1. The interval contains \(0\), so equality is a plausible value for the population difference. 2. The interval also contains negative and positive differences. 3. Therefore, the data do not provide convincing evidence of either direction, but including \(0\) does not prove exact equality.

Answer

Both statements are too strong. The interval does not provide convincing evidence that either proportion is larger, and it does not prove that the proportions are exactly equal.
55080712
A \(95\%\) confidence interval for \(p_1-p_2\) is \((0.01,0.07)\). A researcher claims that \(p_1\) exceeds \(p_2\) by at least \(0.05\). What does the interval support about this claim?

Hints

- Compare the claim's threshold with every plausible value in the interval. - Evidence that a difference is positive is weaker than evidence that it exceeds a particular positive amount. - Use the lower endpoint to evaluate a “at least” claim.

Solution

1. Because the entire interval is above \(0\), the interval supports the conclusion that \(p_1>p_2\). 2. However, the interval contains values such as \(0.01\), \(0.02\), and \(0.04\), which are below \(0.05\). 3. Therefore, the interval does not support the stronger claim that the difference is at least \(0.05\).

Answer

The interval supports \(p_1>p_2\), but it does not support the claim that \(p_1-p_2\ge0.05\).
55080812
The graph shows a confidence interval for \(p_1-p_2\). Use the displayed endpoints to recover the point estimate and the margin of error.
Figure for problem 550808

Hints

- The point estimate lies halfway between the two endpoints. - The margin of error is the interval's half-width. - Use the scale on the horizontal axis rather than estimating from the segment length alone.

Solution

1. The endpoints shown are \(-0.04\) and \(0.12\). 2. The point estimate is the midpoint: \(\frac{-0.04+0.12}{2}=0.04\). 3. The margin of error is the distance from the midpoint to either endpoint: \(0.12-0.04=0.08\).

Answer

Point estimate: \(0.04\). Margin of error: \(0.08\).
55080912
Independent samples have \(72\) successes out of \(120\) in group \(1\) and \(48\) successes out of \(100\) in group \(2\). Conditions for inference are satisfied. A student pools the two sample proportions when constructing a \(95\%\) confidence interval for \(p_1-p_2\). Explain the error, then calculate both the correct unpooled interval and the student's pooled interval using \(z^*=1.96\). Round endpoints to four decimal places.

Hints

- Ask whether an interval-construction problem assumes the two population proportions are equal. - Compare the role of pooling in a null-hypothesis test with the role of estimation in a confidence interval. - A small numerical difference between methods does not make an unjustified method valid.

Solution

1. The sample proportions are \(0.60\) and \(0.48\), so the point estimate is \(0.12\). 2. A confidence interval does not assume \(p_1=p_2\), so its standard error is unpooled: \(SE=\sqrt{\frac{0.60(0.40)}{120}+\frac{0.48(0.52)}{100}}\approx0.0671\). 3. The correct interval is \(0.12\pm1.96(0.067052\ldots)\approx(-0.0114,0.2514)\). 4. The pooled proportion is \(\hat p_c=\frac{72+48}{120+100}\approx0.5455\), giving a pooled standard error of approximately \(0.0674\). 5. The student's pooled interval is approximately \((-0.0121,0.2521)\). Although numerically close here, it is based on the wrong model for estimation.

Answer

The correct interval is approximately \((-0.0114,0.2514)\). The pooled interval is approximately \((-0.0121,0.2521)\), but pooling is inappropriate for a confidence interval.
55081012
Intervals A and B in the graph were constructed from the same two samples for \(p_1-p_2\), but one is a \(90\%\) confidence interval and the other is a \(99\%\) confidence interval. Identify which is which. Then explain why the two confidence levels lead to different conclusions about whether \(p_1>p_2\).
Figure for problem 550810

Hints

- Intervals from the same data share a common midpoint but differ in width. - Higher confidence requires a wider interval when the data are fixed. - Use whether \(0\) is included to connect each interval to a claim about a difference.

Solution

1. Both intervals have midpoint \(0.06\), so they are consistent with the same point estimate. 2. Interval B is wider, so B is the \(99\%\) confidence interval and A is the \(90\%\) confidence interval. 3. Interval A lies entirely above \(0\), so at the \(90\%\) level it supports \(p_1>p_2\). 4. Interval B includes \(0\), so at the \(99\%\) level the data do not provide convincing evidence that \(p_1>p_2\). 5. Greater confidence requires a larger critical value and margin of error, which can change whether \(0\) is included.

Answer

A is the \(90\%\) interval and B is the \(99\%\) interval. A supports \(p_1>p_2\); B includes \(0\), so it does not support that conclusion at the higher confidence level.

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.