Memra

Two proportions: pooled test, unpooled interval

◈ 7 cards

To test p₁ = p₂ pool the counts into p̂_c and use SE = √(p̂_c(1 − p̂_c)(1/n₁ + 1/n₂)); to estimate p₁ − p₂ keep each p̂ in its own variance term — variances add, as in Module 11.

Two samples, two proportions

With independent samples of sizes and giving and , Module 11’s rule applies unchanged: the estimator has mean and a variance that adds,

What goes into that variance depends, once again, on whether a null value is available.

The test. says the two samples come from populations with the same proportion, call it . The best estimate of that common value pools the counts:

The interval. An interval for assumes nothing about equality, so each estimates its own variance:

Worked example — default rates in two regions

Grand River Credit reviews consumer loans in two regions. Region 1: 80 defaults in 400 loans, . Region 2: 45 in 300, . Do the default rates differ? .

Step 1. , . Two-sided.

Step 2. .

Step 3. Two-sided at 5 %: . p-value: (R, with the unrounded : 0.0874).

Step 4. ; : do not reject at 5 %. There is insufficient evidence that the default rates differ between the regions.

The 95 % interval. Unpooled SE:

With 95 % confidence, region 1’s default rate is between 0.6 points lower and 10.6 points higher than region 2’s. The interval straddles zero — consistent with the test, and more informative: the difference could plausibly be as large as ten points, which a lender would care about, and the samples are too small to pin it down.

Why two different SEs

The test’s SE is computed under , and says the proportions are equal — so one pooled estimate of the shared is the right input, exactly as was in L12.3. The interval makes no such assumption. The two SEs are close here (0.0293 vs 0.0287) because and are close; they diverge when the proportions or the sample sizes differ a lot. Write the pooled one in the test and the unpooled one in the interval, and say why in one clause: pooled because asserts a common .

Conditions for both: at least five successes and five failures in each sample — 80, 320, 45, 255. Fine.

Test of p₁ = p₂Interval for p₁ − p₂SE formula√(p̂_c(1 − p̂_c)(1/n₁ +1/n₂))√(p̂₁(1 − p̂₁)/n₁ + p̂₂(1 −p̂₂)/n₂)which p̂pooled p̂_c = 125/700each sample’s ownwhyH₀ asserts one common pnothing is assumedGrand River0.02930.0287z = 0.05/0.0293 = 1.71 (p = 0.087); interval 0.05 ± 1.96 × 0.0287 = (−0.0063, 0.1063).
Same data, two SEs. The test lives under H₀ and pools; the interval assumes nothing and keeps each p̂ separate.
NORMAL ~/memra/learn/afm-113/two-proportions-pooled-test-unpooled-interval utf-8 LF