Skip to content

Confidence intervals for a proportion

Build a 95% confidence interval for a proportion from a survey of 400 customers and use it for a go or no-go decision.

It opens on

Of 400 customers surveyed, 148 would buy the new jacket. Is the plausible share of all customers about 36% to 38%, 32% to 42%, or 20% to 55%?

Why it matters

Launch, stock and pricing decisions hang on a share, such as the percent of customers who would buy, and a survey gives only an estimate with a margin that decides how firm the decision can be.

Good to know first

  • standard error of a proportion

Step by step

  1. Building the interval

    Compute and read a 95% interval for a proportion from p̂ = 0.37 and n = 400.

    For 95% confidence z* = 1.96, so the margin of error is 1.96 × 0.02414 = 0.0473, about 4.7 percentage points.

    margin = 1.96 × 0.02414 = 0.0473

    A common mix-up

    The interval says that between 32% and 42% of the sample would buy.

    In fact: The sample share is exactly 37%; the interval is a range for the share among all customers.

  2. The go or no-go decision

    Compare a confidence interval with a target to decide, and see how a smaller sample changes the verdict.

    For 400 customers the interval is 32.3% to 41.7%. Its lower limit, 32.3%, is above 30%, so even the low end of the plausible range clears the target. The decision is go.

    32.3% > 30%, go

    A common mix-up

    If the sample share is above the target, the true share must be too.

    In fact: The true share could be below the target if the interval reaches below it, as with the sample of 100.

  3. Confidence level and width

    Compute 90%, 95% and 99% intervals for the same survey and say how confidence trades against width.

    For 90% confidence z* = 1.645, so the margin is 1.645 × 0.02414 = 0.0397 and the interval is 33.0% to 41.0%.

    1.645 × 0.02414 = 0.0397

    A common mix-up

    A 99% interval is always the better choice because it is more confident.

    In fact: It is wider and may be too vague to decide anything, so the level balances certainty against precision.

Try it

In a survey of 500 orders, 60 were returned. Find p̂ and the 95% interval.Answer

p̂ = 0.12, SE = 0.0145, margin 0.0285, interval 0.0915 to 0.1485

Hint: p̂ ± 1.96 × SE

A survey of 300 gives p̂ = 0.28 and a 95% margin of 0.0508. The firm wants evidence the share is under 35%. Does the interval support that?Answer

The interval is 0.229 to 0.331, wholly under 0.35, so yes

Hint: Compare the upper limit with 35%

The same 37% comes from a survey of 1,000 customers. Find the 95% margin of error.Answer

SE = 0.0153 and margin 0.0299 (hint: 1.96 × √(p̂(1 − p̂) / n))

In a different survey of 250 customers, 100 say yes. What is p̂ and its standard error?Answer

p̂ = 0.40, SE = √(0.40 × 0.60 / 250) = 0.0310

With 100 customers, what should Harbor and Pine do if it wants a firm answer?Answer

Survey more customers, to narrow the interval, rather than launch on an unclear result

Confidence intervals for a proportion

30 minutes every month. No card.