Sub topic 8
Writing an Operational Definition
This chapter assumes you know basic Lean Six Sigma vocabulary (DMAIC, defect, process), can read a simple SIPOC map, and can compute a proportion and a mean. It picks up where the previous chapter stopped. You now have a CTQ requirement with a specification, for example "order delivered within 3 calendar days of the order date." Before you can measure it, you must remove every remaining ambiguity about what the words mean.
Why a requirement is not yet a metric
A specification states the limit. An operational definition states how to measure against it. It is a written procedure that tells any person exactly what to measure, where to measure it, when, with what instrument or data source, and how to record the result. The goal is repeatability: two people who follow the definition on the same item must reach the same value.
Consider "delivered within 3 calendar days of the order date." Each phrase hides a choice:
- "Order date": when the customer clicks Buy, when payment clears, or when the warehouse receives the order?
- "Delivered": when the carrier scans the parcel as delivered, when the customer signs, or when the carrier marks "left at door"?
- "Within 3 calendar days": is the day of the order day 0 or day 1? Does an order placed at 23:50 count as placed that day?
- "Order": does a split shipment count as one order or two?
If one analyst picks one reading and another analyst picks a different one, the baseline will differ between them. A team that cannot agree on the baseline cannot show that an improvement is real.
The parts of an operational definition
A usable operational definition answers a fixed set of questions. You can treat them as a checklist.
| Element | Question it answers | Example for delivery speed |
|---|---|---|
| Metric name | What is it called? | On-time delivery rate |
| Unit of measure | What is counted or measured? | Percent of orders |
| Unit of analysis | What is one item (the opportunity)? | One customer order, not one parcel |
| Start event | What event starts the clock, and in which system? | Timestamp `payment_confirmed_at` in the order system, converted to the customer's local time |
| Stop event | What event stops the clock? | First carrier scan with status `DELIVERED` |
| Specification | What counts as good? | Elapsed calendar days of 3 or fewer |
| Inclusions and exclusions | Which items are in scope? | Include all web orders to domestic addresses. Exclude orders flagged `CUSTOMER_REQUESTED_HOLD` |
| Data source | Where does the data come from? | Order table joined to the carrier event feed |
| Sampling plan | All items or a sample, and how often? | All orders, reported weekly by order date |
| Calculation | How is the number computed? | Orders within 3 days divided by eligible orders |
| Owner | Who is accountable for the definition? | Fulfilment operations analyst |
The first four rows are where most definitions fail. Fix the unit of analysis, the start event, and the stop event first.
Worked example: from requirement to definition
Return to the CTQ tree from this tutorial. One driver is delivery speed, with the requirement "Order delivered within 3 calendar days of the order date" and the candidate metric "% of orders delivered within 3 days." Here is the same material written as a structured definition, so that it can be stored with the project and reviewed:
metric: On-time delivery rate
ctq_driver: Delivery speed
unit_of_analysis: One customer order
start_event:
field: payment_confirmed_at
system: order_management
timezone: customer_local
stop_event:
field: first_delivered_scan_at
system: carrier_event_feed
timezone: customer_local
specification:
limit_days: 3
day_counting: calendar_dates # order day = day 0
defect_definition: "Order is a defect if delivered date minus order date is greater than 3"
in_scope: "Web orders to domestic addresses"
excluded:
- "Orders with status CUSTOMER_REQUESTED_HOLD"
- "Orders never delivered (tracked separately as lost orders)"
data_source: "order_management joined to carrier_event_feed on order_id"
sampling: "All eligible orders, grouped by order date, reported weekly"
calculation: "defects / eligible orders; DPMO = rate * 1,000,000 (one opportunity per order)"
owner: "Fulfilment operations analyst"Two decisions in this file deserve attention.
The first is day counting. The file says the order date is day 0 and counts calendar dates. An order paid on 2 March and delivered on 5 March has an elapsed time of 3 days and is not a defect. An order delivered on 6 March has 4 days and is a defect. The same rule can be written as code, so it cannot be misread:
from datetime import date
SPEC_DAYS = 3 # limit from the specification
def is_defect(order_date: date, delivered_date: date) -> bool:
"""Defect if elapsed calendar days exceed the specification limit."""
return (delivered_date - order_date).days > SPEC_DAYS
cases = [
(date(2026, 3, 2), date(2026, 3, 5)), # 3 days: not a defect
(date(2026, 3, 2), date(2026, 3, 6)), # 4 days: defect
]
for ordered, delivered in cases:
print(ordered, delivered, is_defect(ordered, delivered))The second is the treatment of orders that were never delivered. The code above cannot handle them, because there is no delivered date. The definition must say what happens to such orders. Here they are excluded from this metric and tracked separately as lost orders. If you silently drop them, the on-time rate looks better than the customer experience.
Continuous and discrete measures
An operational definition looks different depending on the type of data.
For discrete (attribute) data, such as pass or fail, the definition centers on the decision rule. "Order contains exactly the items and quantities ordered" needs a rule for what counts as an error. Is a substituted item of higher value an error? Is a missing free sample an error? Write the rule down and give examples of borderline cases. For attribute data judged by people, such as "is the email polite," train the raters and test whether they agree with each other before you trust the data.
For continuous data, such as delivery time in hours, the definition centers on the instrument and the units. State the clock source, the time zone, the rounding rule, and the precision. If call handling time is measured by a phone system in seconds but reported in whole minutes, say whether you round, truncate, or round up.
Both types of data have a measurement system behind them. An operational definition does not prove that the measurement system is good, but it is the first step toward checking it. A later measurement system analysis (MSA) tests repeatability and reproducibility. A clear definition makes that test meaningful, because disagreement among raters then points to a training or instrument problem rather than to a vague rule.
Testing the definition
Writing the definition is not enough. Test it before the baseline.
- Pick 20 to 30 real items, including awkward ones: split shipments, weekend orders, orders near midnight, returns.
- Give the definition to two or three people who did not write it.
- Ask each person to produce the result independently, without talking to each other.
- Compare the results. For each disagreement, find the phrase in the definition that allowed both readings.
- Rewrite that phrase and repeat until the results match.
The disagreements are the useful output. Each one is a gap that would otherwise have appeared later as an argument about the baseline.
Edge cases to decide in advance
Some situations recur in almost every project. Decide them in the definition, not during analysis.
- Missing timestamps. Say whether an item with no stop event is excluded, counted as a defect, or counted as still open. Each choice gives a different rate.
- Time zones and daylight saving. Use one zone for all calculations, and say which. An order placed late at night can fall on different dates in different zones.
- Business days versus calendar days. If the customer experiences calendar days, the metric should use calendar days, even if operations plans in business days.
- Reworked or reopened items. Say whether the clock restarts. A reopened ticket that restarts the clock hides slow resolution.
- Multiple opportunities per unit. If one order can fail in several ways, state how many opportunities you count per order. DPMO depends on this number. With one opportunity per order, 2 defects in 4 orders gives 500,000 DPMO. If you count three opportunities per order, the same 2 defects across 12 opportunities give about 166,667 DPMO. The data is the same, and only the definition changed.
- Definition changes mid-project. If you change the definition after collecting the baseline, the old data is no longer comparable. Version the definition, record the date of change, and either recompute the baseline or start it again.
Common errors
- Defining the metric by its name. "On-time delivery" is a name, not a definition.
- Writing for the author. A definition that only its writer can apply has not been tested.
- Using a convenient field that measures something else. Ship date is easy to pull, but the customer cares about delivery date.
- Mixing units of analysis. Counting parcels in the numerator and orders in the denominator inflates or deflates the rate.
- Leaving the data source vague. "From the system" does not tell the next analyst which table or field to use.
Connection to the next step
The operational definition is the last piece needed before you choose the project Y. Once the definition is stable, you can pull data, compute a baseline, and compare it with a target. Without it, the baseline reflects the analyst's choices as much as the process.
Exercise
A team defines "ticket resolution time" as "the time from when the customer contacts support until the ticket is closed." Two analysts compute the average and get 31 hours and 47 hours from the same tickets. Name three ambiguities in the definition that could explain the gap, and state how you would fix each one.
Show answer
Possible ambiguities and fixes: (1) Start event: "contacts support" could mean the first email received, the ticket creation time, or the first agent reply. Fix it by naming one field and system, such as ticket_created_at in the helpdesk database. (2) Stop event: "closed" could mean the agent marked it solved or the system auto-closed it after a waiting period. Fix it by naming the status change, such as the first transition to SOLVED, and by saying how reopened tickets are treated. (3) Clock rules: elapsed time could include or exclude weekends, hours when the customer was asked for information, or different time zones. Fix it by stating calendar or business hours, whether pending-customer time pauses the clock, and one time zone. Any of these also needs a rule for tickets with missing timestamps. After rewriting, test the definition by having both analysts recompute the result independently and confirm that they match.
Exercise
Using the operational definition in this chapter, an order is placed on 27 February 2026 (payment confirmed) and first scanned as delivered on 2 March 2026. February 2026 has 28 days. Is the order a defect? Show the elapsed days.
Show answer
The elapsed time is 3 days: 27 February to 28 February is 1 day, to 1 March is 2 days, and to 2 March is 3 days. The limit is 3 days and the defect rule is "greater than 3", so the order is not a defect. The date subtraction in the Python function gives the same result, because it counts calendar dates and handles month ends correctly.