Estimation

Learning Objectives

  • Understand the purpose of point estimation and the properties of good estimators.
  • Calculate and interpret confidence intervals for means, proportions, and variances.
  • Differentiate between confidence intervals, prediction intervals, and tolerance intervals.

Introduction to Estimation

In statistical inference, we use sample data to draw conclusions about the entire population. Estimation is the process of determining the most likely value (or range of values) for an unknown population parameter, such as the true mean compressive strength of a concrete mix (μ\mu) or the true proportion of defective rivets in a bridge (π\pi).

Point Estimation

A point estimate is a single value calculated from sample data. For example, the sample mean xˉ\bar{x} is a point estimate of the population mean μ\mu. The sample variance s2s^2 is a point estimate of the population variance σ2\sigma^2.

Properties of a Good Estimator

Not all estimators are created equal. A good estimator should be:

  • Unbiased: The expected value of the estimator equals the true population parameter (e.g., E[Xˉ]=μE[\bar{X}] = \mu). If we take many samples, the average of our estimates will center exactly on the true value.
  • Minimum Variance (Efficient): Among all unbiased estimators, the one with the smallest variance (tightest spread) is preferred. It consistently provides estimates closer to the true value.

Methods of Point Estimation

How do statisticians derive these formulas (like xˉ\bar{x} or s2s^2) in the first place?

  • Method of Moments: Equates sample moments (like the sample mean or variance) to population moments to solve for unknown parameters.
  • Maximum Likelihood Estimation (MLE): Finds the parameter value that makes the observed sample data the most "likely" to have occurred. It is the most robust and widely used mathematical method for deriving estimators.

Interval Estimation (Confidence Intervals)

Because a point estimate will almost never exactly equal the true parameter due to sampling error, we construct a Confidence Interval (CI). A CI provides a range of values and a level of confidence (e.g., 95%) that the true parameter lies within that range.

General Confidence Interval Structure

The basic formula used to construct confidence intervals.

Point Estimate±(Critical Value×Standard Error)\text{Point Estimate} \pm (\text{Critical Value} \times \text{Standard Error})

Margin of Error

The term (Critical Value×Standard Error)(\text{Critical Value} \times \text{Standard Error}) is called the Margin of Error (EE).

Confidence Interval for the Mean (μ\mu) - Case 1: Population Variance (σ2\sigma^2) Known

If we know the true standard deviation σ\sigma (rare in practice, but possible with extensive historical data), we use the Standard Normal (ZZ) distribution.

CI for Mean (Variance Known)

Confidence interval when population variance is known.

xˉ±Zα/2(σn)\bar{x} \pm Z_{\alpha/2} \left( \frac{\sigma}{\sqrt{n}} \right)

Variables for CI Mean (Variance Known)

  • xˉ\bar{x}: Sample mean
  • Zα/2Z_{\alpha/2}: Critical value from Standard Normal distribution
  • σ\sigma: Population standard deviation
  • nn: Sample size

Confidence Interval for the Mean (μ\mu) - Case 2: Population Variance (σ2\sigma^2) Unknown

This is the most common scenario. We must estimate σ\sigma using the sample standard deviation ss. Because of this added uncertainty, we use the wider Student's t-distribution with n1n-1 degrees of freedom.

CI for Mean (Variance Unknown)

Confidence interval when population variance is unknown.

xˉ±tα/2,n1(sn)\bar{x} \pm t_{\alpha/2, n-1} \left( \frac{s}{\sqrt{n}} \right)

Variables for CI Mean (Variance Unknown)

  • xˉ\bar{x}: Sample mean
  • tα/2,n1t_{\alpha/2, n-1}: Critical value from Student's t-distribution with n1n-1 degrees of freedom
  • ss: Sample standard deviation
  • nn: Sample size

Large Sample Approximation

As sample size nn gets very large, the t-distribution converges to the Z-distribution, and the two formulas yield nearly identical results.

Confidence Interval for the Difference Between Two Means (μ1μ2\mu_1 - \mu_2)

Used to compare the averages of two distinct populations (e.g., comparing the strength of concrete from two different suppliers).

CI for Difference of Means (Variances Known)

Confidence interval comparing two means with known variances.

(xˉ1xˉ2)±Zα/2σ12n1+σ22n2(\bar{x}_1 - \bar{x}_2) \pm Z_{\alpha/2} \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}

Variables for CI for Difference of Means

  • xˉ1,xˉ2\bar{x}_1, \bar{x}_2: Sample means of populations 1 and 2
  • Zα/2Z_{\alpha/2}: Critical value from Standard Normal distribution
  • σ12,σ22\sigma_1^2, \sigma_2^2: Population variances of populations 1 and 2
  • n1,n2n_1, n_2: Sample sizes of populations 1 and 2

