Sub topic 9
Building the Data Collection Plan
This chapter assumes you know the DMAIC phases, can describe a process by its inputs and outputs, and are comfortable with the terms mean, proportion and sample. It also assumes you have already met the earlier chapters on Critical to Quality (CTQ) requirements, data types, operational definitions, stratification, sampling and sample size. Here those pieces are assembled into one working document.
What the plan is for
A data collection plan is a short written agreement that says what will be measured, how, by whom, where, when, and how many observations are needed. It turns a metric on a slide into a routine that several people can carry out the same way.
Without a plan, collection tends to fail in predictable ways:
- Two people count different things under the same name.
- Data arrives without the fields needed to split it by team, shift or product.
- The sample is too small to support a decision, or much larger than it needs to be.
- Nobody owns the collection, so it stops after a week.
The plan is the place where you catch these problems on paper, where fixing them costs nothing.
The questions the plan answers
Build the plan by answering a fixed set of questions in order. Each answer depends on the one before it.
| Question | What you write down | Where it comes from |
|---|---|---|
| Why are we collecting? | The problem statement and the question the data must answer | Project charter |
| What do we measure? | The metric, linked to a CTQ requirement | CTQ and metric work |
| What type is it? | Continuous or attribute, and the unit of observation | Data type choice |
| How exactly? | The operational definition: criterion, method, decision rule | Operational definition |
| Split by what? | Stratification factors recorded with each observation | Stratification planning |
| Which items? | Sampling strategy and sampling frame | Sampling strategy |
| How many? | Sample size and the reasoning behind it | Sample size calculation |
| Who, where, when? | Named collector, location, timing and frequency | This chapter |
| Recorded how? | Form or check sheet, and where the data is stored | Next chapter |
The first six rows are inherited from earlier work. The new work in this chapter is the last three rows: assigning people and timing, and tying everything into one document.
A worked example
Suppose a billing team has complaints about incorrect invoices. The CTQ requirement is "the invoice matches what I ordered." The metric is the invoice error rate, an attribute metric because each invoice is either defective or not.
The plan fields below capture the definition and collection details in one place.
metric: invoice_error_rate
type: attribute (pass/fail per invoice)
unit_of_observation: one invoice
definition: >
An invoice is defective if, after it is issued, at least one of these
fields differs from the signed purchase order: customer name, item code,
quantity, unit price.
measurement_method: >
Compare the issued invoice with the signed purchase order, field by field,
using the audit checklist.
decision_rule: >
Any mismatch in a listed field counts as one defective invoice,
regardless of how many fields differ. Formatting differences do not count.
collected_by: billing auditor
when: within 2 working days of invoice issue
stratify_by: [billing_team, customer_segment, invoice_week]Read it as a test of clarity. Could a new auditor, who has never seen this process, apply it and reach the same result as the current auditor? The decision rule matters most here. It says an invoice with three wrong fields still counts as one defective invoice. Without that line, one auditor might count fields and another might count invoices, and the error rate would differ for reasons unrelated to quality.
Notice also that stratify_by lists fields to record with every invoice. If the auditor does not capture the billing team at collection time, nobody can recover it later without rework.
Choosing the sample size
For a proportion, the standard formula is n = z² × p × (1 − p) / E². Use p = 0.5 when the true rate is unknown, because that value gives the largest required sample and so is the safe planning choice.
import math
# Sample size to estimate a proportion: n = z^2 * p * (1 - p) / E^2
z = 1.96 # 95% confidence
p = 0.5 # conservative planning value when the true rate is unknown
E = 0.05 # margin of error of plus or minus 5 percentage points
n = math.ceil(z**2 * p * (1 - p) / E**2)
print(n) # 385The result is 385 invoices for a margin of error of plus or minus 5 percentage points at 95% confidence.
Two points about this number deserve attention when it goes into the plan.
First, 385 is the size for the whole population estimate. If you want to compare strata, such as three billing teams, each stratum needs enough observations of its own. Collecting 385 in total and then splitting into three groups leaves roughly 128 per group, with a wider margin of error in each.
Second, if you have a rough prior estimate of the error rate, say about 10%, you can use that for p. The required n then falls to about 139 for the same margin. Document which p you used and why, so a reviewer can follow the reasoning.
Who, where and when
These three fields are short but cause many failures.
Who
Name a role and, where possible, a person. "Billing auditor" is a role. "Billing auditor, A. Mensah, with R. Oyelaran as backup" is an assignment. Choose collectors who have access to the source records and who are not the people whose work is being judged, or at least add a check where that is not possible. Self-reported counts of one's own errors tend to be low.
Where
State the physical or system location of the observation: which system, which queue, which site. If the process runs in several places, say whether each place is included. A plan that silently covers only the head office will produce a result that does not represent the branches.
When
Give both the timing of each observation and the schedule across the study.
- Timing of each observation: "within 2 working days of invoice issue." This keeps the delay between event and check consistent, so that corrections made later do not hide errors.
- Schedule across the study: "10 invoices per working day for 8 weeks." Spreading collection across days and weeks captures variation by weekday and by period. Collecting all 385 in a single afternoon would capture only that afternoon.
The sampling strategy should agree with the schedule. If you plan a stratified sample by team, the daily quota should be split by team as well.
Putting it together as a table
A compact plan fits on one page. The following example is for the invoice study.
| Field | Entry |
|---|---|
| Metric | Invoice error rate (proportion of defective invoices) |
| CTQ link | Invoice matches the signed purchase order |
| Data type | Attribute, pass/fail per invoice |
| Operational definition | See definition, method and decision rule above |
| Stratification | Billing team, customer segment, invoice week |
| Sampling | Stratified random sample by billing team from the weekly invoice list |
| Sample size | 385 minimum overall; at least 130 per team for three teams |
| Collector | Billing auditor, with named backup |
| Location | Billing system and scanned purchase order archive |
| Timing | Within 2 working days of issue; about 10 invoices per day |
| Duration | 8 weeks |
| Form | Audit checklist with fields for each stratification factor |
| Storage | Shared spreadsheet, one row per invoice, locked header row |
Each row is a decision someone can challenge. That is the purpose of writing it down.
Reviewing the plan before use
Before collecting, read the plan against the original question. A short review checklist helps:
- Does the metric answer the question in the project charter?
- Would two collectors apply the operational definition the same way?
- Is every stratification factor captured on the form?
- Does the sample size support the comparisons you intend to make?
- Is every field assigned to a named person, place and time?
- Is there a plan for what happens when an item cannot be measured, such as a missing purchase order?
Item 6 is often missed. Decide in advance whether such items are excluded, counted as defective, or logged separately. Whatever you choose, record it, because it changes the result.
Common errors
- Planning from the data you already have. Convenient data often fails to match the CTQ requirement. Start from the question, then see what existing data can contribute.
- Too many metrics. Each extra measure adds collection effort and errors. Collect only what the analysis will use.
- Missing stratification fields. Adding them later usually means starting over.
- No owner. A plan without a named person is a plan that stops.
- Treating the sample size as fixed. It depends on the margin of error you accept. Revisit it if cost or time forces a change, and state the new margin.
A diagram of the planning flow
Key points
- The plan is one document that records every decision about the data before collection starts.
- Decisions follow a fixed order, from the problem through the metric and definition to the sample and the logistics.
- Sample size depends on the comparisons you want, not only on the overall estimate.
- Named people, defined timing and a plan for unmeasurable items prevent the most common failures.
Exercise
A team plans to estimate the defect rate of a process and compare three shifts. They calculate a sample size of 385 at 95% confidence and a 5-point margin, collect 385 items spread evenly across the shifts, and then report a separate rate for each shift. What is wrong with this plan, and what should they change?
Show answer
The 385 observations support an estimate for the whole process. Split evenly across three shifts, each shift has about 128 observations, so each shift's rate has a margin of error wider than 5 points (roughly 8.7 points at p = 0.5). To report each shift at a 5-point margin, they need about 385 observations per shift, or 1,155 in total. Alternatively, they can accept the wider margin per shift and state it in the plan. Either way, the sample size must be set for the comparison they intend to make, and the plan should say which margin applies.
Exercise
List four fields in the "who, where and when" part of a plan, and say what can go wrong if each is left vague.
Show answer
Possible answer: (1) Collector: with no named owner, collection stops or different people apply different judgments. (2) Location: if sites are not stated, the data may cover only one site and not represent the process. (3) Timing of each observation: if the delay between event and check varies, later corrections can hide errors and make results inconsistent. (4) Schedule across the study: if all data is collected in one short period, weekday and period variation is missed.