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 estimate unknown population parameters or construct intervals using a stated procedure. Examples include the mean compressive strength of a concrete mix (μ\mu) and the 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 parameter values that maximize the likelihood of the observed data under a specified model. It is widely used, but its bias, variance, and robustness depend on the model and sample.

Interval Estimation (Confidence Intervals)

Because a point estimate varies across samples, we construct a Confidence Interval (CI) for a population parameter. A 95% confidence procedure has 95% long-run coverage: if its assumptions hold and the same sampling-and-interval method is repeated, about 95% of the resulting intervals contain the fixed parameter. After this sample is observed, the particular interval either contains that parameter or it does not; the 95% is not a probability assigned to the fixed parameter.

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 the population standard deviation σ\sigma is known and the sampling model supports the normal approximation (exactly for independent normal observations), use the Standard Normal distribution. The positive critical value z1−α/2z_{1-\alpha/2} is the upper-tail cutoff leaving probability α/2\alpha/2 above it.

CI for Mean (Variance Known)

Confidence interval when population variance is known.

xˉ±z1−α/2(σn)\bar{x} \pm z_{1-\alpha/2} \left( \frac{\sigma}{\sqrt{n}} \right)

Variables for CI Mean (Variance Known)

  • xˉ\bar{x}: Sample mean
  • z1−α/2z_{1-\alpha/2}: Positive Standard Normal critical value with upper-tail area α/2\alpha/2
  • σ\sigma: Population standard deviation
  • nn: Sample size

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

When σ\sigma is unknown, estimate it with the sample standard deviation ss. For independent observations from a normal population, use Student's tt with ν=n−1\nu=n-1 degrees of freedom; for nonnormal data, the adequacy of a t-based interval depends on the sample design, sample size, and distribution.

CI for Mean (Variance Unknown)

Confidence interval when population variance is unknown.

xˉ±t1−α/2,ν(sn),ν=n−1\bar{x} \pm t_{1-\alpha/2,\nu} \left( \frac{s}{\sqrt{n}} \right), \qquad \nu=n-1

Variables for CI Mean (Variance Unknown)

  • xˉ\bar{x}: Sample mean
  • t1−α/2,νt_{1-\alpha/2,\nu}: Positive Student's tt critical value with upper-tail area α/2\alpha/2 and ν=n−1\nu=n-1 degrees of freedom
  • ss: Sample standard deviation
  • nn: Sample size

Large Sample Approximation

As degrees of freedom increase, Student's tt approaches the Standard Normal distribution. This does not remove the need to check independence, sampling design, and whether the mean approximation is suitable for the data.

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

For independent samples with known population variances, this interval compares two population means (e.g., concrete strength from two suppliers). If variances are estimated or the sample design is more complex, use an interval that reflects that model and design.

CI for Difference of Means (Variances Known)

Confidence interval comparing two means with known variances.

(xˉ1−xˉ2)±z1−α/2σ12n1+σ22n2(\bar{x}_1 - \bar{x}_2) \pm z_{1-\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
  • z1−α/2z_{1-\alpha/2}: Positive Standard Normal critical value with upper-tail area α/2\alpha/2
  • σ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)

For independent Bernoulli observations, let p^=x/n\hat p=x/n be the observed sample proportion and π\pi the fixed population proportion. Use the Wilson score interval as a practical default; it avoids the impossible limits that can arise from the plain Wald approximation and behaves better near 0 or 1. For very sparse or extreme counts, a small sample, or a requirement for exact binomial coverage, use an exact binomial interval and state its conservatism and assumptions. A success/failure count rule of thumb alone does not guarantee adequate Wald coverage.

CI for a Single Proportion

Confidence interval for a single population proportion.

p^+z1−α/222n1+z1−α/22n±z1−α/21+z1−α/22np^(1−p^)n+z1−α/224n2\frac{\hat p + \frac{z_{1-\alpha/2}^{2}}{2n}}{1+\frac{z_{1-\alpha/2}^{2}}{n}} \quad\pm\quad \frac{z_{1-\alpha/2}}{1+\frac{z_{1-\alpha/2}^{2}}{n}} \sqrt{\frac{\hat p(1-\hat p)}{n}+\frac{z_{1-\alpha/2}^{2}}{4n^2}}

