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.
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 $X_1, X_2, \dots, X_n$ with population mean $\mu$ and finite variance $\sigma^2$, as sample size $n$ increases ($n \ge 30$ in practice), the distribution of the sample mean $\bar{X}$ approaches a normal distribution:
The standard deviation of the sampling distribution of $\bar{X}$ is the standard error:
Regardless of whether the underlying population is skewed or non-normal, sample means drawn from large samples ($n \ge 30$) can be analyzed using standard normal $Z$-transformations:
2. Confidence Intervals (CI)
A confidence interval provides an estimated range likely to contain an unknown population parameter at a specified confidence level $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 \ge 30$ by CLT): Where $z_{\alpha/2}$ is the standard normal critical value:
- 90% Confidence ($1 - \alpha = 0.90$): $z_{0.05} = 1.645$
- 95% Confidence ($1 - \alpha = 0.95$): $z_{0.025} = 1.960$
- 99% Confidence ($1 - \alpha = 0.99$): $z_{0.005} = 2.576$
B. Confidence Interval for Population Mean $\mu$ (Unknown $\sigma$, Small $n < 30$)
When population standard deviation $\sigma$ is unknown and sample size is small ($n < 30$), use Student's $t$-distribution with $df = n - 1$ degrees of freedom:
C. Confidence Interval for Population Proportion $p$
For sample proportion $\hat{p} = x / n$:
Worked Engineering Example: Small Sample $t$-Confidence Interval
Problem: A structural engineer tests $n = 16$ aluminum alloy samples, obtaining a sample mean yield strength $\bar{x} = 210.0\text{ MPa}$ and a sample standard deviation $s = 12.0\text{ MPa}$. Construct a 95% confidence interval for the true mean yield strength of the alloy. (Critical value $t_{0.025, 15} = 2.131$).
Solution: Step 1: Identify Parameters: $n = 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): (Wait, let me double check: 12 / 4 = 3.0; 2.131 * 3.0 = 6.393 MPa)
Step 3: Construct Confidence Interval bounds:
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.
| Term | Meaning |
|---|---|
| Point estimate | A single value computed from the sample, such as $\bar{x}$ for $\mu$ or $s$ for $\sigma$ |
| Estimator | The rule or formula; the estimate is the number it produces |
| Unbiased | The estimator's expected value equals the true parameter |
| Standard error | The standard deviation of the estimator itself: $\sigma/\sqrt{n}$ for the sample mean |
| Interval estimate | A range, with a stated confidence level, expected to contain the parameter |
Why the sample variance divides by $n-1$. Dividing by $n$ systematically underestimates the population variance, because deviations are measured from $\bar{x}$ — itself computed from the same data — rather than from the unknown true mean $\mu$. The $n-1$ divisor (Bessel's correction) removes that bias, and $n-1$ is the degrees of freedom: one is consumed by estimating the mean.
Choosing Between z and t
| Situation | Use | Critical value |
|---|---|---|
| $\sigma$ known (any $n$) | $z$ | 1.645 (90%), 1.960 (95%), 2.576 (99%) |
| $\sigma$ unknown, estimated by $s$ | $t$ with $\nu = n-1$ | From the $t$ table |
| $\sigma$ unknown but $n$ large (> ~30) | $t \approx z$ | The $t$ table converges on $z$ |
The $t$ 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 = 5$, $t_{0.025,4} = 2.776$ against $z = 1.960$: a 42% wider interval. By $n = 30$, $t_{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]$ 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\dfrac{\sigma}{\sqrt{n}}$ and solving:
Always round up. Rounding down would leave the margin of error larger than specified.
Because $n$ depends on $E^{-2}$:
| Change in required precision | Effect on $n$ |
|---|---|
| Halve the margin of error | 4× the sample size |
| Cut the margin to one-third | 9× the sample size |
| Halve the sample size | Margin of error grows by $\sqrt{2} = 1.41$ |
For a proportion with no prior estimate, use $p = 0.5$: it maximizes $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.
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)
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?
Which change makes a confidence interval for a population mean narrower?