Sub topic 8
Planning data collection and operational definitions
This chapter covers the first working step of the Measure phase: deciding exactly what to measure, how, and who collects it. It assumes you know what a defect rate is, the difference between continuous and discrete data, and the roles of Black Belt, Green Belt and Process Owner. It also assumes you have a charter and a CTQ statement from Define.
Why a plan comes before the data
Teams often start by pulling whatever data a system already holds. That data was usually collected for another purpose. It may use a different definition of "defect", cover the wrong period, or skip the cases you care about.
A data collection plan prevents this. It is a written agreement on what will be measured, where the data comes from, how it will be gathered, and who is responsible. It is one of the evidence items a Measure tollgate reviewer expects to see.
Choose what to measure
Start from the CTQ requirement. Suppose customers say invoices arrive wrong, and the CTQ is "an invoice is accepted without correction within 5 working days". Then:
- The Y (output measure) is the percentage of invoices that need correction.
- The Xs (candidate inputs) are factors that might drive Y. Examples are order channel, entry clerk shift, customer type and order size.
Collect the Xs now, even though Analyze tests them later. Going back to capture a factor afterward is expensive, and sometimes impossible.
Write operational definitions
An operational definition states a measure so that two people observing the same item reach the same result. It names the item, the test applied, and the decision rule.
Compare these two versions:
| Vague | Operational |
|---|---|
| Invoice is late | Days from the order-confirmed timestamp to the invoice-sent timestamp, in working days, excluding public holidays. Late means more than 2 working days. |
| Invoice has an error | Any of: wrong customer ID, wrong amount, wrong tax code, missing PO number. Counted once per invoice, however many fields are wrong. |
| Rework | A invoice reopened after status "sent" and edited before status "paid". |
Good definitions settle these points:
- Unit. What is one item: an invoice, an invoice line, or a customer order?
- Opportunity. What counts as a chance for a defect? This matters later for DPMO, so fix it now.
- Start and stop points. For time measures, which event starts the clock and which stops it.
- Inclusions and exclusions. Cancelled orders, test records and duplicates need a stated rule.
- Unit of measurement and precision. Hours or days, rounded how.
Data type, source and sampling
The data type decides which tools you can use later.
- Continuous data (cycle time, weight, cost) carries more information per observation and usually needs fewer observations.
- Discrete data (pass or fail, defect counts, category) needs more observations, especially when the defect is rare.
Prefer a continuous measure when one exists. "Days to correct" says more than "corrected or not".
For the source, decide between existing system data, manual collection on a check sheet, or a new report. System data is cheap but must be validated against the operational definition. Manual data is flexible but adds collector error.
For sampling, state the method and the size:
- Census takes every item in the period. Use it when records are electronic and complete.
- Random sampling gives each item equal chance of selection. Use it when checking is costly.
- Stratified sampling samples within groups such as each shift or channel, so that small groups are not missed.
For a proportion, a common size estimate is n = z² × p × (1 − p) / E². Here p is the expected defect rate, E is the margin of error you can tolerate, and z is 1.96 for 95% confidence. If you expect p = 0.05 and want E = 0.02, then n = 3.8416 × 0.0475 / 0.0004 ≈ 457 invoices. Halving E quadruples the sample, so state the precision you need before choosing a size.
Also set the period. A single quiet week misses month-end peaks. Cover at least one full cycle of any known pattern, such as a weekly, monthly or seasonal rhythm.
The plan itself
A plan is usually one row per measure:
| Measure | Type | Operational definition | Source | Sampling | Collector | Frequency |
|---|---|---|---|---|---|---|
| Invoice error (Y) | Discrete | Any listed field wrong, once per invoice | Billing system export | Census, 8 weeks | Data analyst | Weekly |
| Days to correct (Y) | Continuous | Working days from first send to accepted | Billing system timestamps | Census | Data analyst | Weekly |
| Order channel (X) | Discrete | Web, phone or EDI, from the order header | Order system | Matches Y records | Data analyst | Weekly |
| Clerk shift (X) | Discrete | Shift of the user who created the invoice | HR roster joined to log | Matches Y records | Team lead | Weekly |
Collecting the Xs on the same records as Y lets Analyze compare groups directly.
Check a plan automatically
A short script can catch incomplete rows before a reviewer does. It reports every empty field.
from dataclasses import dataclass, fields
@dataclass
class PlanRow:
measure: str
data_type: str
operational_definition: str
source: str
sampling: str
collector: str
frequency: str
def find_gaps(rows):
gaps = []
for row in rows:
for f in fields(row):
if not getattr(row, f.name).strip():
gaps.append((row.measure or "(unnamed)", f.name))
return gaps
plan = [
PlanRow("Invoice error", "discrete",
"Any listed field wrong, once per invoice",
"Billing export", "Census, 8 weeks", "Analyst", "Weekly"),
PlanRow("Clerk shift", "discrete",
"", "HR roster", "Matches Y records", "", "Weekly"),
]
for measure, field_name in find_gaps(plan):
print(f"{measure}: missing {field_name}")This prints that "Clerk shift" is missing operational_definition and collector.
Pilot before full collection
Run the plan on a small batch, perhaps 20 to 30 items, with two collectors working independently. Compare their results. Disagreements show where a definition is ambiguous, and fixing it now costs minutes. Formal measurement system analysis comes next, but this pilot already removes the most common causes of disagreement.
Common errors
- Defining the measure by the system field name rather than by the customer-relevant event.
- Counting defects without fixing the unit, so rates cannot be compared.
- Collecting only Y, leaving Analyze with nothing to stratify.
- Choosing a sample size by habit rather than by the precision needed.
- Leaving collectors untrained, so each applies their own reading of the definition.
Exercise
A team defines "late delivery" as "a delivery that arrives after the customer expects it". Name two problems with this definition and rewrite it as an operational definition for a courier service that promises delivery by 5 pm on the scheduled day.
Show answer
Problems: "expects" is subjective and cannot be observed consistently, and there is no stated source of the arrival time, no rule for cancelled or customer-absent deliveries, and no unit. Rewrite: "A delivery is late if the scanner timestamp of the 'delivered' event is later than 17:00 local time on the scheduled delivery date. Deliveries marked 'customer absent' or cancelled are excluded and counted separately. Each parcel counts once."
Exercise
You expect a 10% defect rate and want a margin of error of 3 percentage points at 95% confidence (z = 1.96). What sample size does the formula give?
Show answer
n = 1.96² × 0.10 × 0.90 / 0.03² = 3.8416 × 0.09 / 0.0009 = 384.16, so 385 items.