Variables for CI for a Single Proportion

  • p^=x/n\hat p=x/n: Observed sample proportion
  • π\pi: Fixed population proportion being estimated
  • z1−α/2z_{1-\alpha/2}: Positive Standard Normal critical value with upper-tail area α/2\alpha/2
  • nn: Sample size

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

For a random sample from a normal population, the sample variance gives a Chi-Square interval with ν=n−1\nu=n-1 degrees of freedom. The interval is asymmetric because the Chi-Square distribution is skewed. If population normality is not a reasonable model, this exact interval is not justified.

CI for a Single Variance

Confidence interval for a single population variance.

νs2χ1−α/2,ν2≤σ2≤νs2χα/2,ν2,ν=n−1\frac{\nu s^2}{\chi^2_{1-\alpha/2,\nu}} \le \sigma^2 \le \frac{\nu s^2}{\chi^2_{\alpha/2,\nu}}, \qquad \nu=n-1

Variables

SymbolDescriptionUnit
s2s^2Sample variance-
nnSample size-
ν\nuDegrees of freedom, n−1-
χq,ν2\chi^2_{q,\nu}Left-tail quantile q of a Chi-Square distribution with ν=n−1 degrees of freedom-
σ2\sigma^2Population variance-
Chi-Square Quantiles Reverse in the Variance Bounds

Illustrative right-skewed Chi-Square distribution with ν=n−1 degrees of freedom and equal α/2 tails. The larger left-tail quantile χ²_(1−α/2,ν) divides the numerator for the lower variance bound; the smaller χ²_(α/2,ν) gives the upper bound. Curve is schematic, not sampled data.

A right-skewed chi-square curve marks lower and upper left-tail quantiles and shows their reversed order as denominators in the variance interval.

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

A prediction procedure for one future observation has a stated repeated-sampling prediction coverage (for example, 95%) when its assumptions hold. It targets an individual response from the same modeled population, so it accounts for both uncertainty in the estimated mean and individual variation.

Prediction Interval Formula

Interval for a single future observation from a normal population.

xˉ±t1−α/2,ν⋅s1+1n,ν=n−1\bar{x} \pm t_{1-\alpha/2,\nu} \cdot s \sqrt{1 + \frac{1}{n}}, \qquad \nu=n-1

Tolerance Interval

A tolerance procedure gives an interval intended to contain at least a specified population proportion PP with a stated confidence level γ\gamma, under its sampling and distribution assumptions. The required tolerance factor depends on the sample size, PP, γ\gamma, and the selected model; do not infer it from a confidence interval for the mean.

Choose an Interval for Its Target

Conceptual comparison of a confidence interval for a fixed population mean, a prediction interval for one future observation, and a tolerance interval intended to cover a specified population fraction P with confidence γ. Widths are schematic and not to scale; no values are measured.

Three schematic intervals target different quantities: a population mean, one future observation, and a specified fraction of a population.
Choose an Estimation Interval

Select an interval by the population quantity or future outcome it is intended to describe.

First define the target, sampling design, model assumptions, and confidence or population-coverage criteria. A confidence interval targets a fixed parameter; its confidence level describes repeated-sampling coverage, not probability about that fixed parameter after observing the sample. For a mean, use the positive upper-tail critical value z_(1−α/2) with known σ when the mean model supports it, or t_(1−α/2,ν) with estimated s under a normal sample or justified approximation. For independent Bernoulli data, use Wilson as a practical proportion interval; use exact Binomial methods for sparse/extreme counts or when exact coverage is required. The Chi-Square variance interval requires a normal-population model. Prediction intervals target one future observation under a supported predictive model. Tolerance intervals target a stated fraction P with confidence γ under an appropriate tolerance model. If target assumptions, criteria, or data are unresolved, hold.

