When a problem shows up in many forms (dozens of ticket types, defect types, or reasons for complaints), it's impossible to tackle them all at once. You don't need to, either: almost always, a few categories account for most of the effect. Pareto analysis is the tool that lets you see this with data: it sorts the categories from largest to smallest, calculates what share of the total they add up to, and separates the "vital few" from the "trivial many." It was mentioned in passing in the "Prioritizing Problems" lesson, and in the previous lesson you saw that the support team's Ishikawa diagram left a question pending: of the 1,740 tickets in Q3 2027, which types account for most of the volume and the time of Pablo's team? In this lesson, you'll learn where the 80/20 principle comes from and why it isn't always 80/20, how to build a Pareto chart step by step, how to calculate it with a small Python script, how to tell the difference between a Pareto by frequency and a Pareto by cost, how to do a two-level Pareto, and how to avoid the mistakes that make it misleading.
Contents
- The Pareto principle: from 80/20 to the "vital few"
- Why it isn't always 80/20
- Where it fits in the problem-solving process
- Building a Pareto chart step by step
- Calculating the Pareto with Python
- Pareto by frequency and Pareto by cost
- Two-level Pareto: stratification
- Mistakes that make a Pareto misleading
- TechSolutions: Q3 support tickets
- Pareto analysis template
- The Pareto principle: from 80/20 to the "vital few"
In the late 19th century, the Italian economist Vilfredo Pareto observed that about 80% of the land in Italy belonged to 20% of the population. Decades later, Joseph Juran, one of the great names in quality management, generalized the observation: in almost any quality problem, a few causes produce most of the defects. He called those causes the "vital few" and the rest the "trivial many" (he later preferred "useful many," so as not to dismiss them). It was Juran who named the idea the "Pareto principle."
Typical examples in tech teams:
| Area | Common observation |
|---|---|
| Production bugs | A few modules account for most of the failures |
| Support | A few ticket types make up most of the volume |
| Performance | A few queries take up most of the database time |
| Customers | A few customers generate most of the revenue (or of the incidents) |
| Technical debt | A few files account for most of the changes and bugs |
The practical consequence is very powerful: if you act on the vital few, you solve most of the problem with a fraction of the effort. That's why Pareto is a data-driven prioritization tool.
- Why it isn't always 80/20
"80/20" is a figure of speech, not a law of nature. It's worth being clear on three ideas:
- The two numbers don't have to add up to 100. One is a percentage of the categories and the other, of the effect. It could be 80/20, 70/30, 90/10, or 80/50.
- Concentration depends on the problem. Some problems are highly concentrated (two defect types explain 90%) and others are spread out (it takes 6 out of 10 categories to reach 80%).
- A lack of concentration is information too. If the Pareto comes out "flat" (all the bars about the same), there are no vital few: the problem lies in the system as a whole, and tackling one category after another will achieve little. Remember the distinction between common and special causes from the "Monitoring and Evaluation" lesson.
| Pareto shape | What it means | What to do |
|---|---|---|
| Highly concentrated (1-2 categories exceed 70%) | There are clear vital few | Tackle those categories first |
| Moderate (3-5 categories reach 80%) | Partial concentration | Choose among the top ones based on cost and ease; dig deeper with a second level |
| Flat (it takes almost all of them to reach 80%) | There are no vital few, or the categories are badly defined | Review the categories; if they're fine, look for common causes in the system |
- Where it fits in the problem-solving process
| Phase | Use of Pareto | Example |
|---|---|---|
| Before Phase 1 | Choose which problem to tackle among many | Which type of incident costs us the most? |
| 1. Identify | Scope and frame with data | "45% of tickets are of two types" |
| 2. Analyze causes | Main use: quantify which causes or categories weigh the most, after an Ishikawa diagram or a classification | Which causes of QA bounce-backs are the most frequent? |
| 4. Evaluate and select | Estimate the effect of a solution based on the share of the total it targets | "If we eliminate category A, we reduce it by 28% at most" |
| 6. Monitor | Compare the Pareto before and after | Has the targeted bar gone down? Has the order changed? |
Notice the relationship with the Ishikawa diagram: Ishikawa broadens the search for possible causes, and Pareto measures which ones weigh the most. Together, they're one of the most classic combinations in quality management.
- Building a Pareto chart step by step
Step 1. Define the question and the unit of measure. What do you want to know, and what are you going to count: number of tickets, hours, euros, customers affected? And over what period? Example: "Which ticket types account for most of the support volume between July and September 2027?"
Step 2. Define the categories. They must be clear, with no overlaps, and with an operational definition (a rule that allows two people to classify the same case the same way). Between 5 and 12 categories is usually a good size.
Step 3. Collect and classify the data. With a check sheet or from a system. If the data already exists but is poorly classified, take a sample and check whether two people agree when classifying it.
Step 4. Count the cases in each category.
Step 5. Sort from largest to smallest. The "Other" category, if there is one, always goes last, even if it's large.
Step 6. Calculate each category's percentage of the total and the cumulative percentage.
Step 7. Draw the bars (from largest to smallest) and the cumulative percentage line, with a horizontal line at 80%.
Step 8. Interpret: how many categories does it take to reach 80%? Is the Pareto concentrated, moderate, or flat? Is "Other" too large?
A small example, in a table: the 30 QA bounce-backs on ERP integrations you saw in the "Cause and Effect Analysis" lesson.
| Category | Bounce-backs | % | Cumulative % |
|---|---|---|---|
| ERP data or configuration not accounted for | 13 | 43% | 43% |
| Vague expectations or acceptance criteria | 10 | 33% | 77% |
| Code defects | 7 | 23% | 100% |
| Total | 30 |
Explanation: with only three categories, the Pareto confirms what was already visible (the first two add up to 77%), but it adds little else. Pareto shines when there are many categories and it isn't obvious which ones weigh the most. At the time, Laura's group was right not to spend more time on it and to move on to the whys of each category.
- Calculating the Pareto with Python
For a technical audience, a small script is the fastest way to calculate the Pareto and repeat it every quarter. This is the one you prepare for the support analysis (the data is explained in Section 9):
# Support tickets from July to September 2027 by category
# (category, number of tickets, average handling minutes per ticket)
tickets = [
("Usage questions", 486, 12),
("Bugs after a release", 298, 35),
("Carrier configuration", 262, 28),
("Failed order import", 214, 40),
("Billing and account", 148, 15),
("Labels and printing", 112, 18),
("Access and passwords", 76, 6),
("Shopper notifications", 64, 20),
("When will my integration be ready?", 22, 10),
("Other", 58, 15),
]
THRESHOLD = 80 # cumulative percentage that marks the "vital few"
def pareto(data, title):
"""Sorts from largest to smallest, calculates % and cumulative %, and draws bars."""
total = sum(value for _, value in data)
other = [pair for pair in data if pair[0] == "Other"]
rest = [pair for pair in data if pair[0] != "Other"]
ordered = sorted(rest, key=lambda pair: pair[1], reverse=True) + other
largest = ordered[0][1]
cumulative = 0
print(f"{title} (total: {total:,.0f})")
for category, value in ordered:
cumulative += value
pct = 100 * value / total
pct_cum = 100 * cumulative / total
bar = "#" * round(30 * value / largest)
mark = " <" if pct_cum - pct < THRESHOLD else ""
print(f"{category:<36}{value:>6.0f} {pct:5.1f}% {pct_cum:6.1f}% {bar}{mark}")
print()
# Pareto 1: by frequency (number of tickets)
pareto([(c, n) for c, n, _ in tickets], "Pareto by number of tickets")
# Pareto 2: by cost (handling hours = tickets x minutes / 60)
pareto([(c, n * m / 60) for c, n, m in tickets], "Pareto by handling hours")Line-by-line explanation:
tickets = [...]: a list of tuples. Each tuple has three elements: the category name, the number of tickets, and the average minutes the team spends on each one. Storing the minutes lets you calculate the Pareto by cost later without changing the data.THRESHOLD = 80: a constant with the percentage that separates the vital few. Writing it in uppercase is a Python convention to indicate that it doesn't change. If you want to try 70%, you only change this line.def pareto(data, title):: defines a reusable function. It receives a list of(category, value)pairs and a title. That way, the same code works for counting tickets or adding up hours.total = sum(value for _, value in data): adds up all the values. The_is a conventional name for "I'm not using this part" (here, the category).other = [...]andrest = [...]: separate the "Other" category from the rest with two list comprehensions.pair[0]is the first element of each pair: the name.sorted(rest, key=lambda pair: pair[1], reverse=True) + other: sorts the rest from largest to smallest by value (pair[1]) and adds "Other" at the end.lambda pair: pair[1]is a minimal function that tellssortedwhat to look at when sorting;reverse=Truereverses the order so it's descending.largest = ordered[0][1]: the value of the first category, which is the largest (unless "Other" were the only one). It's used to scale the bars.cumulative = 0: an accumulator that will add up the values category by category.print(f"{title} (total: {total:,.0f})"): prints the title with the total.:,.0fformats the number with no decimals and with a thousands separator (a comma, just as it's written in English).- Inside the
for category, value in ordered:loop:cumulative += valueadds the current category's value.pctis the category's percentage of the total;pct_cum, the cumulative percentage up to and including it.bar = "#" * round(30 * value / largest)draws a proportional bar of hash signs: the largest category gets 30 and the others, their proportional share.mark = " <" if pct_cum - pct < THRESHOLD else ""marks the categories that are part of the vital few.pct_cum - pctis the cumulative total before this category: if 80% hadn't been reached yet, this category is needed to reach it, so it gets marked. That's why the one that crosses 80% is marked too.- The last
printaligns the columns::<36pads the name to 36 characters, left-aligned;:>6.0fright-aligns the value with no decimals;:5.1fand:6.1fshow the percentages with one decimal place.
- The two final calls build the lists of pairs the function needs:
[(c, n) for c, n, _ in tickets]takes the category and the number of tickets (it ignores the minutes).[(c, n * m / 60) for c, n, m in tickets]calculates each category's handling hours: tickets times minutes, divided by 60.
Result:
Pareto by number of tickets (total: 1,740) Usage questions 486 27.9% 27.9% ############################## < Bugs after a release 298 17.1% 45.1% ################## < Carrier configuration 262 15.1% 60.1% ################ < Failed order import 214 12.3% 72.4% ############# < Billing and account 148 8.5% 80.9% ######### < Labels and printing 112 6.4% 87.4% ####### Access and passwords 76 4.4% 91.7% ##### Shopper notifications 64 3.7% 95.4% #### When will my integration be ready? 22 1.3% 96.7% # Other 58 3.3% 100.0% #### Pareto by handling hours (total: 654) Bugs after a release 174 26.6% 26.6% ############################## < Failed order import 143 21.8% 48.4% ######################### < Carrier configuration 122 18.7% 67.1% ##################### < Usage questions 97 14.9% 82.0% ################# < Billing and account 37 5.7% 87.7% ###### Labels and printing 34 5.1% 92.8% ###### Shopper notifications 21 3.3% 96.1% #### Access and passwords 8 1.2% 97.2% # When will my integration be ready? 4 0.6% 97.8% # Other 14 2.2% 100.0% ###
How to read the output: each row shows the category, its value, its percentage, the cumulative percentage, and a bar. The < mark flags the vital few. Python uses the period as the decimal separator, the same way you'll write it in the report. You'll interpret it in Section 9.
Optional: the classic chart with matplotlib. If you have the matplotlib library installed, you can draw the Pareto chart with bars and a cumulative line:
import matplotlib.pyplot as plt
categories = ["Questions", "Release bugs", "Carriers", "Import",
"Billing", "Labels", "Access", "Notifications",
"When ready", "Other"]
values = [486, 298, 262, 214, 148, 112, 76, 64, 22, 58]
total = sum(values)
cumulative = []
running_total = 0
for v in values:
running_total += v
cumulative.append(100 * running_total / total)
fig, ax = plt.subplots(figsize=(10, 5))
ax.bar(categories, values, color="steelblue")
ax.set_ylabel("Tickets")
ax.tick_params(axis="x", rotation=45)
ax2 = ax.twinx()
ax2.plot(categories, cumulative, color="darkorange", marker="o")
ax2.axhline(80, color="gray", linestyle="--")
ax2.set_ylim(0, 105)
ax2.set_ylabel("Cumulative %")
plt.tight_layout()
plt.savefig("pareto_tickets.png")Explanation: the data is already sorted (with "Other" at the end). The loop calculates the cumulative percentage. ax.bar draws the bars; ax.twinx() creates a second vertical axis, on the right, that shares the horizontal axis, to draw the cumulative line (ax2.plot) as a percentage; axhline(80, ...) draws the dashed horizontal line at 80%. savefig saves the image to a file so you can include it in a report.
- Pareto by frequency and Pareto by cost
Compare the two outputs of the script. With the same tickets, the order changes a lot:
| Category | Rank by number of tickets | Rank by hours |
|---|---|---|
| Usage questions | 1st (27.9%) | 4th (14.9%) |
| Bugs after a release | 2nd (17.1%) | 1st (26.6%) |
| Failed order import | 4th (12.3%) | 2nd (21.8%) |
| Carrier configuration | 3rd (15.1%) | 3rd (18.7%) |
The reason is the time per ticket: a usage question is resolved in 12 minutes; a failed import, in 40, because the data has to be reviewed and sometimes integrations has to be consulted.
Which one should you use? It depends on the question:
| If you're concerned about... | Use the Pareto by... | Example |
|---|---|---|
| What bothers customers the most or causes the most interruptions | Frequency (number of cases) | Tickets, complaints, incidents |
| What consumes the most resources | Cost (hours, euros) | Support hours, cost of fixing |
| What does the most damage | Impact (customers affected, revenue at risk, severity) | Incidents weighted by severity |
Recommendation: when you can, do both. If a category is near the top in both, it's an indisputable vital few. If it's near the top in only one, decide based on the goal. And be wary of a Pareto by cost built on very rough estimates: the order can't be any more precise than the minutes you used.
- Two-level Pareto: stratification
A large bar in the first Pareto is often still too broad to act on ("usage questions" about what?). The solution is to do a second Pareto within that bar, using a different way of classifying. This technique is called stratification: dividing the data by a criterion (module, customer type, channel, time slot...) to see whether the problem is concentrated in any stratum.
flowchart TD
T["1,740 tickets in the quarter"] --> D["Usage questions: 486"]
T --> I["Failed import: 214"]
T --> X["Other 8 categories: 1,040"]
D --> D1["Automatic shipping rules: 172"]
D --> D2["Returns: 96"]
D --> D3["Reports and exports: 88"]
D --> D4["Remaining questions: 130"]
I --> I1["Incomplete data at the source: 92"]
I --> I2["Expired connector credentials: 58"]
I --> I3["Remaining imports: 64"]
How to read the diagram: the first level is the Pareto by ticket type; the second opens up two of its bars using a different criterion (the LogiTrack module for the questions and the technical reason for the imports). Only the bars that matter for the decision are opened up.
Useful criteria for the second level:
| Stratification criterion | Question it answers |
|---|---|
| Module or feature | Which part of the product are people asking about, or is failing? |
| Customer type or tenure | Is it a problem with new customers, large customers, or customers in one sector? |
| Channel | Does it come in more by email, phone, or form? |
| Time slot or day | Is it concentrated at specific times? |
| Version or release | Did it start with a specific version? |
| Technical cause | What exactly is failing? |
- Mistakes that make a Pareto misleading
| Mistake | Why it's misleading | How to avoid it |
|---|---|---|
| Badly defined or overlapping categories | The same case could go in two bars; the totals depend on who did the classifying | An operational definition per category and a check with a sample classified by two people |
| A huge "Other" | If "Other" exceeds 10-15%, it may be hiding a vital few | Open up "Other" and create new categories from what keeps recurring |
| Too many categories | With 25 bars, everything looks trivial | Group them into 5-12 meaningful categories |
| Mixing units | Adding tickets to hours, or customers to incidents | One unit per Pareto |
| An unrepresentative period | A release week or a vacation week distorts the order | Long enough periods; compare with another period |
| Confusing frequency with importance | The most frequent item may be cheap to handle | Also do the Pareto by cost or impact |
| Mistaking a Pareto of symptoms for a Pareto of causes | "Bugs after a release" is a ticket type, not a cause | Use Pareto to prioritize where to analyze causes, not as a causal analysis |
| Tackling only the tallest bar | It may be the hardest one, or it may not depend on you | Combine with effort, ease, and an owner |
| Forgetting the "after" | Without a comparison, you don't know whether the action worked | Repeat the Pareto after acting, with the same categories |
- TechSolutions: Q3 support tickets
Before counting: fixing the categories
Carmen exports the 1,740 tickets from July to September 2027. The tool had 14 categories, and "Other" took up 21%. There were also overlaps: "Integration" and "Import" were used interchangeably for orders that weren't reaching LogiTrack. Before calculating anything, Carmen and you:
- Define 10 categories, each with a classification rule. For example: "Failed order import: the customer reports that one or more orders from their store or ERP don't appear, or appear incomplete, in LogiTrack"; "When will my integration be ready?: the customer asks about the status or the date of an integration in progress."
- Reclassify the tickets with the help of two agents. To check the definitions, two people separately classify the same 100 tickets: they agree on 91. The discrepancies are resolved by making two rules more precise.
- "Other" drops from 21% to 3.3% (58 tickets). That's a good size.
- Pablo uses the tool to estimate the average handling minutes per category.
First level
This is the script output from Section 5. The group's reading:
- By number of tickets, the Pareto is moderate: it takes 5 out of 10 categories to reach 81%. It's not an "80/20" but a "50/80." The problem is somewhat spread out.
- By hours, the order changes: bugs after a release and failed imports take up almost half the time (48%), even though they're 29% of the tickets.
- "When will my integration be ready?" is now a marginal category: 22 tickets in a quarter (1.3%). It's the footprint of the work done by Laura's group: a year ago, it was the fastest-growing category.
- Bugs after a release are the top category by hours. Their cause lies in the releases, not in support: they're handed over, with this data, to Marta's workstream (you'll study them in "Case Study 2: Production Bugs").
Second level
Pablo and Carmen open up the two bars that support can act on most easily.
Usage questions (486), by LogiTrack module:
| Module | Tickets | % | Cumulative % |
|---|---|---|---|
| Automatic shipping rules | 172 | 35.4% | 35.4% |
| Returns | 96 | 19.8% | 55.1% |
| Reports and exports | 88 | 18.1% | 73.3% |
| Store or connector setup | 64 | 13.2% | 86.4% |
| Users and permissions | 38 | 7.8% | 94.2% |
| Other | 28 | 5.8% | 100.0% |
And an additional stratification, by customer tenure: 61% of usage questions come from customers who have been on LogiTrack for less than 6 months, who make up only 18% of customers. This fits with the "many new customers from the midsize segment" cause from the Ishikawa diagram.
Failed order import (214), by technical cause:
| Technical cause | Tickets | % | Cumulative % |
|---|---|---|---|
| Incomplete data in the source store or ERP | 92 | 43.0% | 43.0% |
| Expired connector credentials | 58 | 27.1% | 70.1% |
| Store API rate limit | 31 | 14.5% | 84.6% |
| LogiTrack bug | 21 | 9.8% | 94.4% |
| Other | 12 | 5.6% | 100.0% |
Explanation: expired credentials (58 tickets, about 39 hours in the quarter) are a clear case of an avoidable cause: the connector stops working when one of the customer's passwords or tokens expires, and nobody gives any warning beforehand. It was the "connector credentials expire without warning" cause on the Ishikawa diagram's Code bone, which nobody had voted for. The Pareto has given it the weight the vote didn't.
Connection with the Ishikawa diagram
| Ishikawa finding | What the Pareto adds |
|---|---|
| Main cause of the first response time: batch triage | Nothing new: the Pareto measures volume and hours, not waiting times. They're different questions |
| Out-of-date knowledge base (contributing, still to be quantified) | Two modules (shipping rules and returns) add up to 55% of the questions; 61% of the questions come from new customers |
| Spikes after every release (to Marta) | It's the top category by hours: 174 h in the quarter |
| Credentials that expire without warning (no votes) | 58 tickets and about 39 hours: an avoidable cause that deserves action |
An important lesson: Ishikawa and Pareto answer different questions. The first explained why tickets wait; the second, which tickets come in and how much they cost. A team that had only done the Pareto would have written help articles and wouldn't have touched triage, which was the main cause of the wait.
Pablo's decisions (late October 2027)
- Continuous triage in shifts starting November 2 (the outcome of the Ishikawa diagram and the test week).
- Knowledge base for the vital few: 10 articles and ready-made answers for shipping rules and returns, with Carmen as owner and a quarterly review.
- Support for new customers: a 45-minute guided session on shipping rules and returns in their first month.
- Advance warning of credential expiry: Diego and Irene are asked to have the connector warn the customer 15 days before credentials expire.
- Bugs after a release: data handed over to Marta for her workstream.
- Repeat the Pareto in January 2028, with the same categories, to compare.
Expected effect, honestly: if measures 2 and 3 reduce shipping rules and returns questions by 40% (about 107 fewer tickets per quarter) and measure 4 prevents 80% of the credential tickets (about 46 fewer), volume would drop by around 9%, and about 52 hours per quarter would be freed up. It's a useful improvement, not a miracle. The biggest effect on response time will come from continuous triage, and the biggest savings in hours, from Marta's workstream.
- Pareto analysis template
# Pareto analysis: [topic]
**Question:** [what we want to know]
**Unit of measure:** [cases / hours / euros / customers affected]
**Period and source:** [dates; source system or log]
**Owner:** [name] · **Date:** [date]
## 1. Categories and operational definitions
| Category | Classification rule (when a case goes here) |
|-----------|-------------------------------------------------|
| ... | |
| Other | Cases that don't fit anywhere; review if >10% |
Check: sample of [n] cases classified by two people;
agreement: [x]%.
## 2. First-level Pareto
| Category | Value | % | Cumulative % | Vital few? |
|----------|-------|---|--------------|------------|
Shape: [concentrated / moderate / flat] · Categories up to 80%: [n of N]
## 3. Pareto by cost or impact (if applicable)
| Category | Value | % | Cumulative % |
|----------|-------|---|--------------|
Does the order change? [yes/no; what it implies]
## 4. Second level (stratification of the relevant bars)
| Bar opened up | Criterion | Main result |
|---------------|-----------|-------------|
## 5. Interpretation and decisions
| Vital few | Does it depend on us? | Action | Owner | Date |
|-----------|-----------------------|--------|-------|------|
## 6. Follow-up comparison
Planned date to repeat the Pareto with the same categories: [date]How to use the template:
- Section 1: it's the one most often skipped and the one that prevents the most mistakes. Without definitions, the Pareto measures how each person classifies, not the problem.
- Sections 2 and 3: note down the shape of the Pareto. A flat Pareto is a finding, not a failure.
- Section 4: open up only the bars you're going to decide something about.
- Section 5: the "Does it depend on us?" column keeps you from jumping on a bar that actually belongs to another area; in that case, the action is to hand the data over to whoever is responsible.
- Section 6: without a follow-up comparison, you'll never know whether you acted on the right thing.
Common Mistakes and Tips
- Counting before defining the categories. If "Other" is huge or the categories overlap, fix the classification first.
- Believing it will always be 80/20. Note down the real shape: concentrated, moderate, or flat. Each one leads to a different decision.
- Sticking with the Pareto by frequency. If resources matter to you, calculate the Pareto by cost too. The order can change a lot.
- Putting "Other" wherever its size would place it. Always last: it's not a category you can act on.
- Confusing Pareto with a cause analysis. It tells you where to look, not why something happens. After choosing the bar, you need to analyze its causes.
- Forgetting the second level. You can't tackle "usage questions"; you can tackle "questions about shipping rules from new customers."
- Tackling a bar that doesn't depend on you. Hand the data over to whoever can act, as Pablo did with the bugs after a release.
- Tip: save the script and the definitions. Repeating the same Pareto every quarter turns a snapshot into a movie, and it lets you see whether the bars you tackled really go down.
Exercises
Exercise 1: Calculate and interpret
Marta has classified the 40 critical and serious bugs in releases over the last 12 months by LogiTrack module: tracking 17, notifications 8, import 6, billing 4, reports 2, users 1, other 2. Build the Pareto table (percentage and cumulative), state how many modules it takes to reach 80%, and what shape it has. What would you recommend she do next?
Exercise 2: Modify the script
Modify the script from Section 5 so that, in addition to the two Paretos, it prints a sentence like this at the end: "Vital few by tickets: 5 of 10 categories (80.9%)". Hint: you can make the pareto function return the number of marked categories and the cumulative percentage of the last marked one.
Exercise 3: Review a Pareto
A colleague presents this Pareto of the reasons users abandon a mobile app (exit survey, 200 responses): "Other" 62; "The app is slow" 41; "I don't like it" 30; "I found a better app" 27; "Technical problems" 22; "It closes by itself" 18. Point out at least three problems and how you would fix them.
Solutions
Exercise 1
| Module | Bugs | % | Cumulative % |
|---|---|---|---|
| Tracking | 17 | 42.5% | 42.5% |
| Notifications | 8 | 20.0% | 62.5% |
| Import | 6 | 15.0% | 77.5% |
| Billing | 4 | 10.0% | 87.5% |
| Reports | 2 | 5.0% | 92.5% |
| Users | 1 | 2.5% | 95.0% |
| Other | 2 | 5.0% | 100.0% |
It takes 4 of 7 categories to exceed 80% (87.5%), but the tracking module alone accounts for 42.5%: it's a Pareto that's fairly concentrated in its first bar. Recommendation: open up a second level for the tracking module (by type of change, by release size, by whether it had regression tests) and analyze its causes before deciding. A word of caution: 40 cases is a small sample; the order of the small bars (reports, users) isn't reliable. And a Pareto by module tells you where releases fail, not why. Common mistake: concluding "we need to rewrite the tracking module" without analyzing the causes.
Exercise 2
def pareto(data, title):
total = sum(value for _, value in data)
other = [pair for pair in data if pair[0] == "Other"]
rest = [pair for pair in data if pair[0] != "Other"]
ordered = sorted(rest, key=lambda pair: pair[1], reverse=True) + other
largest = ordered[0][1]
cumulative = 0
n_vital = 0 # new: how many categories are marked
pct_vital = 0 # new: cumulative % of the last marked one
print(f"{title} (total: {total:,.0f})")
for category, value in ordered:
cumulative += value
pct = 100 * value / total
pct_cum = 100 * cumulative / total
bar = "#" * round(30 * value / largest)
mark = ""
if pct_cum - pct < THRESHOLD:
mark = " <"
n_vital += 1
pct_vital = pct_cum
print(f"{category:<36}{value:>6.0f} {pct:5.1f}% {pct_cum:6.1f}% {bar}{mark}")
print()
return n_vital, len(ordered), pct_vital
n, total_cat, pct = pareto([(c, n) for c, n, _ in tickets], "Pareto by number of tickets")
print(f"Vital few by tickets: {n} of {total_cat} categories ({pct:.1f}%)")Explanation: two variables are added that are only updated when a category is marked, and the function returns them with return, along with the total number of categories. Outside the function, the three values are collected into three variables (n, total_cat, pct = ...) and the sentence is printed. Result: "Vital few by tickets: 5 of 10 categories (80.9%)". Common mistake: keeping the one-line conditional expression (mark = " <" if ... else ""), which doesn't let you update the counters, or putting return inside the loop, which would make the function end at the first category.
Exercise 3
- "Other" is the largest bar (31%) and it's at the start. It should go last and, above all, it needs to be opened up: at 31%, it may be hiding the main cause.
- Overlapping categories: "Technical problems" and "It closes by itself" overlap (closing by itself is a technical problem), and "The app is slow" could be one too. Mutually exclusive categories with classification rules need to be defined.
- Non-actionable categories: "I don't like it" doesn't let you act. If the survey allows it, it's worth opening it up (what don't they like?) with a second level or with the open-ended answers.
- Source bias: an exit survey only captures the people who answer it (remember survivorship bias from Module 1). It's worth cross-checking it against usage data (crashes, load times).
- The cumulative percentage is missing, as is the interpretation of the shape.
Conclusion
In this lesson, you've learned to use Pareto analysis to separate the vital few from the trivial many. You've seen its origins, from Vilfredo Pareto to Joseph Juran; that "80/20" is a figure of speech and that the real shape of the Pareto (concentrated, moderate, or flat) is information in itself; how to build it in eight steps, starting with categories that have an operational definition; how to calculate it with a small Python script and, optionally, draw it with matplotlib; why the Pareto by frequency and the Pareto by cost can rank the categories very differently; how to open up a bar with a second level of stratification; and which mistakes make it misleading. At TechSolutions, the Pareto of the 1,740 tickets from Q3 showed a moderately spread-out problem, placed two modules and new customers at the center of the usage questions, and gave weight to a cause the Ishikawa diagram had left with no votes: credentials that expire without warning. And it confirmed something important: Ishikawa and Pareto answer different questions and complement each other.
In both the Pareto and the Ishikawa diagram, you've seen how important it is to divide things well: categories that don't overlap and that don't leave anything out. In the next lesson, "Logic Trees and the MECE Principle," you'll turn that idea into a method: you'll learn to break a problem, a question, or a metric down into mutually exclusive and collectively exhaustive parts, and you'll apply it to a signal the SWOT left unexplained: the falling margin on ERP integrations.
Problem Solving Course
Module 1: Introduction to Problem Solving
- Definition and Types of Problems
- Why Problem Solving Matters
- Key Problem-Solving Skills
- The Problem-Solving Process: An Overview
- Cognitive Biases and Mental Traps
Module 2: Problem Identification
- Recognizing Problems
- Collecting Data and Evidence
- Situation Analysis
- Framing Problems
- Prioritizing Problems
Module 3: Generating Solutions
- Cause and Effect Analysis
- Brainstorming Techniques
- Creative and Lateral Thinking
- Evaluating Options: From Long List to Shortlist
Module 4: Evaluating and Selecting Solutions
- Evaluation Criteria
- Selection Methods
- Risk Analysis
- Deciding with Incomplete Information
- Team Decision-Making
Module 5: Implementing Solutions
- Implementation Planning
- Pilots and Controlled Experiments
- Change Management
- Stakeholder Communication
- Monitoring and Evaluation
Module 6: Continuous Improvement
- The Deming Cycle (PDCA)
- Feedback and Adjustments
- Documentation and Lessons Learned
- Blameless Postmortems
Module 7: Advanced Tools and Techniques
- SWOT Analysis
- The Ishikawa Diagram
- The Six Thinking Hats Method
- Pareto Analysis
- Logic Trees and the MECE Principle
- Systems Thinking
- Troubleshooting: A Systematic Method for Technical Problems
Module 8: Case Studies and Exercises
- Case Study 1: Delivery Delays
- Case Study 2: Production Bugs
- Case Study 3: Friction Between Teams
- Practical Exercises
