← LibraryManufacturing Data AnalysisEngineering · MathematicsLesson 6/7← PrevNext →
ArticlePublished 11 Jul 2026Updated 12 Jul 20266 min readBy Kevin Jogin
KEVOS® Knowledge Library · Engineering → Mathematics

Engineering / Mathematics

Manufacturing Data Analysis

Twelve measurements never agree, and the disagreement is information. This page turns scattered readings into decisions: how much a process varies, what fraction will fall outside limits, how many tests are enough, and whether two machines genuinely differ.

  • Reading time · 6 min
  • 9 sections
  • Φ(z) table computed
  • One dataset, worked end to end
±1σ — 68.27 %±2σ — 95.45 %±3σ — 99.73 %-3σ-2σ-1σ+1σ+2σ+3σμ
Doc №KL-ENG-MATH-014
SectionEngineering → Mathematics
Sheet1 of 1
DrawnKEVOS®
Date2026-07-11

§1Populations, samples and why statistics

The population is everything the process will ever make; the sample is the dozen parts on the bench. Statistics is the discipline of saying something honest about the first from the second.

Two habits make the rest of the page work. First, distinguish variables data (a measured value — a diameter, a hardness) from attributes data (pass/fail counts); variables data carries far more information per part. Second, sample randomly: measuring five consecutive parts tells you about five minutes of the process, not about the shift. All formulas below assume the sample fairly represents the population — no arithmetic can repair a biased sample.

Contents

§2Describing a sample

Two numbers summarise a sample: where it sits (the mean) and how much it spreads (the standard deviation). The running dataset below is used for the rest of the page.

Running example — 12 turned shaft diameters, nominal 25.000 ± 0.010 mm
#mm#mm#mm#mm
125.003425.001725.0041025.002
224.998524.995824.9991124.996
325.007625.010925.0061225.005
Sample statistics x̄ = Σxn  s = Σ(x − x̄)² / (n − 1)  range = x_max − x_min
Example 1 — the numbers

n = 12: x̄ = 25.0022 mm, s = 0.0046 mm, range 0.015 mm. The divisor n − 1 (not n) compensates for estimating the mean from the same data — with it, s estimates the population spread without systematic optimism.

The median (middle value) resists outliers better than the mean; when the two disagree noticeably, the data is skewed or contaminated and deserves a look before any formula is applied.

Contents

§3Distribution curves

Stack a histogram of enough readings and a shape emerges. The shape is a fingerprint of the process.

A stable process fed by many small independent influences — tool deflection, temperature drift, material variation, none dominant — piles its output into the symmetric bell of the normal distribution; the central limit theorem all but guarantees it. Departures diagnose causes: a skewed tail suggests a one-sided constraint (a stop, a dwell); two humps suggest two machines or two setups mixed in one batch; a truncated edge suggests 100 % inspection has already removed one tail. Plot the histogram before trusting any statistic — the formulas of §4 onward assume the bell.

Contents

§4The normal curve and z-values

One curve, fully described by its mean μ and standard deviation σ. Convert any reading to “how many σ from the mean” and a single table answers every probability question.

Standardising z = x − μσ  Φ(z) = fraction of the population below x
-3σ-2σ-1σ+1σ+2σ+3σμ
Fig. 1. The standard normal curve. Between ±1σ lies 68.27 % of everything the process makes; ±2σ holds 95.45 %; ±3σ holds 99.73 % — the three numbers behind every control chart.
Cumulative normal Φ(z) — fraction below z standard deviations (computed)
zΦ(z)zΦ(z)
0.00.50001.60.9452
0.10.53981.70.9554
0.20.57931.80.9641
0.30.61791.90.9713
0.40.65542.00.9772
0.50.69152.10.9821
0.60.72572.20.9861
0.70.75802.30.9893
0.80.78812.40.9918
0.90.81592.50.9938
1.00.84132.60.9953
1.10.86432.70.9965
1.20.88492.80.9974
1.30.90322.90.9981
1.40.91923.00.9987
1.50.9332
Φ(−z) = 1 − Φ(z). Fraction outside ±z is 2[1 − Φ(z)].
Contents

§5Fraction outside limits

Given the sample’s mean and spread, the normal table predicts scrap before the batch is run.

Example 2 — scrap forecast for the running dataset

