Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 8 of 18

Estimate a difference without pooling it away

Use separate group variance estimates for an interval.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

Two independent samples measure a binary outcome: 90 of 150 observations succeed in group 1 and 60 of 150 in group 2. Define p1 and p2 before subtracting. The estimate p̂1−p̂2=0.6−0.4=0.2 means a 20-percentage-point difference in this chosen orientation. Reversing the groups reverses its sign.

Predict

Predict whether estimating a difference should assume the two population proportions are equal. That would impose the very relationship the interval is meant to investigate. Also predict whether two measurements on the same person satisfy an independent-groups assumption merely because they appear in separate columns.

Experiment

For these original synthetic groups, the estimated variance of the difference is 0.6·0.4/150+0.4·0.6/150=0.0032. Its square root is approximately 0.056569. Using supplied z*=1.96 gives margin about 0.110874 and interval [0.089126,0.310874].

GroupSuccessesFailuresEstimated variance contribution
190600.0016
260900.0016

Check all four counts, then write a sentence about p1−p2. If the study was observational, the interval describes a population difference under the sampling assumptions rather than automatically a treatment effect.

Understand

For independent groups, the usual approximate interval is (p̂1−p̂2) ± z*√[p̂1(1−p̂1)/n1+p̂2(1−p̂2)/n2]. The two terms estimate separate group variances. There is no pooled probability because interval estimation does not assume p1=p2. The standard error concerns the difference of proportions, not either individual group’s count.

Check representative random sampling or an appropriate experimental design, independence within and between groups, and sufficiently large observed success and failure counts in each group. The familiar at-least-10 guideline is an approximation check. A sampling-fraction condition may support approximate independence for sampling without replacement from large populations, but clustering and pairing need their own treatment.

A difference interval is oriented: if [L,U] estimates p1−p2, then [−U,−L] estimates p2−p1. Negating endpoints without reversing their order produces a malformed interval. Name the groups in the conclusion so a positive number cannot be mistaken for the opposite comparison.

For paired binary data, such as the same people’s responses before and after, this formula generally omits important dependence. The difference variance includes covariance, and an appropriate paired categorical method uses the paired structure. Matching sample sizes does not make the groups independent. Do not apply a paired t method to two proportions simply because the word paired appears; identify the actual response and target.

Sparse data or estimates near boundaries can make simple normal difference intervals unreliable. Alternative interval methods exist, but changing methods requires a justified rule rather than clipping endpoints after an inconvenient result. Keep precision, design validity and practical relevance separate in the final interpretation.

Apply

Draw the difference interval on a line with zero marked. Explain whether the reported range supports a direction, whether it establishes a useful magnitude, and which population or study setting it concerns. Then reverse the group order and verify that your substantive statement remains unchanged despite the new signs.

Continue

Next test the specific null of equal population proportions. That null justifies a common probability estimate for the reference distribution, unlike this interval.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

Group A has 60 successes of 100 and B has 40 of 100. Find p̂A−p̂B.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

For an appropriate difference interval, estimate=0.12, supplied SE=0.04 and z*=1.96. Find the margin of error.

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

A usual two-proportion difference confidence interval uses:

Your response

The same people answer a binary question before and after an intervention. Are their two proportions independent?

Your response

Independent representative groups have 50/100 and 72/120 successes. Estimate p1−p2 with a 95% interval using z*=1.96. Show the unpooled SE and approximate bounds.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Explain how reversing the group order changes a difference interval [−0.18,−0.02].

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.