Choose an Estimation IntervalSelect an interval by the population quantity or future outcome it is intended to describe.. First define the target, sampling design, model assumptions, and confidence or population-coverage criteria. A confidence interval targets a fixed parameter; its confidence level describes repeated-sampling coverage, not probability about that fixed parameter after observing the sample. For a mean, use the positive upper-tail critical value z_(1−α/2) with known σ when the mean model supports it, or t_(1−α/2,ν) with estimated s under a normal sample or justified approximation. For independent Bernoulli data, use Wilson as a practical proportion interval; use exact Binomial methods for sparse/extreme counts or when exact coverage is required. The Chi-Square variance interval requires a normal-population model. Prediction intervals target one future observation under a supported predictive model. Tolerance intervals target a stated fraction P with confidence γ under an appropriate tolerance model. If target assumptions, criteria, or data are unresolved, hold.. Define the interval target and study basis → Are target assumptions and data criteria resolved?; Are target assumptions and data criteria resolved? — Yes → Target a population mean?; Are target assumptions and data criteria resolved? — No → Hold: resolve the target, data, or model; Target a population mean? — Yes → Mean CI: z with known σ; t with estimated s; Target a population mean? — No → Target a population proportion?; Target a population proportion? — Yes → Wilson score; exact for sparse/extreme or exact-coverage needs; Target a population proportion? — No → Target a population variance?; Target a population variance? — Yes → Chi-Square variance CI; normal model, ν = n − 1; Target a population variance? — No → Target one future individual value?; Target one future individual value? — Yes → Prediction interval under a supported model; Target one future individual value? — No → Specify fraction P and confidence γ?; Specify fraction P and confidence γ? — Yes → Tolerance interval for P with confidence γ; Specify fraction P and confidence γ? — No → Hold: resolve the target, data, or model

Define the interval target and study basis → Are target assumptions and data criteria resolved?; Are target assumptions and data criteria resolved? — Yes → Target a population mean?; Are target assumptions and data criteria resolved? — No → Hold: resolve the target, data, or model; Target a population mean? — Yes → Mean CI: z with known σ; t with estimated s; Target a population mean? — No → Target a population proportion?; Target a population proportion? — Yes → Wilson score; exact for sparse/extreme or exact-coverage needs; Target a population proportion? — No → Target a population variance?; Target a population variance? — Yes → Chi-Square variance CI; normal model, ν = n − 1; Target a population variance? — No → Target one future individual value?; Target one future individual value? — Yes → Prediction interval under a supported model; Target one future individual value? — No → Specify fraction P and confidence γ?; Specify fraction P and confidence γ? — Yes → Tolerance interval for P with confidence γ; Specify fraction P and confidence γ? — No → Hold: resolve the target, data, or model

  • Define the interval target and study basis: terminator
  • Are target assumptions and data criteria resolved?: decision
  • Target a population mean?: decision
  • Mean CI: z with known σ; t with estimated s: document
  • Target a population proportion?: decision
  • Wilson score; exact for sparse/extreme or exact-coverage needs: document
  • Target a population variance?: decision
  • Chi-Square variance CI; normal model, ν = n − 1: document
  • Target one future individual value?: decision
  • Prediction interval under a supported model: document
  • Specify fraction P and confidence γ?: decision
  • Tolerance interval for P with confidence γ: document
  • Hold: resolve the target, data, or model: terminator

Interactive Simulation

The simulation illustrates a normal-based interval for a mean. Its displayed positive normal cutoff corresponds to z1−α/2z_{1-\alpha/2}; the graphic does not demonstrate repeated-sample coverage, a t interval when σ\sigma is unknown, or intervals for proportions and variances. Interpret confidence through the repeated-sampling procedure described above.

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 calculator for preliminary sample-size planning for a mean or proportion. Its result depends on the selected confidence level, target margin, and supplied standard deviation or planning proportion; verify those assumptions and the sampling design before using the value in a study.

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 method with a stated long-run coverage rate under its assumptions; it does not assign a probability to a fixed parameter after data are observed.
  • Mean CI (Unknown σ\sigma): The most common scenario; uses the sample standard deviation ss and the tt-distribution.
  • Proportion CI: Use the Wilson score interval as a practical default for independent Bernoulli data; consider exact binomial methods for sparse counts or when exact coverage is required.
  • Variance CI: Under a normal population model, use an asymmetric Chi-Square (χ2\chi^2) interval with the upper quantile in the lower-bound denominator.
  • Prediction vs. Confidence: A CI estimates the average, while a Prediction Interval estimates a single future value, making it much wider.

References