Confidence Interval for a Proportion (π\pi or pp)

Used for categorical data (e.g., the percentage of structural beams failing an inspection). Let pp be the sample proportion (number of successes divided by sample size). If the sample size is large enough (both np5np \ge 5 and n(1p)5n(1-p) \ge 5), the sampling distribution of pp is approximately normal.

CI for a Single Proportion

Confidence interval for a single population proportion.

p±Zα/2p(1p)np \pm Z_{\alpha/2} \sqrt{\frac{p(1-p)}{n}}

Variables for CI for a Single Proportion

  • pp: Sample proportion
  • Zα/2Z_{\alpha/2}: Critical value from Standard Normal distribution
  • nn: Sample size

Confidence Interval for the Variance (σ2\sigma^2)

Estimating the variability of a process, crucial for quality control. Because the sampling distribution of the sample variance (s2s^2) is not symmetric, we use the heavily skewed Chi-Square (χ2\chi^2) distribution with n1n-1 degrees of freedom. The interval is not symmetric around s2s^2.

CI for a Single Variance

Confidence interval for a single population variance.

(n1)s2χα/22σ2(n1)s2χ1α/22\frac{(n-1)s^2}{\chi^2_{\alpha/2}} \le \sigma^2 \le \frac{(n-1)s^2}{\chi^2_{1-\alpha/2}}

Variables

SymbolDescriptionUnit
s2s^2Sample variance-
nnSample size-
χ2\chi^2Critical values from Chi-Square distribution-
σ2\sigma^2Population variance-

Prediction and Tolerance Intervals

While a confidence interval bounds a population parameter (like the mean μ\mu), engineers often need to bound future individual measurements.

Prediction Interval

Provides a range that is highly likely (e.g., 95% confidence) to contain a single future observation drawn from the same population. Because an individual observation is much more variable than a sample mean, a prediction interval is always significantly wider than a confidence interval.

Prediction Interval Formula

Interval for a single future observation from a normal population.

xˉ±tα/2,n1s1+1n\bar{x} \pm t_{\alpha/2, n-1} \cdot s \sqrt{1 + \frac{1}{n}}

Tolerance Interval

Provides a range that is highly likely to contain a specified proportion of the entire population (e.g., 99% of all concrete batches produced). It captures the natural variability of the process. If a 95% tolerance interval for concrete strength is [28 MPa, 35 MPa], we are confident that 95% of all individual batches will fall in this range.

Interactive Simulation

Interact with the simulation below to understand confidence intervals and estimation.

Engineering Data Analysis

Confidence Interval & Parameter Estimation

Loading chart...
95% Confidence Intervalzα/2=z0.025=1.96z_{\alpha/2} = z_{0.025} = 1.96
[2416.84, 2583.16]
xˉ±E=2500.0±83.16\bar{x} \pm E = 2500.0 \pm 83.16 (Margin of Error)
Interpretation: We are 95% confident that the true population mean lies between 2416.84 and 2583.16. Increasing sample size (nn) reduces the standard error, making the interval narrower.
2500
300
50

Standard Error: σxˉ=s/n=42.426\sigma_{\bar{x}} = s / \sqrt{n} = 42.426

Interactive Simulation

Use the sample size calculator below to compute the minimum sample size required to estimate a population mean or proportion within a target margin of error.

Engineering Data Analysis • Topic 9

Sample Size Calculator

Margin of Error (EE)0.050
Std Dev (σ\sigma)0.25
Required Sample Sizen = 97
Governing Formula
n=(Zα/2σE)2n = \left(\frac{Z_{\alpha/2} \cdot \sigma}{E}\right)^2
Loading chart...
Key Takeaways
  • Point Estimate: A single value (e.g., xˉ\bar{x}, s2s^2) used to estimate a population parameter (μ\mu, σ2\sigma^2). Good estimators are unbiased and have minimum variance.
  • Confidence Interval (CI): A range of plausible values for a population parameter, incorporating a margin of error based on a chosen confidence level (e.g., 95%).
  • Mean CI (Unknown σ\sigma): The most common scenario; uses the sample standard deviation ss and the tt-distribution.
  • Proportion CI: Used for categorical (success/failure) data; relies on the normal approximation (ZZ-distribution) for large samples.
  • Variance CI: Asymmetric interval built using the Chi-Square (χ2\chi^2) distribution.
  • Prediction vs. Confidence: A CI estimates the average, while a Prediction Interval estimates a single future value, making it much wider.