Math ClubMath Club
v1 · padrão canônico

Lesson 102 — Confidence interval for the mean

Construction and interpretation of confidence intervals for the population mean. z-cases (known sigma) and Student's t-cases (unknown sigma). Margin of error and sample size.

Used in: 3.º ano do EM (17-18 anos) · Equiv. Stochastik LK alemão · Equiv. Math B japonês · H2 Statistics singapurense

Xˉ±zα/2σnouXˉ±tα/2,n1sn\bar X \pm z_{\alpha/2}\,\frac{\sigma}{\sqrt{n}} \quad \text{ou} \quad \bar X \pm t_{\alpha/2,\,n-1}\,\frac{s}{\sqrt{n}}
Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous definition

Pivotal statistics and the CI for the mean

"A 95% confidence interval means that if we construct many confidence intervals from many different samples, we expect 95% of these intervals to contain the true population parameter." — OpenStax Statistics, §8.1

Case 1: σ\sigma known (z-pivot)

Case 2: σ\sigma unknown (t-pivot)

"When the population is not normal but nn is large, the t-distribution still approximates the behavior of the pivot well due to the robustness of the CLT." — OpenIntro Statistics, §4.2

Reference quantiles

Level (1α)(1-\alpha)zα/2z_{\alpha/2}tα/2,29t_{\alpha/2,\,29}tα/2,9t_{\alpha/2,\,9}
90%1.6451.6991.833
95%1.9602.0452.262
99%2.5762.7563.250

Margin of error and sample size

Solved examples

Exercise list

30 exercises · 7 with worked solution (25%)

