impera Open Impera

AP Statistics · Sampling distributions

Sampling distributions for proportions

1The sample proportion

For a categorical variable, the sample proportion is

$$\hat{p} = \frac{X}{n} = \frac{\text{number of successes}}{\text{sample size}}$$

It estimates the population proportion $p$. Different samples give different $\hat{p}$ values; their distribution is the sampling distribution of $\hat{p}$.

Check yourself

In a sample of 200 voters, 116 support a candidate. p̂ =

  • 0.42

  • 0.116

  • 116

  • 0.58

Show the answer

0.58

116/200.

2Centre, spread and shape

For random samples of size $n$ from a population with proportion $p$:

  • Mean: $\mu_{\hat{p}} = p$ (unbiased).
  • Standard deviation: $\sigma_{\hat{p}} = \sqrt{\frac{p(1 - p)}{n}}$, valid when the 10% condition holds ($n \le 10\%$ of the population).
  • Shape: approximately normal if the Large Counts condition holds: $np \ge 10$ and $n(1 - p) \ge 10$.
Worked example

30% of a town's residents cycle to work. Samples of $n = 150$.

  1. Mean $0.30$; SD $\sqrt{\frac{0.3 \times 0.7}{150}} \approx 0.0374$.
  2. Large counts: $150(0.3) = 45 \ge 10$ and $150(0.7) = 105 \ge 10$: approximately normal.

Sampling distribution of p̂ for n = 150 cyclists when p = 0.30

Check yourself

For p = 0.5 and n = 100, the SD of p̂ is:

  • 0.025

  • 0.5

  • 0.05

  • 0.25

Show the answer

0.05

√(0.25/100).

3Calculating probabilities

Worked example (continued): find $P(\hat{p} > 0.36)$.

  1. $z = \frac{0.36 - 0.30}{0.0374} \approx 1.60$.
  2. $P(Z > 1.60) \approx 0.055$.
  3. Interpretation: about 5.5% of samples of 150 would have more than 36% cyclists.
Worked example

a company claims 8% of its products are defective. In a sample of 400, 44 are defective ($\hat{p} = 0.11$).

  1. SD $= \sqrt{\frac{0.08 \times 0.92}{400}} \approx 0.0136$.
  2. $z = \frac{0.11 - 0.08}{0.0136} \approx 2.21$; $P(\hat{p} \ge 0.11) \approx 0.014$.
  3. Such a high proportion would be unusual if the claim were true, which casts doubt on the claim.
Check yourself

If the Large Counts condition fails, the sampling distribution of p̂ is:

  • Not approximately normal

  • Unchanged

  • Uniform

  • Exactly normal

Show the answer

Not approximately normal

It may be skewed.

4Differences in proportions

For independent random samples from two populations:

  • $\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2$
  • $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\frac{p_1(1 - p_1)}{n_1} + \frac{p_2(1 - p_2)}{n_2}}$ (variances add)
  • Approximately normal if the large counts condition holds for both samples.
Worked example

$p_1 = 0.6$, $n_1 = 100$; $p_2 = 0.5$, $n_2 = 120$.

  1. Mean $0.10$; SD $\sqrt{0.0024 + 0.00208} \approx 0.0669$.
Check yourself

The SD of p̂₁ − p̂₂ uses:

  • The sum of the two variances

  • The larger SD only

  • The difference of the two SDs

  • The difference of the two variances

Show the answer

The sum of the two variances

Variances add.

5Going deeper: conditions, calculations and comparing two proportions

A parameter describes a population (p, the true proportion); a statistic describes a sample ($\hat{p}$, the sample proportion). The statistic varies from sample to sample; its sampling distribution describes that variation.

For the sample proportion $\hat{p}$ from a random sample of size n:

  • Center: $\mu_{\hat{p}} = p$. The sample proportion is an unbiased estimator of p.
  • Spread: $\sigma_{\hat{p}} = \sqrt{\frac{p(1 - p)}{n}}$, provided the sample is at most 10% of the population.
  • Shape: approximately normal if the large counts condition holds: np ≥ 10 and n(1 − p) ≥ 10.

Three conditions to check, and what each is for

  • Random: the sample is random. (So the estimate is unbiased and probability applies.)
  • 10%: n ≤ 10% of the population. (So the standard deviation formula is valid when sampling without replacement.)
  • Large counts: np ≥ 10 and n(1 − p) ≥ 10. (So the normal approximation is valid.)
