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. Cases z (sigma known) and t-Student (sigma unknown). Margin of error and sample size.

Used in: 3rd year of high school (17-18 years old) · Equiv. Stochastik LK German · Equiv. Math B Japanese · H2 Statistics Singaporean

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}}

The confidence interval for μ\mu transforms the point estimate Xˉ\bar X into a plausible range. Use zz when σ\sigma is known; use tn1t_{n-1} when σ\sigma is estimated from the sample. Increasing the confidence level widens the interval; increasing nn narrows it.

Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous definition

Pivotal statistic and the CI for mean

"A 95% confidence interval means that if we construct many confidence intervals from many different samples, we expect 95% of those 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 well the behavior of the pivot via 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 minimum sample size

Worked examples

Exercise list

42 exercises · 10 with worked solution (25%)

Application 26Understanding 4Modeling 7Challenge 3Proof 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 average height.

    Select the correct option
    Select an option first
    Show solution
    E=1.960×10/100=1.960E = 1.960 \times 10/\sqrt{100} = 1.960. 95% CI: [1651.96;  165+1.96]=[163.04;  166.96][165 - 1.96;\; 165 + 1.96] = [163.04;\; 166.96] cm.
  2. Ex. 102.2Application

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

    Select the correct option
    Select an option first
    Show solution
    90% CI: E=1.645×10/10=1.645E = 1.645 \times 10/10 = 1.645. CI: [163.36;  166.64][163.36;\; 166.64] cm. 99% CI: E=2.576×1=2.576E = 2.576 \times 1 = 2.576. CI: [162.42;  167.58][162.42;\; 167.58] cm. Greater confidence implies wider interval.
  3. Ex. 102.3Application

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

    Select the correct option
    Select an option first
    Show solution
    95% CI with t0.025,24=2.064t_{0.025,\,24} = 2.064: 45±2.064×1.6=45±3.3045 \pm 2.064 \times 1.6 = 45 \pm 3.30. CI: [41.70;  48.30][41.70;\; 48.30] weekly hours.
    Show step-by-step (with the why)
    1. Identify: n=25n = 25, Xˉ=45\bar X = 45, s=8s = 8, 95% level.
    2. Degrees of freedom: ν=n1=24\nu = n - 1 = 24. Quantile: t0.025,24=2.064t_{0.025,\,24} = 2.064.
    3. Standard error: SE=s/n=8/5=1.6\mathrm{SE} = s/\sqrt{n} = 8/5 = 1.6.
    4. Margin: E=2.064×1.6=3.30E = 2.064 \times 1.6 = 3.30.
    5. CI: [453.30;  45+3.30]=[41.70;  48.30][45 - 3.30;\; 45 + 3.30] = [41.70;\; 48.30] hours.
    6. Trick: With n=25n = 25 and 95% level, the tt quantile is 2.064 — slightly larger than 1.960 from zz. The difference is small, but underestimating uncertainty with zz would be inadequate for small nn.
  4. Ex. 102.4ApplicationAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    n(zα/2σ/E)2=(1.960×15/3)2=(9.80)2=96.04n \geq (z_{\alpha/2}\,\sigma/E)^2 = (1.960 \times 15/3)^2 = (9.80)^2 = 96.04. Rounds: n=97n = 97 measurements.
  5. Ex. 102.5ApplicationAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    t0.025,11=2.201t_{0.025,\,11} = 2.201. SE=200/12=57.74\mathrm{SE} = 200/\sqrt{12} = 57.74. E=2.201×57.74=127.1E = 2.201 \times 57.74 = 127.1. 95% CI: USD 1,372.90toUSD 1,372.90 to USD 1,627.10.
  6. Ex. 102.6ApplicationAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    Amplitude = 2E=2×zα/2×σ/n2E = 2 \times z_{\alpha/2} \times \sigma/\sqrt{n}. If nn quadruples, n\sqrt{n} doubles and amplitude falls in half. For amplitude of 5: n=(2×1.960×10/5)2=(7.84)2=61.5n = (2 \times 1.960 \times 10/5)^2 = (7.84)^2 = 61.5. Rounds: n=62n = 62.
  7. Ex. 102.7ApplicationAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    By doubling nn, n\sqrt{n} multiplies by 21.414\sqrt{2} \approx 1.414, so EE divides by 2\sqrt{2}: reduction of 29.3%. To halve EE, multiply nn by 4.
  8. Ex. 102.8Application

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

    Select the correct option
    Select an option first
    Show solution
    SE=s/n=30/36=5\mathrm{SE} = s/\sqrt{n} = 30/\sqrt{36} = 5. 95% CI with t0.025,35=2.030t_{0.025,\,35} = 2.030: [20010.15;  200+10.15]=[189.85;  210.15][200 - 10.15;\; 200 + 10.15] = [189.85;\; 210.15] min.
  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.

    Select the correct option
    Select an option first
    Show solution
    With t0.025,8=2.306t_{0.025,\,8} = 2.306 and SE=0.4\mathrm{SE} = 0.4: 95% CI = [14.08;  15.92][14.08;\; 15.92] kg.
    Show step-by-step (with the why)
    1. The 95% CI formula is Xˉ±t0.025,n1×s/n\bar X \pm t_{0.025,\,n-1} \times s/\sqrt{n}.
    2. With n=9n = 9, t0.025,8=2.306t_{0.025,\,8} = 2.306.
    3. SE=1.2/9=0.4\mathrm{SE} = 1.2/\sqrt{9} = 0.4 kg.
    4. E=2.306×0.4=0.922E = 2.306 \times 0.4 = 0.922 kg.
    5. CI: [150.922;  15+0.922]=[14.08;  15.92][15 - 0.922;\; 15 + 0.922] = [14.08;\; 15.92] kg.
    6. Note: With only 9 observations, the tt quantile is substantially larger than 1.96. This reflects greater uncertainty in estimating σ\sigma with few data.
  10. Ex. 102.10Understanding

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

    Select the correct option
    Select an option first
    Show solution
    In the frequentist view, μ\mu is fixed — it has no probability of being anywhere. What has 95% probability is the construction procedure: 95% of samples produce an interval that covers μ\mu.
  11. Ex. 102.11UnderstandingAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    Narrower CI: increasing nn narrows the CI (dividing by n\sqrt{n}). Higher confidence level widens. For the narrowest interval with 99% confidence, one must increase nn enough to compensate for the larger quantile. Quadrupling nn compensates exactly for a 2× factor in amplitude — enough to keep the 99% CI as narrow as the 95% CI with original nn.
  12. Ex. 102.12Application

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

    Select the correct option
    Select an option first
    Show solution
    n(2.576×500/100)2=(12.88)2=165.9n \geq (2.576 \times 500/100)^2 = (12.88)^2 = 165.9. Rounds: n=166n = 166 invoices.
  13. Ex. 102.13Application

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

    Select the correct option
    Select an option first
    Show solution
    With t0.025,19=2.093t_{0.025,\,19} = 2.093: E=2.093×50/20=2.093×11.18=23.4E = 2.093 \times 50/\sqrt{20} = 2.093 \times 11.18 = 23.4. 95% CI: USD 476.60toUSD 476.60 to USD 523.40.
  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.

    Select the correct option
    Select an option first
    Show solution
    For n=9n = 9: t0.025,8=2.306t_{0.025,\,8} = 2.306; for n=100n = 100: t0.025,991.984t_{0.025,\,99} \approx 1.984. With n=9n = 9, the CI is much wider: the combination of large tt and small n\sqrt{n} greatly amplifies uncertainty.
  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.

    Select the correct option
    Select an option first
    Show solution
    Mean: 5.0625 L, s0.267s \approx 0.267 L. 95% CI with t0.025,7=2.365t_{0.025,\,7} = 2.365: [4.84;  5.29][4.84;\; 5.29] L.
    Show step-by-step (with the why)
    1. Calculate the mean: Xˉ=(5.2+4.8+5.5+4.9+5.1+5.3+4.7+5.0)/8=40.5/8=5.0625\bar X = (5.2 + 4.8 + 5.5 + 4.9 + 5.1 + 5.3 + 4.7 + 5.0)/8 = 40.5/8 = 5.0625 L.
    2. Calculate the sample standard deviation (squared deviations): (0.1375)2+(0.2625)2+(0.4375)2+(0.1625)2+(0.0375)2+(0.2375)2+(0.3625)2+(0.0625)2(0.1375)^2 + (-0.2625)^2 + (0.4375)^2 + (-0.1625)^2 + (0.0375)^2 + (0.2375)^2 + (-0.3625)^2 + (-0.0625)^2.
    3. Sum of squares: 0.0189+0.0689+0.1914+0.0264+0.0014+0.0564+0.1314+0.0039=0.4988\approx 0.0189 + 0.0689 + 0.1914 + 0.0264 + 0.0014 + 0.0564 + 0.1314 + 0.0039 = 0.4988.
    4. s2=0.4988/7=0.0713s^2 = 0.4988/7 = 0.0713; s0.267s \approx 0.267 L.
    5. SE=0.267/8=0.0944\mathrm{SE} = 0.267/\sqrt{8} = 0.0944. With t0.025,7=2.365t_{0.025,\,7} = 2.365: E=2.365×0.0944=0.223E = 2.365 \times 0.0944 = 0.223.
    6. CI: [4.84;  5.29][4.84;\; 5.29] L. Trick: With n=8n = 8, the tt quantile is 2.365 — well above 1.96. Uncertainty in σ\sigma is heavy when nn is small.
  16. Ex. 102.16Application

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

    Select the correct option
    Select an option first
    Show solution
    n(1.960×25/5)2=(9.80)2=96.04n \geq (1.960 \times 25/5)^2 = (9.80)^2 = 96.04. Rounds: n=97n = 97. With 97 samples, the margin of error becomes exactly 5 mg/dL at 95%.
  17. Ex. 102.17Modeling

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

    Select the correct option
    Select an option first
    Show solution
    95% CI: 1800±2.064×200/25=1800±82.61800 \pm 2.064 \times 200/\sqrt{25} = 1800 \pm 82.6. CI: USD 1,717toUSD 1,717 to USD 1,883. The minimum wage (USD 1,412 in 2024) is not in the CI, indicating the sector pays above minimum. The strike is not supported based on this CI if the demand is above USD 1,883; if below, the data are consistent with the demand.
  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 canonical value of 37°C consistent with this data?

    Select the correct option
    Select an option first
    Show solution
    95% CI: [36.61;  36.99][36.61;\; 36.99]°C. Since 37°C is outside CI (marginally), the data challenge the canonical value. For more robust conclusion, a formal test H0:μ=37H_0: \mu = 37 would be appropriate.
    Show step-by-step (with the why)
    1. 95% CI for body temperature: Xˉ=36.8\bar X = 36.8°C, s=0.5s = 0.5°C, n=30n = 30.
    2. t0.025,29=2.045t_{0.025,\,29} = 2.045. SE=0.5/30=0.0913\mathrm{SE} = 0.5/\sqrt{30} = 0.0913.
    3. E=2.045×0.0913=0.187E = 2.045 \times 0.0913 = 0.187. CI: [36.61;  36.99][36.61;\; 36.99]°C.
    4. The canonical value of 37°C is outside the CI (marginally). This suggests the true value may be slightly lower than canonical.
    5. Fun fact: Recent large-sample studies confirm that human body temperature has declined historically — likely due to improved health conditions reducing chronic inflammation.
  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.

    Select the correct option
    Select an option first
    Show solution
    For δ=0.5\delta = 0.5 percentage point and σ2\sigma \approx 2 pp (typical GDP variation), n(1.960×2/0.5)2=(7.84)261.5n \geq (1.960 \times 2/0.5)^2 = (7.84)^2 \approx 61.5. Would need 62 quarters — more than 15 years of data to detect a 0.5 pp difference in GDP growth. With real economic variability, statistical power of short-term studies is limited.
  20. Ex. 102.20Application

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

    Select the correct option
    Select an option first
    Show solution
    Increasing the confidence level from 90% to 99%, the quantile grows from 1.645 to 2.576. The margin of error increases by ratio 2.576/1.6451.5662.576/1.645 \approx 1.566, or about 56.6% wider. The CI becomes significantly wider for the same sample.
  21. Ex. 102.21Application

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

    Select the correct option
    Select an option first
    Show solution
    95% CI: Xˉ±1.960×σ/n=12±1.960×3/49=12±0.840\bar X \pm 1.960 \times \sigma/\sqrt{n} = 12 \pm 1.960 \times 3/\sqrt{49} = 12 \pm 0.840. CI: [11.16;  12.84][11.16;\; 12.84] hours. The value 10 hours is outside the CI — the data are inconsistent with the hypothesis of average 10 hours.
  22. Ex. 102.22Application

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

    Select the correct option
    Select an option first
    Show solution
    E=2.576×σ/nE = 2.576 \times \sigma/\sqrt{n}. We want E2E \leq 2 mg/dL. n(2.576×8/2)2=(10.304)2=106.2n \geq (2.576 \times 8/2)^2 = (10.304)^2 = 106.2. Rounds: n=107n = 107.
  23. Ex. 102.23Application

    Battery duration: n=40n = 40, Xˉ=520\bar X = 520 h, s=60s = 60 h. 95% CI. Does the manufacturer's claim of 500 hours average duration support these data?

    Select the correct option
    Select an option first
    Show solution
    95% CI: [500.8;  539.2][500.8;\; 539.2] hours. Since 500 is outside CI, the data marginally challenge the manufacturer's claim.
    Show step-by-step (with the why)
    1. Identify: n=40n = 40, Xˉ=520\bar X = 520 hours, s=60s = 60 hours.
    2. With n=40n = 40, t0.025,392.023t_{0.025,\,39} \approx 2.023.
    3. SE=60/40=9.49\mathrm{SE} = 60/\sqrt{40} = 9.49. E=2.023×9.49=19.2E = 2.023 \times 9.49 = 19.2 hours.
    4. CI: [500.8;  539.2][500.8;\; 539.2] hours.
    5. The manufacturer claims 500 hours. Since 500 is outside the CI (marginally), the data are marginally inconsistent with the claim. A formal test would be appropriate.
    6. Note: When n30n \geq 30, the difference between tt and zz is small (2.023 vs. 1.960). For practical purposes, many use zz when n30n \geq 30.
  24. Ex. 102.24UnderstandingAnswer key

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

    Select the correct option
    Select an option first
    Show solution
    Increasing nn from 25 to 100 quadruples nn, doubling n\sqrt{n}. The margin of error E1/nE \propto 1/\sqrt{n} falls in half. The confidence level (95%) does not change — it is chosen by the researcher, not by sample size.
  25. Ex. 102.25Modeling

    The INSS collected n=100n = 100 retirement approval cases: Xˉ=37\bar X = 37 days, s=15s = 15 days. The legal goal is 45 days. Construct the 95% CI and interpret relative to the goal.

    Select the correct option
    Select an option first
    Show solution
    INSS Report: 95% CI with t0.025,991.984t_{0.025,\,99} \approx 1.984. SE=15/100=1.5\mathrm{SE} = 15/\sqrt{100} = 1.5 days. CI: [372.976;  37+2.976]=[34.02;  39.98][37 - 2.976;\; 37 + 2.976] = [34.02;\; 39.98] days. Goal: 45 days. The CI is completely below 45 days — data are strongly consistent with goal achievement. Can report: "With 95% confidence, the true average time for benefits approval is between 34 and 40 days, below the goal of 45 days."
  26. Ex. 102.26Challenge

    For data on monthly income 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 appropriate to describe "typical" income? Why?

    Select the correct option
    Select an option first
    Show solution
    For the mean: 95% CI with t0.025,n1t_{0.025,\,n-1}. For the median: CI based on order statistics — the limits are X(j)X_{(j)} and X(k)X_{(k)} where jj and kk come from binomial tables. For n=20n = 20, the 95% CI for the median uses the 6th and 15th ordered values. For income (skewed distribution with long right tail), the median is more representative than the mean, and the CI for the median is more robust to income outliers.
  27. Ex. 102.27Proof

    Formally derive the (1α)(1-\alpha) CI for μ\mu with σ\sigma known 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.

    Select the correct option
    Select an option first
    Show solution
    Derivation: by symmetry of N(0,1)\mathcal{N}(0,1), P(zα/2Zzα/2)=1αP(-z_{\alpha/2} \leq Z \leq z_{\alpha/2}) = 1 - \alpha. Substituting Z=(Xˉμ)/(σ/n)Z = (\bar X - \mu)/(\sigma/\sqrt{n}) and rearranging: P(Xˉzα/2σ/nμXˉ+zα/2σ/n)=1αP(\bar X - z_{\alpha/2}\sigma/\sqrt{n} \leq \mu \leq \bar X + z_{\alpha/2}\sigma/\sqrt{n}) = 1-\alpha. The endpoints L=Xˉzα/2σ/nL = \bar X - z_{\alpha/2}\sigma/\sqrt{n} and U=Xˉ+zα/2σ/nU = \bar X + z_{\alpha/2}\sigma/\sqrt{n} are statistics (functions of data), while μ\mu is the fixed parameter.
  28. Ex. 102.28Proof

    Prove 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?

    Select the correct option
    Select an option first
    Show solution
    See the referenced source for detailed resolution.
  29. Ex. 102.29Challenge

    Show the duality between CI and hypothesis test: "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 bilateral test for all values of μ0\mu_0.

    Select the correct option
    Select an option first
    Show solution
    By the duality theorem: rejecting H0:μ=μ0H_0: \mu = \mu_0 at level α\alpha is equivalent to μ0\mu_0 being outside the (1α)(1-\alpha) CI. Therefore, all values of μ0\mu_0 that would NOT be rejected by a bilateral test at level 5% form exactly the 95% CI. The CI can be used as a graphical tool for multiple testing: simultaneously test all hypotheses of the form H0:μ=cH_0: \mu = c for every cc.
  30. Ex. 102.30Application

    Among n=200n = 200 ENEM students from a public school, 65 scored above 700 on the essay. Construct the 95% CI for the true proportion.

    Select the correct option
    Select an option first
    Show solution
    For proportion, use Wilson's CI: p^±zα/2p^(1p^)/n\hat p \pm z_{\alpha/2}\sqrt{\hat p(1-\hat p)/n}. With p^=65/200=0.325\hat p = 65/200 = 0.325, SE=0.325×0.675/200=0.0331\mathrm{SE} = \sqrt{0.325 \times 0.675/200} = 0.0331. 95% CI: 0.325±1.960×0.0331=0.325±0.0650.325 \pm 1.960 \times 0.0331 = 0.325 \pm 0.065. CI: [26.0%;  39.0%][26.0\%;\; 39.0\%].
  31. Ex. 102.31Application

    A survey wants to estimate the average number of weekly work hours with σ=7\sigma = 7 h, maximum margin of error of 2 h, and 90% confidence. What is the minimum nn?

    Select the correct option
    Select an option first
    Show solution
    With σ=7\sigma = 7 and 90%: n(z0.05×σ/E)2=(1.645×7/2)2=(5.7575)233.2n \geq (z_{0.05} \times \sigma/E)^2 = (1.645 \times 7/2)^2 = (5.7575)^2 \approx 33.2. Rounds: n=34n = 34.
  32. Ex. 102.32Application

    A camp director collects data from 16 participants on letters received per week: Xˉ=7.9\bar X = 7.9, s=2.8s = 2.8. Construct the 95% CI.

    Select the correct option
    Select an option first
    Show solution
    95% CI with t0.025,15=2.131t_{0.025,\,15} = 2.131: E=2.131×2.8/16=2.131×0.7=1.492E = 2.131 \times 2.8/\sqrt{16} = 2.131 \times 0.7 = 1.492. CI: [7.91.492;  7.9+1.492]=[6.41;  9.39][7.9 - 1.492;\; 7.9 + 1.492] = [6.41;\; 9.39] letters/week.
  33. Ex. 102.33Application

    An accounting firm surveys 100 people on weekly leisure hours. Result Xˉ=23.6\bar X = 23.6 h with σ=7.0\sigma = 7.0 h (known). Construct the 95% CI.

    Select the correct option
    Select an option first
    Show solution
    95% CI: 23.6±1.37223.6 \pm 1.372. CI: [22.23;  24.97][22.23;\; 24.97] weekly hours.
    Show step-by-step (with the why)
    1. Identify: n=100n = 100, Xˉ=23.6\bar X = 23.6, σ=7.0\sigma = 7.0, 95% level.
    2. Since σ\sigma is known, use z0.025=1.960z_{0.025} = 1.960.
    3. E=1.960×7.0/100=1.960×0.7=1.372E = 1.960 \times 7.0/\sqrt{100} = 1.960 \times 0.7 = 1.372.
    4. CI: [23.61.372;  23.6+1.372]=[22.23;  24.97][23.6 - 1.372;\; 23.6 + 1.372] = [22.23;\; 24.97] hours.
    5. Trick: With n=100n = 100 and σ\sigma known, the zz pivot is appropriate. The CI has amplitude of 2.74 hours.
  34. Ex. 102.34Application

    A sample of 8 candy sachets has average weight Xˉ=2\bar X = 2 ounces and s=0.12s = 0.12 ounces. Construct the 90% CI for true mean weight. Is the stated value of 2 ounces plausible?

    Select the correct option
    Select an option first
    Show solution
    90% CI with t0.05,7=1.895t_{0.05,\,7} = 1.895: SE=0.12/8=0.0424\mathrm{SE} = 0.12/\sqrt{8} = 0.0424. E=1.895×0.0424=0.0804E = 1.895 \times 0.0424 = 0.0804. CI: [20.0804;  2+0.0804]=[1.92;  2.08][2 - 0.0804;\; 2 + 0.0804] = [1.92;\; 2.08] ounces. The value 2.0 is in the CI — consistent with stated weight.
  35. Ex. 102.35Understanding

    What happens to the CI when you increase the sample size nn, keeping confidence level and σ\sigma fixed?

    Select the correct option
    Select an option first
    Show solution
    The confidence level is determined by the researcher — increasing nn does not change it. What changes is the margin of error: E1/nE \propto 1/\sqrt{n}. With larger nn, the CI becomes narrower (more precise) while maintaining the same confidence level.
  36. Ex. 102.36Application

    Sleep of 20 campers: Xˉ=7.9\bar X = 7.9 h, s=3s = 3 h. 95% CI for true average sleep.

    Select the correct option
    Select an option first
    Show solution
    95% CI with t0.025,19=2.093t_{0.025,\,19} = 2.093: SE=3/20=0.671\mathrm{SE} = 3/\sqrt{20} = 0.671. E=2.093×0.671=1.404E = 2.093 \times 0.671 = 1.404. CI: [7.91.404;  7.9+1.404]=[6.50;  9.30][7.9 - 1.404;\; 7.9 + 1.404] = [6.50;\; 9.30] hours.
  37. Ex. 102.37ApplicationAnswer key

    The standard deviation of heights of young men is approximately σ=2.5\sigma = 2.5 inches (known). How many men are needed to estimate average height with a margin of error of 1 inch at 95%?

    Select the correct option
    Select an option first
    Show solution
    n(zα/2×σ/E)2=(1.960×2.5/1)2=(4.9)2=24.01n \geq (z_{\alpha/2} \times \sigma/E)^2 = (1.960 \times 2.5/1)^2 = (4.9)^2 = 24.01. Rounds: n=25n = 25 young men.
  38. Ex. 102.38Application

    A study of 21 students recorded average sleep of Xˉ=7.24\bar X = 7.24 h with s=1.93s = 1.93 h. Construct the 90% CI and check if 7 hours of sleep is a plausible value.

    Select the correct option
    Select an option first
    Show solution
    90% CI with t0.05,20=1.725t_{0.05,\,20} = 1.725: SE=1.93/21=0.421\mathrm{SE} = 1.93/\sqrt{21} = 0.421. E=1.725×0.421=0.727E = 1.725 \times 0.421 = 0.727. CI: [7.240.727;  7.24+0.727]=[6.51;  7.97][7.24 - 0.727;\; 7.24 + 0.727] = [6.51;\; 7.97] hours. The value 7 hours is within the CI, so the data are consistent with the hypothesis of average sleep of 7 hours.
  39. Ex. 102.39Modeling

    Records from 35 flights show average of 11.6 empty seats per flight, with s=4.1s = 4.1. Construct the 95% CI and interpret from an overbooking policy perspective.

    Select the correct option
    Select an option first
    Show solution
    95% CI: [10.19;  13.01][10.19;\; 13.01] empty seats per flight. With average of 11.6 empty seats, airlines should reduce overbooking to cover at least 13 seats.
    Show step-by-step (with the why)
    1. Identify: n=35n = 35, Xˉ=11.6\bar X = 11.6 seats, s=4.1s = 4.1 seats.
    2. With n=35n = 35, use t0.025,342.032t_{0.025,\,34} \approx 2.032.
    3. SE=4.1/35=0.693\mathrm{SE} = 4.1/\sqrt{35} = 0.693.
    4. E=2.032×0.693=1.408E = 2.032 \times 0.693 = 1.408.
    5. CI: [11.61.41;  11.6+1.41]=[10.19;  13.01][11.6 - 1.41;\; 11.6 + 1.41] = [10.19;\; 13.01] empty seats.
    6. Interpretation: In 95% of samples of this size, the CI constructed this way would capture the true average number of empty seats.
  40. Ex. 102.40ModelingAnswer key

    A survey of 400 drivers revealed that 320 always wear seatbelts. Construct the 95% CI for the true proportion of drivers who always wear seatbelts.

    Select the correct option
    Select an option first
    Show solution
    95% CI for proportion with p^=320/400=0.80\hat p = 320/400 = 0.80: SE=0.80×0.20/400=0.020\mathrm{SE} = \sqrt{0.80 \times 0.20/400} = 0.020. E=1.960×0.020=0.0392E = 1.960 \times 0.020 = 0.0392. CI: [0.761;  0.839][0.761;\; 0.839]. Interpretation: we are 95% confident that between 76.1% and 83.9% of drivers always wear seatbelts.
  41. Ex. 102.41Modeling

    Heights of men: group A (n1=100n_1 = 100, Xˉ1=71\bar X_1 = 71 inches, σ1=3\sigma_1 = 3) and group B (n2=100n_2 = 100, Xˉ2=68\bar X_2 = 68 inches, σ2=3\sigma_2 = 3). Construct the 95% CI for the difference of means μ1μ2\mu_1 - \mu_2.

    Select the correct option
    Select an option first
    Show solution
    Standard error of difference of means: SEdiff=σ12/n1+σ22/n2=32/100+32/100=0.09+0.09=0.180.424\mathrm{SE}_{\text{diff}} = \sqrt{\sigma_1^2/n_1 + \sigma_2^2/n_2} = \sqrt{3^2/100 + 3^2/100} = \sqrt{0.09 + 0.09} = \sqrt{0.18} \approx 0.424. 95% CI: (Xˉ1Xˉ2)±1.960×0.424=(7168)±0.831=[2.17;  3.83](\bar X_1 - \bar X_2) \pm 1.960 \times 0.424 = (71 - 68) \pm 0.831 = [2.17;\; 3.83] cm. The CI does not include 0, indicating the difference is statistically significant.
  42. Ex. 102.42Challenge

    Describe the bootstrap percentile method for constructing a 95% CI for the mean. What are the advantages over the Student's t-based CI? In which situations would bootstrap be especially recommended?

    Select the correct option
    Select an option first
    Show solution
    The bootstrap percentile: (1) re-samples 2000 times with replacement from {X1,,Xn}\{X_1,\ldots,X_n\}; (2) calculates Xˉ\bar X^* in each replicate; (3) uses 2.5% and 97.5% percentiles of bootstrap means as limits of 95% CI. Advantages: requires no normality assumption nor knowledge of σ\sigma; valid for any statistic (median, ratio, correlation). Limitation: requires computation; for very small samples (n<15n < 15), may have inadequate coverage.

Sources

Updated on 2026-05-06 · Author(s): Clube da Matemática

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