Application 19Understanding 3Modeling 4Challenge 2Proof 2
  1. Ex. 102.1ApplicationAnswer key

    Height of military recruits: σ=10\sigma = 10 cm, n=100n = 100, Xˉ=165\bar X = 165 cm. Construct the 95% CI for the average height.

  2. Ex. 102.2Application

    Using the same data from exercise 102.1, construct the 90% and 99% CIs and compare the three levels.

  3. Ex. 102.3ApplicationAnswer key

    Weekly work hours: n=25n = 25, Xˉ=45\bar X = 45 h, s=8s = 8 h. Construct the 95% CI using the t-distribution.

  4. Ex. 102.4Application

    A measuring device has σ=15\sigma = 15 units (known). What is the minimum nn to estimate the mean with a maximum margin of error of 3 units at 95% confidence?

  5. Ex. 102.5Application

    Monthly tuition of n=12n = 12 private colleges in a city: Xˉ=1,500\bar X = 1,500, s=200s = 200. 95% CI.

  6. Ex. 102.6Application

    With σ=10\sigma = 10 and current 95% CI with n=16n = 16 (width 9.8), what nn is needed to reduce the width to 5?

  7. Ex. 102.7Application

    If you double the sample size, what is the percentage effect on the margin of error? And if you want to reduce the margin by half, by how much should you multiply nn?

  8. Ex. 102.8ApplicationAnswer key

    Notebook battery life: n=36n = 36, Xˉ=200\bar X = 200 min, s=30s = 30 min. 95% CI.

  9. Ex. 102.9Application

    Weight of dogs of a specific breed: n=9n = 9, Xˉ=15\bar X = 15 kg, s=1.2s = 1.2 kg. 95% CI.

  10. Ex. 102.10Understanding

    The statement "the 95% CI for μ\mu is [45; 55]" means:

  11. Ex. 102.11UnderstandingAnswer key

    Which of the following actions simultaneously produces a narrower CI AND higher confidence?

  12. Ex. 102.12ApplicationAnswer key

    A tax auditor wants to estimate the average value of invoices with σ=500\sigma = 500, margin of error 100, and 99% confidence. What is the minimum nn?

  13. Ex. 102.13Application

    Monthly food expenses of n=20n = 20 families: Xˉ=500\bar X = 500, s=50s = 50. 95% CI with Student's t.

  14. Ex. 102.14Application

    Compare the t-quantiles for n=9n = 9 and n=100n = 100 at 95% confidence. Explain why CIs with small samples are much wider.

  15. Ex. 102.15Application

    Daily water consumption of n=8n = 8 apartments (in liters): 5.2 | 4.8 | 5.5 | 4.9 | 5.1 | 5.3 | 4.7 | 5.0. Construct the 95% CI.

  16. Ex. 102.16ApplicationAnswer key

    Blood glucose: σ=25\sigma = 25 mg/dL (from previous studies). What nn guarantees a margin of error of 5 mg/dL at 95%?

  17. Ex. 102.17Modeling

    A metalworkers' union collected salaries of n=25n = 25 employees: Xˉ=1,800\bar X = 1,800, s=200s = 200. The union claims the real average salary is below 1,883. Does the 95% CI support this claim?

  18. Ex. 102.18ModelingAnswer key

    Body temperature of n=30n = 30 healthy adults: Xˉ=36.8\bar X = 36.8°C, s=0.5s = 0.5°C. 95% CI. Is the classic value of 37°C compatible with these data?

  19. Ex. 102.19Modeling

    An economist wants to estimate average quarterly GDP growth with a margin of error of 0.5 percentage points at 95%. If σ2\sigma \approx 2 pp (historical variability), how many quarters of data are needed? Discuss practical feasibility.

  20. Ex. 102.20Application

    A 90% CI has width A90A_{90}. How many times wider is the 99% CI for the same sample and the same σ\sigma?

  21. Ex. 102.21Application

    Weekly screen time of adolescents: σ=3\sigma = 3 h, n=49n = 49, Xˉ=12\bar X = 12 h. 95% CI. Is the value 10 h/week plausible?

  22. Ex. 102.22Application

    Cholesterol: σ=8\sigma = 8 mg/dL. What nn for 99% CI with a margin of 2 mg/dL?

  23. Ex. 102.23Application

    Battery duration: n=40n = 40, Xˉ=520\bar X = 520 h, s=60s = 60 h. 95% CI. The manufacturer claims the average duration is 500 hours. Do the data support this claim?

  24. Ex. 102.24Understanding

    What happens to the 95% CI when you increase nn from 25 to 100, keeping everything else constant?

  25. Ex. 102.25Modeling

    The agency collected n=100n = 100 retirement cases: Xˉ=37\bar X = 37 days, s=15s = 15 days. The legal target is 45 days. Construct the 95% CI and interpret it in relation to the target.

  26. Ex. 102.26Challenge

    For monthly income data of n=20n = 20 workers, compare the 95% CI for the mean (using t) with the 95% CI for the median (using order statistics). Which is more suitable for describing "typical" income? Why?

  27. Ex. 102.27Proof

    Formally derive the (1α)(1-\alpha) CI for μ\mu with known σ\sigma from the symmetry property of the standard normal distribution. Clearly identify what is random and what is fixed in P(LμU)=1αP(L \leq \mu \leq U) = 1 - \alpha.

  28. Ex. 102.28Proof

    Demonstrate that T=(Xˉμ)/(S/n)tn1T = (\bar X - \mu)/(S/\sqrt{n}) \sim t_{n-1} when XiiidN(μ,σ2)X_i \overset{\text{iid}}{\sim} \mathcal{N}(\mu, \sigma^2). What are the three properties you need to establish?

  29. Ex. 102.29Challenge

    Show the duality between CI and hypothesis testing: "rejecting H0:μ=μ0H_0: \mu = \mu_0 at level α\alpha is equivalent to μ0\mu_0 being outside the (1α)(1-\alpha) CI." Use this duality to explain how a CI can be used as a simultaneous two-sided test for all values of μ0\mu_0.

  30. Ex. 102.30Application

    In n=200n = 200 students taking an exam at a public school, 65 scored above 700 on the essay. Construct the 95% CI for the true proportion.

Sources

Updated on 2025-05-14 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.