Sub topic 1
Processes, inputs and outputs
Prerequisites
This chapter assumes you know basic arithmetic, what a mean (average) is, and that you can read a short Python script. You do not need prior statistics training.
Processes, inputs and outputs
A process is a set of steps that turns inputs into outputs. A bakery turns flour, water and yeast (inputs) into loaves (outputs). A machine shop turns steel bars into shafts. Each output can be measured, such as a loaf's weight or a shaft's diameter.
Why no two outputs are identical
No process gives exactly the same output every time. Two shafts cut from the same bar differ by a few microns. This difference is called variation. It is normal, and it is never zero.
Where variation comes from
Variation enters a process through its inputs and its conditions. Common sources are:
- People: skill, fatigue, and how each person follows a method
- Machines: wear, vibration, and calibration
- Materials: batch differences and moisture content
- Methods: the order of steps and the settings used
- Measurement: gauge error and inconsistent reading technique
- Environment: temperature and humidity
Common causes and special causes
Variation has two kinds of cause:
- Common-cause variation is the steady background noise of a stable process. It comes from many small, expected factors.
- Special-cause variation is an unusual event with a specific source, such as a worn tool or a wrong material batch.
Treat them differently. Common-cause variation calls for changing the process itself. Special-cause variation calls for finding and removing the specific event. Reacting to ordinary noise as if it were a special cause is called tampering, and it usually makes results worse.
Measuring spread: mean and standard deviation
The mean is the average of the measurements. The sample standard deviation measures how far individual values typically sit from that average.
from statistics import mean, stdev
# Shaft diameters in mm from one production run
measurements = [10.02, 9.98, 10.05, 9.97, 10.01, 10.03, 9.99, 10.00, 10.04, 9.96]
print("mean:", mean(measurements))
print("sample standard deviation:", stdev(measurements))Exercise
Exercise
A process produces five parts with diameters 5.1, 4.9, 5.0, 5.2 and 4.8 mm. Which kind of variation would a single part with a diameter of 6.0 mm most likely indicate, and why?
Show answer
Special-cause variation. The value lies far outside the pattern of the other four parts, so a specific event such as a broken tool or wrong material is the likely reason.