π Statistics & Probability
Real measurements are never perfectly tidy β machines drift, materials vary, and every batch is slightly different from the last. Statistics is the toolkit for making sense of that variation: summarising it, quantifying it, and using it to predict how one variable behaves in relation to another.
Key Words You'll Meet Throughout
πΊοΈ How these topics connect
- Data & presentation β the raw material: what type of data you have, and how to display it clearly (bar charts, histograms, cumulative frequency curves).
- Central tendency β mean, median and mode: the single "typical" value that best represents a dataset.
- Dispersion β variance, standard deviation and range: how tightly clustered (or spread out) the data actually is around that typical value.
- Linear regression β when you have two related variables, the equation of the straight line that best predicts one from the other.
- Correlation β a single number telling you how trustworthy that regression line actually is.
- Engineering applications β using spreadsheets and calculators to run all of the above on real production data, and using probability distributions to model quality and reliability.
Data & Presentation
Before calculating anything, you need to know what kind of data you're holding, and how best to show it visually.
Key Words β What Do They Mean?
Discrete vs continuous, grouped vs ungrouped
- Discrete data β countable, exact: number of rejected parts in a batch, number of machines on a line.
- Continuous data β measured, can take any value in a range: shaft diameter, tensile strength, cycle time.
- Ungrouped data β every individual measurement listed separately.
- Grouped data β sorted into class intervals (e.g. 10β19, 20β29β¦) when there's too much raw data to work with individually.
Choosing how to present data
- Bar chart β comparing separate categories (e.g. defect counts by cause).
- Pie chart β showing proportions of a whole (e.g. % of production time by product line).
- Histogram β showing the distribution shape of continuous, grouped data β bars touch, since there are no gaps between class intervals.
- Cumulative frequency curve β plotting the running total of frequencies; used to read off the median and quartiles directly from the graph.
- Scatter diagram β plotting pairs of related values, to spot a relationship before running regression or correlation.
Measures of Central Tendency
Three ways to describe the "typical" value of a dataset β each tells a slightly different story.
Key Words β What Do They Mean?
Arithmetic mean
Median and mode
The median is the middle value once the data is ordered (average the two middle values if N is even). The mode is simply the value that occurs most often.
Mean, Median & Mode Finder
Measures of Dispersion
Two datasets can share the same mean but be wildly different in spread β dispersion measures quantify exactly how spread out the data is.
Key Words β What Do They Mean?
Variance and standard deviation
Range and inter-percentile ranges
The range is the simplest measure of spread, but it's entirely determined by the two most extreme values, so a single rogue value can distort it badly. Inter-percentile ranges (like the inter-quartile range, IQR) avoid this by ignoring the extreme tails of the data:
where Q1 and Q3 are the values one quarter and three quarters of the way through the ordered data.
Range & Standard Deviation Finder
Linear Regression
Finding the equation of the straight line that best fits a scatter of paired data β used to predict one variable from another.
Key Words β What Do They Mean?
The regression line formula
| x | y | xy | xΒ² |
|---|---|---|---|
| 20 | 60 | 1200 | 400 |
| 30 | 48 | 1440 | 900 |
| 40 | 35 | 1400 | 1600 |
| 50 | 25 | 1250 | 2500 |
| 60 | 15 | 900 | 3600 |
The negative gradient makes physical sense: as cutting speed increases, tool life decreases.
Using spreadsheets and calculators
In practice, nobody works out Ξ£xy and Ξ£xΒ² by hand for real production data. Instead:
- A spreadsheet's trendline feature fits a line (or curve) to a scatter chart and can display its equation directly.
- A scientific calculator's regression mode gives m and c directly once the paired data is entered.
- Spreadsheets can also compare linear, logarithmic, exponential and power trendlines β useful when the data clearly isn't a straight line, and you need to identify which curve actually fits best.
Regression Line Calculator
Correlation
A single number that tells you how strong β and how trustworthy β a linear relationship between two variables really is.
Key Words β What Do They Mean?
Pearson's correlation coefficient
r β β0.998 is extremely close to β1: an almost perfect negative correlation, meaning the regression line is an outstandingly reliable model for this relationship.
Interpreting the strength of r
| |r| value | Interpretation |
|---|---|
| 0.9 β 1.0 | Very strong linear relationship |
| 0.7 β 0.9 | Strong linear relationship |
| 0.4 β 0.7 | Moderate linear relationship |
| 0.0 β 0.4 | Weak or negligible linear relationship |
Remember: a strong correlation shows two variables move together predictably β it does not prove that one causes the other. Both could be driven by some third factor entirely.
Correlation Coefficient Calculator
Engineering Applications
Where statistics genuinely earns its keep on the shop floor β quality control, tolerance, and predicting failure.
Key Words β What Do They Mean?
The normal distribution and quality control
Many manufacturing measurements β shaft diameters, fill weights, tensile strengths β cluster symmetrically around a mean, following (approximately) a normal distribution. This is why standard deviation is so useful in quality control: roughly 68% of values fall within Β±1 standard deviation of the mean, about 95% within Β±2, and about 99.7% within Β±3.
Process capability
A process is only as good as its ability to reliably produce parts within tolerance. Process capability compares the width of the tolerance band to the natural spread of the process:
Predictive applications of regression
The same regression technique used earlier for cutting speed vs tool life is exactly how manufacturers build predictive models for things like: tool wear against machining time, energy consumption against production rate, or defect rate against a process parameter like temperature or pressure. Once you have a validated regression line with a strong correlation coefficient, you can use it to forecast β substituting a new x value to predict the expected y, well before running an actual test.
Practice
A mixed set of problems across all the topics β working from straightforward substitution through to multi-step engineering scenarios.