Comprehensive Study Guide to Confidence Intervals for Population Means

Course Logistics and Chapter Overview

  • Administrative Reminders:
    • Exam corrections are due by midnight on the date of assignment.
    • Chapter 8 covers confidence intervals across multiple class sessions.
    • Remaining lecture notes and a short activity will be completed in the subsequent Thursday session.
  • Scope of Confidence Intervals (Three Methodologies):
    • Estimation of a single population mean when the population standard deviation (σ\sigma) is known (utilizing the standard normal distribution, ZZ).
    • Estimation of a single population mean when the population standard deviation (σ\sigma) is unknown (utilizing the Student's tt-distribution).
    • Estimation of a population proportion (covered in subsequent sections).

Fundamentals of Inferential Statistics and Confidence Intervals

  • Inferential Statistics:
    • The practice of analyzing sample data in order to make formal generalizations and estimates regarding an entire population.
    • Example: Estimating the mean rent of a two-bedroom apartment by sampling online and newspaper rental listings and calculating their average.
  • Nature of a Confidence Interval:
    • A confidence interval is an interval estimate rather than a single point estimate (which provides only one number).
    • It defines a range of values within which the true, unknown population parameter is expected to reside.
  • Fundamental Construction Formula:
    • A confidence interval for a mean is constructed as:     (xˉ−EBM, xˉ+EBM)(\bar{x} - \text{EBM},\, \bar{x} + \text{EBM})
    • Here, xˉ\bar{x} represents the sample mean (the point estimate).
    • EBM\text{EBM} represents the Error Bound for the Mean (also referred to as the margin of error).
  • Confidence Level (CLCL):
    • The probability that the constructed confidence interval contains the true population parameter.
    • Expressed as a percentage or a decimal (e.g., 90%90\% or 0.900.90, 95%95\% or 0.950.95).
    • Higher confidence levels are desirable to ensure greater certainty.
  • Direct Computation from Given Components:
    • Example with sample mean xˉ=7\bar{x} = 7 and error bound EBM=2.5\text{EBM} = 2.5:     CI=(7−2.5, 7+2.5)=(4.5, 9.5)\text{CI} = (7 - 2.5,\, 7 + 2.5) = (4.5,\, 9.5)
    • Example with sample mean xˉ=15\bar{x} = 15 and error bound EBM=3.2\text{EBM} = 3.2:     CI=(15−3.2, 15+3.2)=(11.8, 18.2)\text{CI} = (15 - 3.2,\, 15 + 3.2) = (11.8,\, 18.2)
    • Interpretation: The population mean is expected to lie between 11.811.8 and 18.218.2.

Confidence Intervals for a Mean with Known Standard Deviation (σ\sigma Known)

  • Primary Condition:
    • The population standard deviation (σ\sigma) must be explicitly known.
    • If σ\sigma is known, the standard normal distribution (ZZ-distribution) is utilized.
  • Step-by-Step Construction Procedure:
    1. Identify or calculate the sample mean (xˉ\bar{x}), noting the sample size (nn) and known population standard deviation (σ\sigma).
    2. Determine the critical zz-score (zα/2z_{\alpha/2}) corresponding to the specified confidence level (CLCL).
    3. Calculate the Error Bound for the Mean (EBM\text{EBM}) using the critical value formula:      EBM=zα/2×(σn)\text{EBM} = z_{\alpha/2} \times \left(\frac{\sigma}{\sqrt{n}}\right)
    4. Calculate the lower and upper bounds of the interval:      Lower Bound=xˉ−EBM\text{Lower Bound} = \bar{x} - \text{EBM}Upper Bound=xˉ+EBM\text{Upper Bound} = \bar{x} + \text{EBM}
    5. State the interpretive sentence in the context of the problem.
  • Procedure for Finding the Critical Value (zα/2z_{\alpha/2}):
    • The confidence level represents the central area of the standard normal distribution:     CL=1−αCL = 1 - \alpha
    • The total tail area outside the confidence level is α\alpha.
    • Because the normal curve is symmetrical, the area in each tail (left and right) is:     Tail Area=α2\text{Tail Area} = \frac{\alpha}{2}
    • Steps to look up zα/2z_{\alpha/2} on the standard normal table:
    • Calculate α=1−CL\alpha = 1 - CL.
    • Compute the tail area α2\frac{\alpha}{2}.
    • Locate the area closest to α2\frac{\alpha}{2} in the interior of the standard normal table.
    • Read the corresponding zz-score on the margins.
    • While the left-tail lookup yields a negative value (−zα/2-z_{\alpha/2}), the positive counterpart (+zα/2+z_{\alpha/2}) is taken due to symmetry.

Detailed Applications: Known Standard Deviation

  • Example: Statistics Exam Scores:
    • Given parameters:
    • Population standard deviation: σ=3\sigma = 3
    • Sample size: n=36n = 36
    • Sample mean: xˉ=68\bar{x} = 68
    • Part A: Constructing a 90%90\% Confidence Interval:
    • Confidence Level: CL=0.90CL = 0.90
    • α=1−0.90=0.10\alpha = 1 - 0.90 = 0.10
    • Tail area: α2=0.102=0.05\frac{\alpha}{2} = \frac{0.10}{2} = 0.05
    • Looking up an interior area of 0.050.05 in the normal table yields a zz-value of −1.64-1.64. Taking the positive value: zα/2=1.64z_{\alpha/2} = 1.64.
    • Calculate EBM\text{EBM}:       EBM=1.64×(336)=1.64×(36)=1.64×0.5=0.82\text{EBM} = 1.64 \times \left(\frac{3}{\sqrt{36}}\right) = 1.64 \times \left(\frac{3}{6}\right) = 1.64 \times 0.5 = 0.82
    • Calculate Interval:       CI=(68−0.82, 68+0.82)=(67.18, 68.82)\text{CI} = (68 - 0.82,\, 68 + 0.82) = (67.18,\, 68.82)
    • Contextual Interpretation:       "We are 90%90\% confident that the true mean statistics exam score is between 67.1867.18 and 68.8268.82."
    • Part B: Constructing a 95%95\% Confidence Interval:
    • Confidence Level: CL=0.95CL = 0.95
    • α=1−0.95=0.05\alpha = 1 - 0.95 = 0.05
    • Tail area: α2=0.052=0.025\frac{\alpha}{2} = \frac{0.05}{2} = 0.025
    • Looking up an interior area of 0.0250.025 in the normal table yields exactly −1.96-1.96. Taking the positive value: zα/2=1.96z_{\alpha/2} = 1.96.
    • Calculate EBM\text{EBM}:       EBM=1.96×(336)=1.96×0.5=0.98\text{EBM} = 1.96 \times \left(\frac{3}{\sqrt{36}}\right) = 1.96 \times 0.5 = 0.98
    • Calculate Interval:       CI=(68−0.98, 68+0.98)=(67.02, 68.98)\text{CI} = (68 - 0.98,\, 68 + 0.98) = (67.02,\, 68.98)
    • Contextual Interpretation:       "We are 95%95\% confident that the true mean statistics exam score is between 67.0267.02 and 68.9868.98."
  • Example: Pizza Delivery Times:
    • Problem Statement: Average pizza delivery times are normally distributed with an unknown population mean and a population standard deviation of 6 minutes6\,\text{minutes}. A random sample of 2828 pizza delivery restaurants has a sample mean delivery time of 36 minutes36\,\text{minutes}.
    • Given parameters:
    • σ=6 minutes\sigma = 6\,\text{minutes}
    • n=28n = 28
    • xˉ=36 minutes\bar{x} = 36\,\text{minutes}
    • Confidence level: 90%90\% (CL=0.90CL = 0.90)
    • Calculations:
    • α=1−0.90=0.10  ⟹  α2=0.05\alpha = 1 - 0.90 = 0.10 \implies \frac{\alpha}{2} = 0.05
    • Critical value: zα/2=1.64z_{\alpha/2} = 1.64
    • Compute EBM\text{EBM}:       EBM=1.64×(628)≈1.64×1.13389≈1.86\text{EBM} = 1.64 \times \left(\frac{6}{\sqrt{28}}\right) \approx 1.64 \times 1.13389 \approx 1.86
    • Compute Interval:       CI=(36−1.86, 36+1.86)=(34.14, 37.86)\text{CI} = (36 - 1.86,\, 36 + 1.86) = (34.14,\, 37.86)
    • Contextual Interpretation:     "We are 90%90\% confident that the true mean pizza delivery time is between 34.1434.14 and 37.86 minutes37.86\,\text{minutes}."

Relationship Between Confidence Level and Interval Width

  • Comparison of Exam Score Intervals:
    • 90%90\% Confidence Interval: (67.18, 68.82)(67.18,\, 68.82), with width 68.82−67.18=1.6468.82 - 67.18 = 1.64
    • 95%95\% Confidence Interval: (67.02, 68.98)(67.02,\, 68.98), with width 68.98−67.02=1.9668.98 - 67.02 = 1.96
  • Core Mathematical Principle:
    • As the confidence level increases, the confidence interval becomes wider.
    • Rationale: The confidence percentage reflects certainty that the interval captures the true population parameter. To achieve higher certainty of capturing the true mean, the interval must encompass a broader range of potential values.

Working Backward from a Given Confidence Interval

  • Context:
    • Academic papers and public articles often report final confidence intervals without explicitly stating the underlying sample mean (xˉ\bar{x}) or error bound (EBM\text{EBM}).
  • Formulas for Derivation:
    • Given a confidence interval defined by (Lower Limit, Upper Limit)(\text{Lower Limit},\, \text{Upper Limit}):
    • Error Bound for the Mean (EBM\text{EBM}):     EBM=Upper Limit−Lower Limit2\text{EBM} = \frac{\text{Upper Limit} - \text{Lower Limit}}{2}
    • Sample Mean (xˉ\bar{x}):     xˉ=Upper Limit+Lower Limit2\bar{x} = \frac{\text{Upper Limit} + \text{Lower Limit}}{2}
  • Worked Example:
    • Given the interval (67.18, 68.82)(67.18,\, 68.82):     EBM=68.82−67.182=1.642=0.82\text{EBM} = \frac{68.82 - 67.18}{2} = \frac{1.64}{2} = 0.82xˉ=68.82+67.182=1362=68\bar{x} = \frac{68.82 + 67.18}{2} = \frac{136}{2} = 68

Calculating Required Sample Size (nn)

  • Theoretical Need:
    • In experimental and survey design, researchers must predetermine the sample size necessary to achieve a specific margin of error (EBM\text{EBM}) at a designated confidence level.
  • Mathematical Derivation:
    • Starting from EBM=zα/2×(σn)\text{EBM} = z_{\alpha/2} \times \left(\frac{\sigma}{\sqrt{n}}\right), solving for nn yields:     n=(zα/2)2×σ2EBM2n = \frac{(z_{\alpha/2})^2 \times \sigma^2}{\text{EBM}^2}n=(zα/2×σEBM)2n = \left(\frac{z_{\alpha/2} \times \sigma}{\text{EBM}}\right)^2
  • Worked Example: Foothill College Student Age Survey:
    • Given parameters:
    • Population standard deviation of age: σ=15 years\sigma = 15\,\text{years}
    • Desired confidence level: 95%95\% (CL=0.95  ⟹  zα/2=1.96CL = 0.95 \implies z_{\alpha/2} = 1.96)
    • Desired margin of error (EBM\text{EBM}): within 2 years2\,\text{years}
    • Computation:     n=(1.96)2×(15)222=3.8416×2254=864.364=216.09n = \frac{(1.96)^2 \times (15)^2}{2^2} = \frac{3.8416 \times 225}{4} = \frac{864.36}{4} = 216.09
  • Mandatory Rounding Rule for Sample Size:
    • Fractional individuals cannot be sampled.
    • Standard mathematical rounding down is not permitted. Sample size calculations must always be rounded up to the nearest integer to guarantee that the actual error does not exceed the target error bound.
    • Final Required Sample Size: 217217 students.

Student's tt-Distribution (σ\sigma Unknown)

  • Origin and Historical Context:
    • Developed by William Sealy Gosset, who published under the pen name "Student."
    • Created for practical real-world scenarios where the population standard deviation (σ\sigma) is unknown.
  • Distribution Properties:
    • Symmetrical and bell-shaped around a center of 00, structurally resembling the standard normal curve.
    • Thicker tails and a lower peak than the normal curve, reflecting the greater spread and additional uncertainty introduced by estimating σ\sigma using the sample standard deviation (ss).
    • Completely characterized by its degrees of freedom (dfdf):     df=n−1df = n - 1
    • As sample size (nn) and degrees of freedom increase, the Student's tt-distribution approaches the standard normal (ZZ) distribution.
  • Standard Distribution Notation:
    • Expressed as tdft_{df}.
    • Example: For a sample size of n=20n = 20, the degrees of freedom are df=20−1=19df = 20 - 1 = 19, designated as t19t_{19}.
  • Formulas for the tt-Interval:
    • Critical value: tα/2t_{\alpha/2} based on df=n−1df = n - 1.
    • Error Bound for the Mean (EBM\text{EBM}):     EBM=tα/2×(sn)\text{EBM} = t_{\alpha/2} \times \left(\frac{s}{\sqrt{n}}\right)
    • Confidence Interval:     CI=(xˉ−EBM, xˉ+EBM)\text{CI} = (\bar{x} - \text{EBM},\, \bar{x} + \text{EBM})

Detailed Applications: Unknown Standard Deviation

  • Example: Acupuncture Pain Relief Study:
    • Study details: Sensory pain ratings measured for n=15n = 15 subjects. Population standard deviation (σ\sigma) is unknown. Target confidence level is 95%95\%.
    • Sample parameters calculated via software:
    • Sample mean: xˉ=8.23\bar{x} = 8.23
    • Sample standard deviation: s=1.67s = 1.67
    • Degrees of Freedom:     df=15−1=14df = 15 - 1 = 14
    • Finding Critical Value (tα/2t_{\alpha/2}):
    • CL=0.95  ⟹  α=0.05  ⟹  α2=0.025CL = 0.95 \implies \alpha = 0.05 \implies \frac{\alpha}{2} = 0.025
    • On the tt-distribution table, find the intersection of row df=14df = 14 and column upper-tail probability 0.0250.025 (or bottom confidence level 95%95\%).
    • Critical value: t0.025=2.145t_{0.025} = 2.145
    • Compute EBM\text{EBM}:     EBM=2.145×(1.6715)≈2.145×0.43119≈0.92\text{EBM} = 2.145 \times \left(\frac{1.67}{\sqrt{15}}\right) \approx 2.145 \times 0.43119 \approx 0.92
    • Compute Interval:     CI=(8.23−0.92, 8.23+0.92)=(7.31, 9.15)\text{CI} = (8.23 - 0.92,\, 8.23 + 0.92) = (7.31,\, 9.15)
    • Contextual Interpretation:     "We are 95%95\% confident that the true mean sensory rate is between 7.317.31 and 9.159.15."
  • Example: Hypnotherapy Sleep Study:
    • Study details: Effectiveness of hypnotherapy measured by hours of sleep for n=12n = 12 subjects. Population standard deviation (σ\sigma) is unknown. Target confidence level is 95%95\%.
    • Sample parameters calculated via software:
    • Sample mean: xˉ=8.98\bar{x} = 8.98
    • Sample standard deviation: s=1.29s = 1.29
    • Degrees of Freedom:     df=12−1=11df = 12 - 1 = 11
    • Finding Critical Value (tα/2t_{\alpha/2}):
    • CL=0.95  ⟹  α=0.05  ⟹  α2=0.025CL = 0.95 \implies \alpha = 0.05 \implies \frac{\alpha}{2} = 0.025
    • On the tt-distribution table, find row df=11df = 11 and column 0.0250.025.
    • Critical value: t0.025=2.201t_{0.025} = 2.201
    • Compute EBM\text{EBM}:     EBM=2.201×(1.2912)≈2.201×0.37239≈0.8196≈0.82\text{EBM} = 2.201 \times \left(\frac{1.29}{\sqrt{12}}\right) \approx 2.201 \times 0.37239 \approx 0.8196 \approx 0.82
    • Compute Interval:     CI=(8.98−0.82, 8.98+0.82)=(8.16, 9.80)\text{CI} = (8.98 - 0.82,\, 8.98 + 0.82) = (8.16,\, 9.80)
    • Note on numeric display: Expressing the upper limit as 9.89.8 or 9.809.80 is mathematically identical.

Questions & Discussion

  • Q: How was the zz-score of 1.641.64 identified from the normal distribution table?
    • A: For a 90%90\% confidence level, α=0.10\alpha = 0.10 and α2=0.05\frac{\alpha}{2} = 0.05. Searching the interior probabilities of the table for 0.050.05 points to a zz-score of −1.64-1.64. Because the distribution is completely symmetric, the positive value +1.64+1.64 is used.
  • Q: Is there any circumstance where the positive zz-score cannot be used instead of the negative value?
    • A: No. For confidence intervals, the positive value can always be used because the interval formula inherently incorporates both subtraction and addition of the error bound (xˉ±EBM\bar{x} \pm \text{EBM}).
  • Q: Can the word "sure" be substituted for "confident" when drafting interpretive sentences?
    • A: Yes, writing "We are 90%90\% sure…" is an acceptable phrasing alternative in this setting.
  • Q: Can a confidence interval contain negative numbers?
    • A: Yes. If the raw dataset involves negative values or the sample mean is close to zero relative to the error bound, the resulting interval limits can be negative.
  • Q: Why is the degrees of freedom (dfdf) value not directly plugged into the denominator of the EBM\text{EBM} formula?
    • A: The degrees of freedom (df=n−1df = n - 1) is used exclusively to determine the appropriate row on the Student's tt-distribution table to obtain tα/2t_{\alpha/2}. The formula for the standard error itself strictly uses the actual sample size (nn) under the radical (n\sqrt{n}).
  • Q: Can the confidence level row printed along the bottom of the Student's tt-table be used directly instead of calculating α2\frac{\alpha}{2}?
    • A: Yes. When constructing confidence intervals, using the bottom confidence level labels yields identical results to using the upper-tail probability column headers. However, future statistical tests (such as one-tailed hypothesis tests) will require reading the specific tail probabilities rather than confidence levels.