Sub topic 1
Pareto Charts and the 80/20 Rule: Origin and Meaning
A Pareto chart is a bar chart of categories sorted from largest to smallest, with a cumulative percentage line added. It shows which few categories account for most of a problem.
Prerequisites
This chapter assumes you can:
- Work with percentages and simple sums.
- Read a bar chart.
- Tally events into categories.
- Run basic Python and pandas (needed only for the code example).
The 80/20 rule: origin and meaning
In 1896, the Italian economist Vilfredo Pareto observed that about 20 percent of the people owned about 80 percent of the land. Later, the quality engineer Joseph Juran found a similar pattern in factory defects, where a small number of causes produced most of the problems. Juran called these causes the "vital few" and the rest the "useful many."
The 80/20 split is an approximation. Real data often gives splits such as 70/30 or 90/10. Treat the rule as a pattern to test against your data.
Counting problems by category
Choose categories that do not overlap, so each defect belongs to exactly one. Add an "Other" category for rare cases so the counts add up to the total. One inspection period produced these counts:
| Category | Count |
|---|---|
| Scratches | 42 |
| Misalignment | 27 |
| Wrong label | 11 |
| Cracks | 8 |
| Discoloration | 5 |
| Other | 7 |
The vital few and the useful many
Sorting the table shows that Scratches and Misalignment together make up most of the defects. These are the vital few. The remaining categories form the useful many, though in practice they may matter less.
Computing cumulative percentages
Sort the counts from largest to smallest. Then add each count to a running total, and divide that total by the grand total of 100. The cumulative percentages for this data are 42, 69, 80, 88, 93, and 100 percent.
import pandas as pd
defects = pd.Series({
"Scratches": 42,
"Misalignment": 27,
"Wrong label": 11,
"Cracks": 8,
"Discoloration": 5,
"Other": 7,
})
ranked = defects.drop("Other").sort_values(ascending=False)
data = pd.concat([ranked, defects[["Other"]]])
cum_pct = data.cumsum() / data.sum() * 100
print(pd.DataFrame({"count": data, "cumulative_pct": cum_pct.round(1)}))Exercise
In the defect table above, how many categories are needed to reach at least 80 percent of defects, and what is their cumulative share?
Show answer
Three categories (Scratches, Misalignment, and Wrong label) reach 80 percent of defects. Their cumulative share is exactly 80 percent.