Limits 24.990–25.010, x̄ = 25.0022, s = 0.0046. z_low = (24.990 − 25.0022)/0.0046 = −2.66; z_high = (25.010 − 25.0022)/0.0046 = +1.71.

Below: Φ(−2.66) = 0.4 %. Above: 1 − Φ(1.71) = 4.3 %. Total ≈ 4.7 % outside limits — nearly all oversize.

Read the asymmetry, then act

The forecast is not just a number — it says the mean sits 2.2 µm high. Re-centring the process to 25.000 would drop both z-magnitudes to ±2.17 and the predicted scrap to about 3 % total; reducing s is the harder, slower project. Centre first.

Contents

§6How many tests are enough

Every extra test costs time; too few tests cost the truth. The sample-size formula makes the trade explicit before the testing starts.

Minimum n for margin E n = ( z s / E )²  z = 1.96 for 95 % confidence · E = acceptable error of the mean
Example 3 — pinning the mean to ±0.002 mm

With s = 0.0046 from the pilot sample: n = (1.96 × 0.0046 / 0.002)² = 20.1 → 21 measurements. Halving E would quadruple n — precision of the mean is bought at a quadratic price.

For small samples the normal z understates uncertainty because s itself is only an estimate; Student’s t replaces z, fattening the margin. The correction matters below n ≈ 30 and vanishes above:

Student’s t, two-tailed 95 % (computed by numerical integration)
ν = n − 1tν = n − 1t
24.3027122.1788
33.1824152.1314
42.7764202.0860
52.5706252.0595
62.4469302.0423
82.30601.9600
102.2281
Use t in place of 1.96 when s comes from the same small sample; at ν = ∞ the t collapses to the normal z.
Contents

§7Comparing two averages

Machine B’s sample mean will always differ from machine A’s. The test statistic asks the only fair question: is the gap large compared with the scatter?

Two-sample statistic z = x̄₁ − x̄₂s₁²/n₁ + s₂²/n₂  |z| > 1.96 ⇒ a real difference at 95 % confidence
Example 4 — is the second lathe cutting bigger?

Lathe A: x̄ = 25.0022, s = 0.0046, n = 12. Lathe B: x̄ = 25.0062, same s and n. z = 0.0040 / √(2 × 0.0046²/12) = 2.14 — beyond 1.96, so the 4 µm offset is real, not sampling luck, and B needs a tool offset. Had z landed at 1.2, the honest verdict would be “no detectable difference at this sample size”.

Statistically real ≠ practically important

With big samples, trivial differences become “significant”. Always state the difference in millimetres next to the verdict; the tolerance, not the z-value, decides whether anyone should care.

Contents

§8Machinability and hardness

Hardness is the quickest, cheapest test that predicts how a material will cut — imperfectly, but usefully.

Across a family of similar steels, allowable cutting speed falls roughly in inverse proportion to Brinell hardness: a batch arriving at 300 HB instead of the usual 200 HB warrants a first-guess speed reduction of about a third, then adjustment by trial. The relation is a correlation with scatter, not a law — microstructure, inclusions and work-hardening behaviour shift it, and two materials of equal hardness can machine very differently (compare a free-machining leaded steel with an austenitic stainless at the same HB). Treat hardness as the x-axis of a scatter plot built from your own shop’s data; the regression through that cloud, with its residual spread quantified by the tools of §2, is worth more than any handbook constant. The Machining Operations page of this Library carries the theme into speeds, feeds and Taylor tool-life economics.

Contents

§9Quick reference

The working core of the page on one card rack.

Sample

x̄ = Σx/n

s = √(Σ(x−x̄)²/(n−1))

Standardise

z = (x − μ)/σ

±1σ 68.3 % · ±2σ 95.4 % · ±3σ 99.7 %

Outside limits

P = Φ(z_low) + 1 − Φ(z_high)

Sample size

n = (zs/E)²

use t below n ≈ 30

Two means

z = (x̄₁−x̄₂)/√(s₁²/n₁+s₂²/n₂)

real if |z| > 1.96

Hardness rule

speed ∝ 1/HB (first guess)

then trust your own scatter plot

Contents

Continue learning

MatricesArticle · MathematicsNEXT LESSON →Engineering EconomicsArticle · MathematicsSolution of TrianglesArticle · MathematicsGeometryArticle · Mathematics