Topic contents

Lesson 5

Confidence interval for a population mean

How can we estimate university students' mean monthly living expenses?

Estimation settings

Try it

Confidence level

Drawing a new sample generates independent data in sampling with replacement (each selected unit is returned before the next draw). Without replacement, a finite population is generated first, then sampled without replacement. The initial values are teaching example data, not actual survey results.

Estimation resultsz interval

Sample size n
36
Critical value
1.960
Margin of error Δ
117.60 yuan

95% confidence interval for the population mean μ[2,082.40, 2,317.60] yuan

2,0002,1002,2002,3002,400Monthly living expenses (yuan)Sample mean2,082.402,317.60
  • Confidence interval for the population mean
  • Sample mean
Confidence interval for the population mean μ and sample mean x̄ (unit: yuan)

Adjust sample size or confidence level and observe how interval width changes.

Critical values and sampling distributions

−4−2024z−1.9601.96095%α/2α/2
  • Central confidence level
  • Two tail regions
  • Critical points
Standard normal distribution N(0,1)

Standard normal distribution; central shaded area 95%, with 2.5% in each tail; critical points ±1.9600. The curve and critical points update dynamically when confidence level or sample size changes.

Formula and calculation steps

xˉ±z1−α/2×σn\bar{x}\pm z_{1-\alpha/2}\times\frac{\sigma}{\sqrt{n}}
  1. Determine the confidence level and significance level
    1−α=95%,α=0.051-\alpha=95\%,\qquad \alpha=0.05
  2. Determine the critical value
    z1−α/2=1.9600z_{1-\alpha/2}=1.9600
  3. Calculate the standard error
    σn=360.0036=60.00\frac{\sigma}{\sqrt{n}}=\frac{360.00}{\sqrt{36}}=60.00
  4. Calculate the margin of error
    Δ=1.9600×60.00=117.60\Delta=1.9600\times 60.00=117.60
  5. Calculate the lower and upper interval limits
    xˉ±Δ=2,200.00±117.60\bar{x}\pm\Delta=2{,}200.00\pm 117.60
  6. [2,082.40, 2,317.60] yuan

A known population standard deviation is a teaching assumption; an exact z interval also requires a normal population, or relies on a large-sample approximation under appropriate conditions.

Think about it

  1. Why does increasing sample size usually narrow the interval?
  2. Without replacement, why does a larger sampling fraction n/N (the fraction of population units sampled) narrow the interval?
  3. Why must we consider the population distribution and sample size when the population standard deviation is unknown?
Note: a 95% confidence level describes the proportion of intervals constructed by the same method that cover the fixed population mean under long-run repeated sampling, rather than a probability for the parameter inside a particular interval already calculated.

References and further reading

These sources in English explain z and t intervals for independent samples and long-run coverage. Read the finite population approximations for sampling without replacement in this lesson together with the qualifications above.

Estimation settings

z interval · n = 36 · σ = 360 · 95%