Topic contents

Lesson 10

How do we determine sample size?

The same example: surveying the mean height of all male students at the university. How many students must we sample to achieve the desired precision?

Sampling settings

Try it

Assume male students' heights have population standard deviation σ = 6 cm; start with an independent random sampling model.

Does a larger sample give more precise estimation?

Class discussion: what are the standard errors when sampling 25 students and 100 students?
σxˉ=σn\sigma_{\bar{x}}=\frac{\sigma}{\sqrt{n}}

Standard error (standard deviation of the sampling distribution)1.20 cm

0.00.51.01.52.0SE (cm)25100200300400Sample size nn=25, SE=1.20 cm
Horizontal axis: sample size n; vertical axis: standard error (cm). The blue curve decreases as sample size increases, but at a progressively slower rate.

Current number of sampled students: 25; standard error: 1.20 cm. Sample size must quadruple to halve the standard error.

With a precision requirement set in advance, how many students must we sample?

Class discussion: we know how to calculate interval width from sample size. How can we find sample size if interval width is specified first?

Derive sample size step by step from the population mean interval formula

Working backward means finding n from an allowable margin of error Δ, rather than finding the error from a known n. First recall the previous lesson's formula.

    Click to reveal the derivation step by step. This section explains the formula's origin; the next section has a practice problem.

    Supplement: simple random sampling without replacement from a finite population

    The derivation above gives the initial sample size n₀. When population size N is finite and the sampling fraction is not negligible, consider the finite population correction.

    n0=zα/22 σ2Δ2,n≥N n0N−1+n0n_{0}=\frac{z_{\alpha/2}^{2}\,\sigma^{2}}{\Delta^{2}},\qquad n\ge\frac{N\,n_{0}}{N-1+n_{0}}

    Expand one step further: substitute n₀ into the finite population formula.

    n≥N zα/22 σ2(N−1) Δ2+zα/22 σ2n\ge\frac{N\,z_{\alpha/2}^{2}\,\sigma^{2}}{(N-1)\,\Delta^{2}+z_{\alpha/2}^{2}\,\sigma^{2}}

    Compare directly with the basic formula n0=z2σ2/Δ2n_{0}=z^{2}\sigma^{2}/\Delta^{2}: only population size NN and the finite population correction term N−1N-1 are added; the symbols for confidence level, population standard deviation, and allowable margin of error retain their meanings.

    Symbols

    NN
    Population size
    n0n_{0}
    Initial sample size before finite population correction
    σ2\sigma^{2}
    Finite population variance defined with divisor N
    Δ\Delta
    Allowable margin of error
    zz
    Standard normal critical value for the confidence level

    Derivation basis: Δ≥z×σn×N−nN−1\Delta\ge z\times\frac{\sigma}{\sqrt{n}}\times\sqrt{\frac{N-n}{N-1}}; rearrange and simplify to obtain the formula above. Both formulas require rounding the result up to the next integer. We consistently use population variance σ² defined with divisor N, keeping the notation in the finite population correction and basic formula consistent.

    Practice problem: how many students must be surveyed?

    Calculate independently first, then reveal each step. Work backward from the precision requirement to sample size, and round up.

    Practice problem | Determine the survey sample size

    A university plans to survey male students' mean height. Prior data suggest a population standard deviation of about 6 cm. With a confidence level of 95%, if the margin of error must not exceed ±2 cm, what is the minimum number of students to sample?

    Let students calculate independently before revealing the solution step by step. This problem uses a planning model with independent random sampling and known population standard deviation.

      Extension problem | How many students for a finite population?

      Keep the previous conditions: 95% confidence level, σ≈6 cm, Δ=2 cm. If the university has N=100 male students and uses simple random sampling without replacement, what sample size is needed?
      1. Initial sample size
        n0=1.962×6222=34.5744n_{0}=\frac{1.96^{2}\times 6^{2}}{2^{2}}=34.5744
      2. Finite population correction
        n≥100×34.5744100−1+34.5744≈25.88n\ge\frac{100\times 34.5744}{100-1+34.5744}\approx 25.88

      Round up: minimum number of students to sample 26

      For the same confidence level and precision requirement, the finite population correction reduces the required number of students from 35 to 26. In Part 4, “Factors affecting sample size,” switch sampling designs and change population size to observe this difference.

      Planning settings

      Try it

      Confidence level

      Beyond allowable margin of error, what determines sample size?

      Hold other conditions fixed and change confidence level and population variability in turn, then observe the correction for a finite population.

      Minimum sample size under current conditionsStudents: 35

      90% confidence level
      Students: 25
      95% confidence level
      Students: 35
      99% confidence level
      Students: 60
      90%Students: 2595%Students: 3599%Students: 60
      Required sample sizes at different confidence levels (other conditions fixed)
      n≥z2σ2Δ2n\ge\frac{z^{2}\sigma^{2}}{\Delta^{2}}

      Other conditions being equal, higher confidence, greater population variability, and a smaller allowable margin of error require a larger sample.

      Sampling settings

      Students: n = 25 · SE = 1.20 cm