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 5 of 6

Predict differences between sample proportions

Start from known population probabilities to derive the center, variability and approximate shape of a repeated-sampling difference.

Loading your saved responses…

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

Try

Two synthetic production processes have known success probabilities 0.8 and 0.6. Independently observe 100 outcomes from A and 150 from B. A success is coded 1 and a failure 0. Before observing anything, predict the difference between the two sample success proportions.

There are three objects to keep separate. A population model gives probabilities for individual outcomes. A sample is one realized list of outcomes. A sampling distribution describes a statistic over repeated samples generated by the same design. The statistic here is D = p̂A − p̂B; a hat marks a sample proportion. Its center need not equal each observed difference.

Predict

Predict whether doubling both sample sizes changes the center, halves the standard deviation, or does something else. Write your prediction before looking at the graph. Also decide whether subtracting two proportions means subtracting their variances. A variance cannot be negative, which is already a useful check on a proposed rule.

Experiment

For independent Bernoulli outcomes, E(p̂) = p and Var(p̂) = p(1−p)/n. Thus E(D) = 0.8−0.6 = 0.2. Independence between the two samples gives

Var(D) = 0.8·0.2/100 + 0.6·0.4/150 = 0.0016 + 0.0016 = 0.0032.

The standard deviation is √0.0032 ≈ 0.05657. Doubling both sizes halves the variance to 0.0016 and changes the standard deviation to 0.04. It divides spread by √2, not by 2.

Normal approximations for independent proportion differencesBoth curves have center 0.2. The solid curve has standard deviation 0.05657; the dashed curve has standard deviation 0.04000. Both use the same horizontal and density scales.011-0.050.0750.20.3250.45Sample differenceDensity (shared scale: 0 to 11)
Normal approximations for independent proportion differences. Solid: original sizes; dashed: larger sizes. The curves share axes; taller means more concentrated, not more total probability. Each full density has area 1; the drawing shows a finite window.
DesignCenterVarianceStandard deviation
100 from A, 150 from B0.20.0032about 0.05657
200 from A, 300 from B0.20.00160.04

Inspect the shared horizontal axis. Mark the interval from 0.12 to 0.28 and explain why the larger-sample curve assigns more probability to it. These are normal approximation curves. Actual finite-sample proportions and their difference take discrete values; the drawing does not turn them into continuous measurements.

Understand

Why add variances for a difference? After centering U and V, expand the square of (U−EU)−(V−EV). Its expected square is Var(U)+Var(V)−2Cov(U,V). Covariance is the average product of centered deviations. Independence makes that product average zero. The minus sign on V is squared in its own variance term.

The expected success/failure counts are 80/20 and 90/60. All four exceed the usual large-count check of 10, supporting a normal approximation here. Standardizing 0.28 gives z = (0.28−0.2)/√0.0032 = √2. With the supplied normal CDF value Φ(√2) ≈ 0.92135, P(D > 0.28) ≈ 0.07865. Φ gives area to the left; the requested upper tail requires subtraction from 1. This exercise supplies the CDF rather than teaching calculator navigation.

Check design separately from counts. Independent Bernoulli trials give the variance above exactly. Simple random sampling without replacement from a fixed population of size N has variance p(1−p)/n multiplied by (N−n)/(N−1). Here p is the fixed population fraction. Sampling at most 10% supports ignoring this correction approximately; it does not make the draws literally independent. Independently choosing the two groups is a separate requirement.

Apply

Suppose the observed successes are 78 and 93. The realized proportions are 0.78 and 0.62, giving difference 0.16. Compare three calculations before deciding which belongs in a report:

QuestionVariance calculation
Known model used above0.8·0.2/100 + 0.6·0.4/150 = 0.0032
Estimate uncertainty for a difference interval0.78·0.22/100 + 0.62·0.38/150 ≈ 0.003286667
Test a null of equal probabilities0.684·0.316·(1/100+1/150) = 0.0036024

The pooled estimate 0.684 is 171 successes out of 250. Pooling here imposes equality under the null. An interval estimates two potentially different probabilities separately. Standard errors are the square roots of these variance estimates. Neither estimated formula replaces stipulated population parameters in a known-model sampling question.

Now consider paired before/after indicators with joint probabilities 0.4 for (1,1), 0.3 for (1,0), 0.1 for (0,1), and 0.2 for (0,0). Derive the marginal probabilities 0.7 and 0.5, then covariance 0.4−0.7·0.5 = 0.05. For n independent people the mean paired difference has variance (0.21+0.25−0.10)/n = 0.36/n. The independent-column answer 0.46/n ignores pairing; subtracting variances would even give a negative answer. The independent unit is a person, not a column entry.

Continue

For each practice response, name the random statistic, its population parameters, and the sampling design before calculating. State whether a probability uses an exact distribution or a normal approximation. Larger samples reduce random spread under the model; they do not repair selection bias or missing pairing information. The next lesson carries these distinctions to quantitative measurements and mean differences.

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.

Independent Bernoulli samples have known population probabilities pA=0.7 and pB=0.4. What is the mean of D=p̂A−p̂B?

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

Independent Bernoulli samples have pA=0.6,nA=60,pB=0.5,nB=100. Find Var(p̂A−p̂B), not its standard deviation.

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

Independent Bernoulli samples use pA=0.7,pB=0.3,nA=nB=84. Check the four expected counts and use a normal approximation to estimate P(p̂A−p̂B>0.5). Use Φ(√2)≈0.92135; no continuity correction is requested.

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.

Two independent simple random samples without replacement contain 84 of 700 items from population A and 84 of 4000 from population B. Known probabilities are 0.7 and 0.3. Does the usual 10% approximation check pass for both samples? Explain how an exact finite-population variance differs, even though the samples are independent of each other.

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.

For each independently selected person, binary before/after indicators X,Y have joint probabilities P(1,1)=0.4,P(1,0)=0.3,P(0,1)=0.1,P(0,0)=0.2. For n independent people, derive Var(X̄−Ȳ). Explain why treating the two columns as independent samples fails.

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.

A known-population planning model has pA=0.8,pB=0.6,nA=100,nB=150. One realized sample has 78 and 93 successes. State the variance formula for the known sampling model, the usual estimated variance for a difference confidence interval, and the pooled estimated variance for a test of equal proportions. Explain why they answer different questions.

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.