Selecting the right probability model and hypothesis test is the decisive step in engineering quality control, laboratory data analysis, and statistics exams. Most errors do not come from arithmetic; they come from applying a z-test when population variance is unknown, confusing one-tailed and two-tailed critical cutoffs, or mismatching discrete count data with a continuous density.
Common Discrete and Continuous Probability Distributions
Every standard parametric distribution is defined by its probability mass function (PMF, discrete) or probability density function (PDF, continuous), along with its exact mean E[X] and variance Var(X).
| Distribution | PMF / PDF | Mean μ |
Variance σ² |
Modeling Use |
|---|---|---|---|---|
Bernoulli(p) |
p^x(1−p)^(1−x) (x∈{0,1}) |
p |
p(1−p) |
Single pass/fail trial |
Binomial(n, p) |
C(n,k)p^k(1−p)^(n−k) |
np |
np(1−p) |
Defect count in n trials |
Poisson(λ) |
e^(−λ) λ^k / k! |
λ |
λ |
Arrivals per fixed interval |
Geometric(p) |
(1−p)^(k−1) p (k≥1) |
1/p |
(1−p)/p² |
Trials to first success |
Uniform(a, b) |
1/(b−a) on [a, b] |
(a+b)/2 |
(b−a)²/12 |
Quantization error |
Exponential(λ) |
λ e^(−λx) (x≥0) |
1/λ |
1/λ² |
Inter-arrival wait time |
Normal(μ, σ) |
[1/(σ√2π)] exp(−(x−μ)²/(2σ²)) |
μ |
σ² |
Measurement noise, means |
Chi-Square(k) |
Sum of k squared N(0,1) |
k |
2k |
Variance & fit tests |
For continuous variables, probabilities equal areas under the PDF (P(a ≤ X ≤ b) = ∫_a^b f(x) dx), so any single point has probability zero; review definite integration in the calculus derivatives and integrals quick reference.
Standard Normal Z-Score and Student’s t Critical Tables
Any normal variable X ~ N(μ, σ²) maps to Z ~ N(0, 1) via Z = (X − μ) / σ. By the Central Limit Theorem, the sample mean X̄ of n independent observations has mean μ and standard error SE = σ / √n.
z |
Φ(z) = P(Z ≤ z) |
Upper Tail P(Z > z) |
Common Role |
|---|---|---|---|
0.000 |
0.5000 |
0.5000 |
Mean and median |
1.000 |
0.8413 |
0.1587 |
±1σ covers 68.27% |
1.282 |
0.9000 |
0.1000 |
One-tailed α = 0.10 (80% CI) |
1.645 |
0.9500 |
0.0500 |
One-tailed α = 0.05 (90% CI) |
1.960 |
0.9750 |
0.0250 |
Two-tailed α = 0.05 (95% CI) |
2.000 |
0.9772 |
0.0228 |
±2σ covers 95.45% |
2.326 |
0.9900 |
0.0100 |
One-tailed α = 0.01 (98% CI) |
2.576 |
0.9950 |
0.0050 |
Two-tailed α = 0.01 (99% CI) |
3.000 |
0.9987 |
0.0013 |
±3σ covers 99.73% |
When population σ is unknown and replaced by sample standard deviation s = √[Σ(x_i − x̄)² / (n − 1)], use Student’s t critical values indexed by degrees of freedom (df):
Degrees of Freedom (df) |
Two-Tailed α = 0.10 (90% CI) |
Two-Tailed α = 0.05 (95% CI) |
Two-Tailed α = 0.01 (99% CI) |
|---|---|---|---|
5 |
2.015 |
2.571 |
4.032 |
10 |
1.812 |
2.228 |
3.169 |
15 |
1.753 |
2.131 |
2.947 |
20 |
1.725 |
2.086 |
2.845 |
30 |
1.697 |
2.042 |
2.750 |
60 |
1.671 |
2.000 |
2.660 |
∞ (Normal z) |
1.645 |
1.960 |
2.576 |
Hypothesis-Test Decision Table
Use the experimental design, outcome variable type, and variance information to match the test statistic before plugging in numbers:
| Research Question | Data & Variance Condition | Test | Test Statistic |
|---|---|---|---|
Compare one mean to target μ₀ |
Continuous, σ known |
One-sample z-test |
z = (x̄ − μ₀) / (σ / √n) |
Compare one mean to target μ₀ |
Continuous, σ unknown |
One-sample t-test (df = n−1) |
t = (x̄ − μ₀) / (s / √n) |
| Compare two independent group means | Continuous, unequal variances allowed | Welch two-sample t-test |
t = (x̄₁ − x̄₂) / √(s₁²/n₁ + s₂²/n₂) |
| Compare before/after measurements on same units | Paired differences d_i = x_i − y_i |
Paired t-test (df = n−1) |
t = d̄ / (s_d / √n) |
Compare one sample proportion to p₀ |
Binary counts (np₀ ≥ 10, n(1−p₀) ≥ 10) |
One-proportion z-test |
z = (p̂ − p₀) / √[p₀(1−p₀)/n] |
| Compare counts across categories | Categorical frequency table | Chi-square test | χ² = Σ [(O_i − E_i)² / E_i] |
Compare means across k ≥ 3 groups |
Continuous, approx. equal variance | One-way ANOVA (F-test) |
F = MS_between / MS_within |
In two-sample experiments, Welch’s t-test is the safer default because it remains valid when population variances differ without sacrificing appreciable power when variances are equal. For combining replicate experimental standard error with instrument calibration uncertainty, see significant figures and error propagation.
Worked Statistical Examples
Example 1: One-Sample t-Test and 95% Confidence Interval
Problem: A CNC lathe machines steel dowel pins to a nominal diameter μ₀ = 25.00 mm. A random sample of n = 16 pins yields x̄ = 25.14 mm and sample standard deviation s = 0.24 mm. Test H₀: μ = 25.00 mm against the two-sided alternative H₁: μ ≠ 25.00 mm at α = 0.05, and construct the 95% confidence interval for μ.
Standard error: SE = s / √n = 0.24 / √16 = 0.24 / 4 = 0.0600 mm
Test statistic: t = (25.14 − 25.00) / 0.0600 = +2.333
Critical value: df = 16 − 1 = 15, two-tailed α = 0.05 → t_crit = ±2.131
Decision: |2.333| > 2.131 → Reject H₀ at α = 0.05
Now construct the 95% confidence interval:
Margin of error: ME = t_crit × SE = 2.131 × 0.0600 = 0.1279 mm
95% CI: 25.14 ± 0.1279 = [25.012 mm, 25.268 mm]
Because 25.00 mm lies just outside [25.012, 25.268], the confidence interval confirms the hypothesis test: the evidence indicates a statistically significant positive diameter bias of roughly +0.14 mm.
Example 2: Normal Tail Probability and Poisson Event Counts
Problem: (a) Precision resistors follow N(μ = 1,000 Ω, σ = 20 Ω). Find the probability a randomly selected resistor exceeds 1,035 Ω. (b) A telemetry gateway logs hardware timeouts as a Poisson process with mean rate λ = 3.0 per day. Compute the probability of observing zero timeouts and at least two timeouts in a single day.
(a) Standardize: z = (1,035 − 1,000) / 20 = +1.75
From normal table: Φ(1.75) = 0.9599
Upper tail: P(X > 1,035) = 1 − 0.9599 = 0.0401 (4.01%)
(b) Poisson(λ = 3.0):
P(K = 0) = e⁻³ · 3⁰ / 0! = 0.0498 (4.98%)
P(K = 1) = e⁻³ · 3¹ / 1! = 0.1494 (14.94%)
P(K ≥ 2) = 1 − [P(K = 0) + P(K = 1)] = 1 − 0.1991 = 0.8009 (80.09%)
Mastering statistical test selection under exam time limits benefits strongly from interleaved mixed-problem drills rather than practicing one distribution at a time; see the cognitive psychology evidence in spaced repetition and active recall.