Sub topic 10
Baselining the Metric and Setting a Target
You have a project Y with an operational definition. This chapter covers the last two steps before the metric goes into a charter: measuring where the process stands today (the baseline) and stating where it needs to be (the target).
This chapter assumes you can compute a proportion and a mean, read a run chart, and recognize DMAIC and SIPOC terms. It also assumes you have an operational definition for the Y, covered in the previous chapters. The running example is the Y from the CTQ tree: the percentage of orders delivered within 3 calendar days of the order date.
What a baseline is, and why it comes first
A baseline is the measured performance of the Y before any improvement work, using the operational definition exactly as written. It gives you three things:
- A starting number to compare against when you claim an improvement.
- A check that the problem exists at the size people believe it does.
- The information you need to set a realistic target.
Teams often skip it because they "already know" the number. That number is usually an anecdote ("about one in ten is late") or a figure computed with a different definition, such as a report that counts from ship date and not order date. A baseline you measure yourself, with the agreed definition, avoids the argument later.
Choosing the data window
The window is the period and the volume of data you include. Three rules cover most cases:
- Cover the normal variation. If volume or mix changes by weekday or by season, the window must include a full cycle. Two weeks of data cannot represent a business with a December peak.
- Use recent data from the current process. If the process changed six months ago, older data describes a different process. Start the window after the change.
- Prefer enough data to see the defect. If defects are rare, you need many observations. A rough rule for a proportion is at least 10 expected defects in the sample, so that a 2% defect rate needs about 500 observations.
If you cannot collect historical data, collect it prospectively for a few weeks. Say so in the charter, because prospective data delays the project.
When the data set is too large to check by hand, sample. Use a random or systematic sample drawn across the whole window, not the first 200 records. A sample of the most convenient records is a common source of a baseline that looks better than the truth.
Cleaning the data without hiding defects
Apply the operational definition to every record, including the awkward ones. Decide in advance how to handle each case and write the decision down:
- Missing values. Count how many records lack a delivery date. If it is 1%, exclude and report it. If it is 15%, the missing data is itself a finding, and the baseline is unreliable.
- Excluded cases. The operational definition should list exclusions, such as cancelled orders. Do not add new exclusions now because they improve the number.
- Duplicates and test records. Remove them, and record how many you removed.
Checking that the process is stable
A baseline is only a useful prediction if the process behaves consistently. Before you quote one number, plot the Y over time. For a proportion, a p-chart is the usual tool. Its control limits are the overall proportion plus or minus three standard errors, computed for each subgroup size.
If points fall outside the limits, or there are trends or shifts, a single average hides something. Find out what happened that week. A supplier outage or a system migration is a special cause. You may need to report the baseline for the stable period only, and you should record the special cause.
Computing the baseline
For a proportion Y, the baseline is total defects divided by total opportunities, reported with an interval that shows the uncertainty. The following script pools eight weeks of data, checks each week against p-chart limits, and computes the defect rate, DPMO, and a 95% Wilson confidence interval. It uses only the standard library.
from math import sqrt
# (orders, orders delivered later than 3 days) for each of 8 weeks
weekly = [
(500, 62), (480, 55), (510, 71), (495, 58),
(520, 66), (505, 60), (490, 64), (515, 59),
]
def wilson_interval(defects, n, z=1.96):
"""95% Wilson score interval for a proportion."""
p = defects / n
denom = 1 + z**2 / n
centre = (p + z**2 / (2 * n)) / denom
half = z * sqrt(p * (1 - p) / n + z**2 / (4 * n**2)) / denom
return centre - half, centre + half
total_n = sum(n for n, _ in weekly)
total_d = sum(d for _, d in weekly)
p_bar = total_d / total_n
print("week rate lower upper status")
for week, (n, d) in enumerate(weekly, start=1):
p = d / n
se = sqrt(p_bar * (1 - p_bar) / n)
lcl, ucl = max(0.0, p_bar - 3 * se), p_bar + 3 * se
status = "ok" if lcl <= p <= ucl else "OUT OF CONTROL"
print(f"{week:>4} {p:.3f} {lcl:.3f} {ucl:.3f} {status}")
low, high = wilson_interval(total_d, total_n)
print(f"\nBaseline: {total_d} late of {total_n} orders = {p_bar:.1%}")
print(f"95% interval: {low:.1%} to {high:.1%}")
print(f"DPMO (one opportunity per order): {p_bar * 1_000_000:,.0f}")For this data no week falls outside its limits, so the process looks stable. The pooled baseline is 495 late orders out of 4,015, which is 12.3% defective (87.7% on time). The DPMO is about 123,288, and the 95% interval runs from about 11.3% to 13.4%. The interval matters later: an improvement from 12.3% to 12.0% is inside the noise and is not evidence of anything.
Reporting the baseline completely
A baseline statement carries more than one number. Include the Y name, the operational definition by reference, the window, the sample size, the result with its interval, and the stability finding. For example: "Percentage of orders delivered later than 3 calendar days from order date, weeks 1 to 8, 4,015 orders, 12.3% (95% interval 11.3% to 13.4%), stable."
For a continuous Y, such as delivery time in days, report the mean and the standard deviation as well as the median, because delivery times are often skewed. Report the defect rate against the specification too. The mean alone can look acceptable while a long tail of late orders is what customers notice.
Setting the target
A target is the level of performance the project commits to reach. Setting it is a judgement, but it should rest on evidence. Compare these common sources:
| Source | How you use it | Risk |
|---|---|---|
| Customer requirement | Set the target at the level that makes the CTQ requirement reliably met | May be unreachable in one project |
| Benchmark | Use a competitor, an internal best site, or an industry figure | The benchmark may measure the Y differently |
| Best demonstrated performance | Use the best stable period or best team in your own data | Small samples make the best period look better than it is |
| Percentage gap closure | Commit to closing a set share of the gap, such as half | Arbitrary unless tied to a need |
| Business case | Work backward from the cost of defects to a break-even level | Cost estimates are often weak |
Use at least two sources and see whether they agree. If the customer requirement implies 2% late orders and the best internal site achieves 6%, the target of 5% for this project is defensible, and you should flag the remaining gap for later work.
Writing the target statement
A good target names the metric, the direction, the starting value, the end value, and the date. It follows the SMART convention (specific, measurable, achievable, relevant, time-bound). For this example:
- Weak: "Improve delivery performance."
- Weak: "Reduce late orders by 50%." (It gives no baseline or deadline, and "by 50%" is ambiguous between relative and absolute change.)
- Better: "Reduce the percentage of orders delivered later than 3 days from 12.3% to 5.0% or less (a 59% relative reduction) within 6 months of the start of the Improve phase, measured weekly with the agreed operational definition."
The relative reduction here is (12.3 − 5.0) / 12.3, which is about 59%. State relative and absolute changes separately so no one confuses them.
Edge cases
- The baseline is already close to the target. If the process meets the requirement, the project may be solving the wrong problem. Return to the CTQ tree and check whether another driver has a bigger gap.
- A zero-defect sample. Zero observed defects does not mean a zero defect rate. With 0 defects in n records, the upper 95% limit is roughly 3/n, so 0 late orders in 100 only shows a rate below about 3%.
- Several defect opportunities per unit. If an order can fail on speed and on accuracy, define the opportunities before computing DPMO. A DPMO with an undefined number of opportunities cannot be compared across processes.
- The definition changed during the window. If the measurement rule changed midway, split the data and baseline each part separately, or re-measure the older data under the new rule.
- Seasonality. Compare the target with a baseline from the same season, or use last year's data to understand the seasonal effect.
Common mistakes
- Using an average from a report that applies a different definition to the one in the charter.
- Quoting a baseline with no sample size or interval.
- Setting a target from a goal that was fixed before the baseline was measured.
- Choosing the best week as the baseline of "typical" performance.
- Leaving out the deadline, so the target cannot be judged as met or missed.
Exercise
A team measures 18 late orders in a sample of 600 orders over a stable 4-week window. (a) What are the defect rate and the DPMO, assuming one opportunity per order? (b) The customer requirement implies a 2% late rate and the best internal site achieves 3%. Write a target statement that is not weak.
Show answer
(a) The defect rate is 18 / 600 = 3.0%, so the DPMO is 0.03 × 1,000,000 = 30,000. (b) One acceptable answer: "Reduce the percentage of orders delivered later than 3 calendar days from 3.0% to 2.0% or less within 6 months, measured weekly using the agreed operational definition." The 2% figure comes from the customer requirement and is supported by the 3% best site only as a stretch reference. A good answer names the starting value, the end value, the unit, the deadline and the measurement method.
Exercise
A weekly p-chart for the Y shows one week far above its upper control limit, caused by a warehouse system outage. How should you handle the week when baselining, and what do you record?
Show answer
Investigate the cause first. Because the outage is a one-off special cause, you can report the baseline from the stable weeks, but you must record the excluded week, the reason, and the baseline with the week included. Quietly deleting the week hides a risk that the outage could happen again.