Worked example

60% of a city's voters support a measure. A random sample of 150 voters is taken. Find the probability that fewer than 55% of the sample support it.

  1. Mean: 0.60.
  2. 10%: 150 is far less than 10% of all the city's voters. Standard deviation: √(0.60 × 0.40 ÷ 150) = 0.040.
  3. Large counts: 150(0.60) = 90 and 150(0.40) = 60; both at least 10. Approximately normal.
  4. z = (0.55 − 0.60) ÷ 0.040 = −1.25.
  5. P($\hat{p}$ < 0.55) = 0.1056.
  6. In about 11% of random samples of 150, fewer than 55% would support the measure.

Interpreting the standard deviation: "In random samples of 150 voters, the sample proportion typically varies from the true proportion of 0.60 by about 0.04."

The effect of sample size

  • Larger n: smaller standard deviation; estimates cluster more tightly around p.
  • Because of the square root, four times the sample gives half the spread.
  • The size of the population hardly matters (given the 10% condition): a sample of 1500 is about as precise for a country of 300 million as for a city of 300,000.
Worked example

with p = 0.60, compare n = 150 and n = 600.

  1. n = 150: 0.040.
  2. n = 600: √(0.24 ÷ 600) = 0.020.

Using the distribution to judge a claim

Worked example

a company claims that 60% of customers are satisfied. In a random sample of 150, only 78 (52%) are.

  1. If the claim is true: z = (0.52 − 0.60) ÷ 0.040 = −2.0.
  2. P($\hat{p}$ ≤ 0.52) = 0.0228.
  3. A result this low would occur in only about 2% of samples if the claim were true: reasonably strong evidence that the true proportion is below 60%. This is the logic of a significance test.

Difference between two proportions: for independent random samples from two populations,

  • Center: $\mu_{\hat{p}_1 - \hat{p}_2} = p_1 - p_2$.
  • Spread: $\sigma_{\hat{p}_1 - \hat{p}_2} = \sqrt{\frac{p_1(1 - p_1)}{n_1} + \frac{p_2(1 - p_2)}{n_2}}$ (variances add).
  • Shape: approximately normal if all four counts (n₁p₁, n₁(1 − p₁), n₂p₂, n₂(1 − p₂)) are at least 10.
Worked example

50% of School A's students and 40% of School B's have a job. Random samples of 100 are taken from each.

  1. Mean of the difference: 0.10.
  2. Standard deviation: √(0.25 ÷ 100 + 0.24 ÷ 100) = √0.0049 = 0.07.
  3. P(the sample from B shows a higher proportion) = P(difference < 0): z = (0 − 0.10) ÷ 0.07 = −1.43; probability 0.076.

Bias and variability: a statistic is unbiased if its sampling distribution is centered at the parameter. Variability is the spread of the sampling distribution. Think of a target: low bias means centered on the bull's-eye; low variability means tightly grouped.

Common mistakes

  • Using $\hat{p}$ in place of p in the formulas when p is known.
  • Checking n ≥ 30 in place of the large counts condition.
  • Forgetting the square root, or dividing by √n in place of n inside it.
  • Saying a larger sample reduces bias.
  • Confusing the distribution of the sample with the sampling distribution.
Check yourself

For random samples of size 400 from a population in which p = 0.5, what is the standard deviation of the sample proportion?

  • 0.025

  • 0.00125

  • 0.05

  • 0.5

Show the answer

0.025

√(0.5 × 0.5 ÷ 400) = √0.000625.

6For top marks

  • State and check both conditions with numbers: 10% (for the SD formula) and Large Counts (for normality).
  • Use the parameter $p$ in the SD for sampling distribution questions.
  • Interpret probabilities in context: "about 5.5% of random samples of 150 residents".
  • Use unusual results ($P < 0.05$) as evidence against a claim, with careful wording.
Example

"Because $np = 32$ and $n(1 - p) = 368$ are both at least 10, the sampling distribution of $\hat{p}$ is approximately normal."

Check yourself

Quadrupling the sample size changes the SD of p̂ by a factor of:

  • 4

  • 1/4

  • 1/2

  • 2

Show the answer

1/2

√4.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera