PracticeVideosBlogFlashcards

2.3 Estimation, Confidence Intervals, and Sample Sizes

Key Takeaways

  • The sample variance divides by n-1 rather than n because one degree of freedom is consumed estimating the mean, which removes the downward bias.

  • Use the z critical value when the population standard deviation is known and the t value with n-1 degrees of freedom when it is estimated from the sample.

  • The 95% two-sided z critical value is 1.960 and the 99% value is 2.576.

  • A 95% confidence level describes the long-run success rate of the procedure, not the probability that this particular interval contains the parameter.

  • Required sample size varies with the inverse square of the margin of error, so halving the allowable error quadruples the sample size, and results are always rounded up.

Last updated: August 2026

2.3 Estimation, Confidence Intervals, and Sample Sizes

Statistical inference enables engineers to draw valid conclusions about population parameters from sample measurements. This section covers the Central Limit Theorem, confidence interval construction, hypothesis testing methodology for population means, and simple linear regression and correlation analysis as specified in the NCEES FE Reference Handbook.


1. Central Limit Theorem (CLT)

The Central Limit Theorem is the foundation of inferential statistics. It states that for any independent, identically distributed (i.i.d.) random variables X1,X2,…,XnX_1, X_2, \dots, X_n with population mean μ\mu and finite variance σ2\sigma^2, as sample size nn increases (n≥30n \ge 30 in practice), the distribution of the sample mean Xˉ\bar{X} approaches a normal distribution:

Xˉ∼N(μ,σ2n)\bar{X} \sim N\left(\mu, \frac{\sigma^2}{n}\right)

The standard deviation of the sampling distribution of Xˉ\bar{X} is the standard error:

σxˉ=σn\sigma_{\bar{x}} = \frac{\sigma}{\sqrt{n}}

Regardless of whether the underlying population is skewed or non-normal, sample means drawn from large samples (n≥30n \ge 30) can be analyzed using standard normal ZZ-transformations:

Z=Xˉ−μσ/nZ = \frac{\bar{X} - \mu}{\sigma / \sqrt{n}}
Loading diagram...
Hypothesis Testing & Linear Regression Decision Workflow

2. Confidence Intervals (CI)

A confidence interval provides an estimated range likely to contain an unknown population parameter at a specified confidence level 1−α1 - \alpha (such as 90%, 95%, or 99%).

A. Confidence Interval for Population Mean μ\mu (Known σ\sigma)

When population standard deviation σ\sigma is known (or n≥30n \ge 30 by CLT):

CI: xˉ±zα/2(σn)\text{CI: } \bar{x} \pm z_{\alpha/2} \left( \frac{\sigma}{\sqrt{n}} \right)

Where zα/2z_{\alpha/2} is the standard normal critical value:

  • 90% Confidence (1−α=0.901 - \alpha = 0.90): z0.05=1.645z_{0.05} = 1.645
  • 95% Confidence (1−α=0.951 - \alpha = 0.95): z0.025=1.960z_{0.025} = 1.960
  • 99% Confidence (1−α=0.991 - \alpha = 0.99): z0.005=2.576z_{0.005} = 2.576

B. Confidence Interval for Population Mean μ\mu (Unknown σ\sigma, Small n<30n < 30)

When population standard deviation σ\sigma is unknown and sample size is small (n<30n < 30), use Student's tt-distribution with df=n−1df = n - 1 degrees of freedom:

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

C. Confidence Interval for Population Proportion pp

For sample proportion p^=x/n\hat{p} = x / n:

CI: p^±zα/2p^(1−p^)n\text{CI: } \hat{p} \pm z_{\alpha/2} \sqrt{\frac{\hat{p}(1 - \hat{p})}{n}}

Worked Engineering Example: Small Sample tt-Confidence Interval

Problem: A structural engineer tests n=16n = 16 aluminum alloy samples, obtaining a sample mean yield strength xˉ=210.0 MPa\bar{x} = 210.0\text{ MPa} and a sample standard deviation s=12.0 MPas = 12.0\text{ MPa}. Construct a 95% confidence interval for the true mean yield strength of the alloy. (Critical value t0.025,15=2.131t_{0.025, 15} = 2.131).

Solution: Step 1: Identify Parameters: n=16,df=n−1=15,xˉ=210.0 MPa,s=12.0 MPa,t0.025,15=2.131n = 16, \quad df = n - 1 = 15, \quad \bar{x} = 210.0\text{ MPa}, \quad s = 12.0\text{ MPa}, \quad t_{0.025, 15} = 2.131

Step 2: Calculate Margin of Error (ME): ME=tα/2,df×(sn)=2.131×(12.016)=2.131×3.0=6.393 MPaME = t_{\alpha/2, df} \times \left( \frac{s}{\sqrt{n}} \right) = 2.131 \times \left( \frac{12.0}{\sqrt{16}} \right) = 2.131 \times 3.0 = 6.393\text{ MPa} (Wait, let me double check: 12 / 4 = 3.0; 2.131 * 3.0 = 6.393 MPa)

Step 3: Construct Confidence Interval bounds: Lower Limit=210.0−6.393=203.607 MPa\text{Lower Limit} = 210.0 - 6.393 = 203.607\text{ MPa} Upper Limit=210.0+6.393=216.393 MPa\text{Upper Limit} = 210.0 + 6.393 = 216.393\text{ MPa} 95% CI: [203.61,216.39] MPa95\% \text{ CI: } [203.61, 216.39]\text{ MPa}

Point Estimation and the Language of Estimators

NCEES lists "Estimation (e.g., point, confidence intervals)" as the first Probability and Statistics sub-topic, so the vocabulary itself is examinable.

TermMeaning
Point estimateA single value computed from the sample, such as xˉ\bar{x} for μ\mu or ss for σ\sigma
EstimatorThe rule or formula; the estimate is the number it produces
UnbiasedThe estimator's expected value equals the true parameter
Standard errorThe standard deviation of the estimator itself: σ/n\sigma/\sqrt{n} for the sample mean
Interval estimateA range, with a stated confidence level, expected to contain the parameter

Why the sample variance divides by n−1n-1. Dividing by nn systematically underestimates the population variance, because deviations are measured from xˉ\bar{x} — itself computed from the same data — rather than from the unknown true mean μ\mu. The n−1n-1 divisor (Bessel's correction) removes that bias, and n−1n-1 is the degrees of freedom: one is consumed by estimating the mean.

s2=∑(xi−xˉ)2n−1(unbiased)s^2 = \frac{\sum(x_i-\bar{x})^2}{n-1} \qquad\text{(unbiased)}

Choosing Between z and t

SituationUseCritical value
σ\sigma known (any nn)zz1.645 (90%), 1.960 (95%), 2.576 (99%)
σ\sigma unknown, estimated by sstt with ν=n−1\nu = n-1From the tt table
σ\sigma unknown but nn large (> ~30)t≈zt \approx zThe tt table converges on zz
xˉ±zσnxˉ±tα/2, n−1sn\bar{x} \pm z\frac{\sigma}{\sqrt{n}} \qquad\qquad \bar{x} \pm t_{\alpha/2,\,n-1}\frac{s}{\sqrt{n}}

The tt distribution has heavier tails than the normal, so its critical values are always larger — the interval is wider, which is the honest price of not knowing σ\sigma. At n=5n = 5, t0.025,4=2.776t_{0.025,4} = 2.776 against z=1.960z = 1.960: a 42% wider interval. By n=30n = 30, t0.025,29=2.045t_{0.025,29} = 2.045, only 4% wider.

What a Confidence Level Actually Means

A 95% confidence interval means that if the sampling procedure were repeated many times, 95% of the intervals so constructed would contain the true parameter. It does not mean there is a 95% probability that the parameter lies inside this particular interval — the parameter is a fixed constant, and this interval either contains it or does not.

This distinction is a favorite conceptual item. Two related traps:

  • A confidence interval for the mean is much narrower than the spread of individual values. An interval of [48.2,51.8][48.2, 51.8] for the mean does not imply that 95% of individual measurements fall in that range.
  • Raising the confidence level widens the interval. You cannot become more confident and more precise at the same time without collecting more data.

Sample Size Determination

Setting the margin of error E=zσnE = z\dfrac{\sigma}{\sqrt{n}} and solving:

n=(zσE)2(for a mean),n=z2p(1−p)E2(for a proportion)n = \left(\frac{z\sigma}{E}\right)^2 \qquad\text{(for a mean)}, \qquad n = \frac{z^2p(1-p)}{E^2} \qquad\text{(for a proportion)}

Always round up. Rounding down would leave the margin of error larger than specified.

Because nn depends on E−2E^{-2}:

Change in required precisionEffect on nn
Halve the margin of error4× the sample size
Cut the margin to one-third9× the sample size
Halve the sample sizeMargin of error grows by 2=1.41\sqrt{2} = 1.41

For a proportion with no prior estimate, use p=0.5p = 0.5: it maximizes p(1−p)p(1-p) at 0.25 and therefore gives the conservative (largest) required sample size, guaranteeing the target margin whatever the true proportion turns out to be.

Test Your Knowledge

A sample of 16 structural steel specimens exhibits a mean ultimate tensile strength of 450 MPa with a sample standard deviation of 20 MPa. Assuming the population strength is normally distributed, what is the 95% confidence interval for the mean population strength? (Use t_0.025, 15 = 2.131)

A

450 +/- 10.655 MPa ([439.345, 460.655] MPa)

B

450 +/- 9.800 MPa ([440.200, 459.800] MPa)

C

450 +/- 5.328 MPa ([444.672, 455.328] MPa)

D

450 +/- 2.131 MPa ([447.869, 452.131] MPa)

Test Your Knowledge

An engineer wants to estimate a population mean to within +/- 2.0 units at 95% confidence, knowing the population standard deviation is 12.0. What minimum sample size is required?

A

139

B

12

C

35

D

97

Test Your Knowledge

Which change makes a confidence interval for a population mean narrower?

A

Lowering the confidence level from 99% to 90%

B

Raising the confidence level from 90% to 99%

C

Reducing the sample size

D

Switching from the z distribution to the t distribution at the same sample size

Sections you finish are checked off in the contents.