Detailed, original business teaching notes with formulas, worked examples, interpretation, assumptions and executable Python. All scenarios are illustrative. Use your browser’s search or print to PDF.
Descriptive statistics turn individual records into an understandable picture of current performance. They are the starting point for a business dashboard, a process investigation and the choice of a more advanced model.
What does normal performance look like, and how inconsistent is it?
Describe service time, daily sales, order value or defect counts without hiding their variation.
Compare locations or shifts using the same units, definitions and observation period.
Separate a typical customer experience from the capacity consumed by occasional long jobs.
How the method works
Begin by deciding what one row represents. Eight completed repair jobs are different from eight working days or eight customers who may each have several jobs. Keep the original records, order them by time, and inspect a plot before combining them. A summary describes the records collected; it does not automatically represent every customer or every future shift.
The mean shares the total equally across observations, so it is useful when totals drive a budget or a workload. The median divides sorted observations in half and is less sensitive to an unusually large value. The mode identifies a most frequent value or category. These answers can differ because they describe different aspects of the same operation, rather than because one is always correct.
Standard deviation measures the size of deviations around the mean in the original units. The interquartile range describes the spread of the middle half of observations. Percentiles describe service levels such as the time within which 90% of measured jobs were completed. A histogram, a time plot and separate summaries for relevant customer groups help reveal skewness, clusters or operational changes that a single average conceals.
One observed value, such as minutes for one completed job.
n
Number of observations; use the actual denominator for the stated unit.
s
Sample standard deviation, using n − 1 when estimating a population spread.
Q1, Q3
25th and 75th percentiles; record the quantile convention used.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative Durban repair desk: eight completed jobs took different numbers of minutes. The manager wants to understand the typical job and the work consumed by long jobs.
Inputs
Minutes: 18, 20, 22, 20, 25, 21, 19, 55.
All eight are valid completed jobs measured using the same start and stop definition.
Work through the numbers
Add the job times: 200 minutes. Divide by 8 to obtain a mean of 25.00 minutes.
Sort the data: 18, 19, 20, 20, 21, 22, 25, 55. The two middle values are 20 and 21, giving a median of 20.50 minutes.
The sum of squared deviations from 25 is 1,060. Divide by 7 to obtain sample variance 151.4286; take the square root to obtain 12.3056 minutes.
Using linear-interpolated quartiles, Q1 = 19.75 and Q3 = 22.75, so IQR = 3.00 minutes.
Mean 25.00 min; median 20.50 min; sample standard deviation 12.31 min; IQR 3.00 min.
The middle of this small sample is relatively compact, while one long job raises the mean and total workload. Use the mean for the observed workload calculation and investigate the long job before choosing a customer promise.
Apply it at work
Write the observation unit, measurement rule and decision the summary will support.
Check missing values, units, timestamps and subgroup labels before computing totals.
Report centre and spread together, and plot both the distribution and the time order.
Compare similar periods, record exceptions, and collect more representative observations before setting a lasting standard.
Check these assumptions
Measurements have consistent units and operational meaning.
Each row is counted once at the intended level of analysis.
The collected period is relevant to the decision being discussed.
A sample standard deviation estimates variability; it is not a confidence interval or a guaranteed operating range.
Common mistakes and how to avoid them
Using the median to budget total labour can understate the influence of long jobs.
Averaging branch percentages without their denominators can give a misleading company result.
Combining a changed process with its old version can conceal that neither period matches the overall average.
How this can help the business
A manager can distinguish a service promise from a labour budget instead of expecting one average to serve both decisions.
A consistent dashboard can make changes in volume, mix and spread visible before money is committed to expansion.
A decision rule to adapt
Select the summary that matches the decision, then check whether its conclusion survives subgroup and time-based inspection.
When to use another approach
Use a confidence interval to quantify uncertainty about a population mean, or a control chart to study time-ordered process stability.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 2 / Data foundations
Data quality, missing values and outliers
Data cleaning establishes whether records are usable for a specific decision. An unusual observation is a prompt to investigate, not permission to remove inconvenient evidence.
Is the apparent business problem real, or did the records create it?
Prevent unit errors, duplicate transactions and missing outcomes from distorting business measures.
Identify extreme delays or losses worth investigating without erasing genuine failures.
Document how exclusions or corrections affect a reported result.
How the method works
Data quality starts with business rules: a transaction identifier should be unique at transaction level, a completion time cannot precede its start, and a percentage should use an identifiable numerator and denominator. Keep a raw copy and create an analysis copy. Corrections need an explanation that another analyst can trace to a source record or a clear operational rule.
Missingness can change the meaning of a result. If only satisfied customers answer a survey, replacing unanswered ratings with the average does not recover the absent opinions. Examine who is missing, whether the absence itself carries information, and how a complete-case result differs from plausible alternatives. Imputation is a modelling choice with assumptions, not a way to manufacture observations.
An IQR screen flags values outside Q1 − 1.5 × IQR and Q3 + 1.5 × IQR. A flag is relative to the observed distribution; it does not establish that the value is wrong. Verify entries, inspect timestamps and classify known operating conditions. A valid breakdown delay may belong in a customer-experience analysis even when a separate routine-service study excludes breakdowns by a pre-agreed definition.
25th and 75th percentiles using a documented interpolation rule.
IQR
Spread of the middle half of measured values.
flag
A candidate for review, not an automatic rejection or correction.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative service desk: ten recorded job durations include a 60-minute repair. The analyst screens the data and then asks whether that long repair is an error or an operational event.
Inputs
Minutes: 10, 11, 11, 12, 12, 13, 13, 14, 15, 60.
Quartiles use NumPy’s default linear interpolation.
Work through the numbers
Calculate Q1 = 11.25 and Q3 = 13.75 minutes. The IQR is 2.50 minutes.
Compute the lower fence: 11.25 − 1.5 × 2.50 = 7.50 minutes. The upper fence is 13.75 + 3.75 = 17.50 minutes.
Only 60 minutes lies outside the fences. The mean of all ten jobs is 171/10 = 17.10 minutes.
For a sensitivity comparison only, the other nine average 111/9 = 12.33 minutes. The difference shows why the record matters; it does not justify deleting it.
One flagged duration, 60 minutes. Inclusive mean 17.10 min; sensitivity mean excluding that record 12.33 min.
If the 60-minute job was a genuine failure, it belongs in a measure of the customer’s overall experience. If source evidence proves that seconds were entered as minutes, correct the unit and retain an audit trail.
Apply it at work
Define valid ranges, units, keys and the process population before editing data.
Profile missing values, duplicate identifiers, impossible combinations and extreme observations.
Investigate flagged rows against source evidence; record every correction, exclusion or unresolved issue.
Compare results under defensible alternatives and state what the remaining data cannot establish.
Check these assumptions
The cleaning rules reflect the actual process and intended unit of analysis.
A duplicate key is interpreted in context: legitimate repeat visits are not duplicate customers.
Outlier fences are screening rules and can flag genuine observations in skewed distributions.
Any imputation or exclusion is disclosed and supported by a reason relevant to the decision.
Common mistakes and how to avoid them
Removing high costs solely because they worsen the result creates a biased business case.
Treating zero as missing can erase genuine zero sales or zero downtime.
Applying global fences across different product types can mislabel a legitimate high-value segment.
How this can help the business
Traceable cleaning can prevent an investment decision from being driven by a spreadsheet error.
Reviewing valid extreme cases can reveal service failures and hidden workload that ordinary averages miss.
A decision rule to adapt
Change a value only when evidence or the pre-defined analysis population supports the change; otherwise retain it and analyse its influence.
When to use another approach
Use robust summaries, separate operating regimes or a distribution suited to genuine skewness when extreme values are valid.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 3 / Data foundations
Sampling, surveys and representative measurement
A sampling plan connects the records you can collect to the population you want to understand. Selection, coverage, response and weighting matter before the sample size is considered.
Estimate service quality without contacting every customer.
Compare branches or customer groups while preserving their representation.
Design a manageable data-collection exercise that supports a defined business decision.
How the method works
Write the target population in operational terms: for example, all completed repair customers in a stated quarter. Build a sampling frame that can reach those customers and choose a probability-based selection method when population inference is the aim. A random number does not repair a frame that excludes customers who lack email addresses or whose complaints were never recorded.
A simple random sample gives eligible units a known chance of selection. Stratification divides the population into meaningful groups, such as branches, before sampling within them. It can ensure a small group is represented, but equal samples from unequal groups change the sample mix. To estimate a population total or proportion, apply weights that reflect the inclusion design and any defensible response adjustment.
Sampling error is only one uncertainty. Non-response, confusing wording, recall error and measurement inconsistency can bias a large sample. Track invitations, replies and respondent characteristics rather than reporting only the number of answers. For clustered or heavily weighted designs, use uncertainty calculations that respect the design; an ordinary independent-observation formula may overstate precision.
Share of the target population belonging to the stratum.
p̂ₕ
Observed outcome proportion within that stratum.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative two-branch repair company: branch A serves 600 of 1,000 eligible customers and B serves 400. Fifty customers are randomly sampled from each branch and all respond.
Inputs
Branch A: 40 satisfied respondents out of 50.
Branch B: 25 satisfied respondents out of 50.
Population shares: A = 0.60; B = 0.40.
Work through the numbers
Calculate the within-branch satisfaction rates: A = 40/50 = 80%; B = 25/50 = 50%.
An unweighted pooled calculation gives 65/100 = 65%, but it assigns each branch a 50% share.
Use population shares: 0.60 × 0.80 + 0.40 × 0.50 = 0.68.
Equivalently, use expansion weights 600/50 = 12 and 400/50 = 8: (40 × 12 + 25 × 8)/1,000 = 68%.
The design-weighted satisfaction estimate is 68%, compared with an unweighted 65%.
The weighted estimate restores the known branch population mix under the stated selection and full-response assumptions. It does not prove that nonrespondents would have answered similarly if response were incomplete.
Apply it at work
Define the population, reporting period, sampling unit and business measure.
Choose a reachable frame and a documented random selection design, including any strata.
Record invitations, responses and design weights; keep question wording and collection conditions consistent.
Estimate outcomes with appropriate weights and uncertainty, then assess coverage and response limitations.
Check these assumptions
Population counts and stratum membership are accurate for the reporting period.
Selection within each example stratum is genuinely random and without substitution by convenience.
The numerical example assumes full response; non-response requires a separate assessment.
The outcome question has the same meaning across branches and customer groups.
Common mistakes and how to avoid them
A large voluntary website poll can still miss unhappy customers who stopped using the service.
Weights repair the intended sample mix, not every unobserved difference between respondents and nonrespondents.
Selecting every twentieth record can be distorted if the file has a repeating pattern aligned with that interval.
How this can help the business
A business can avoid changing its offer based only on its most vocal or easiest-to-reach customers.
Separate group estimates can direct investigation while the weighted total provides a coherent company-wide measure.
A decision rule to adapt
Use population conclusions only when the selection, coverage and response story support them; report subgroup and design limitations alongside the estimate.
When to use another approach
Use a census for a small accessible population, or treat a convenience sample as exploratory rather than representative.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 4 / Probability
Probability, expected value and decision trees
Expected value combines the financial result of each possible outcome with its probability. It gives a consistent comparison of uncertain choices while leaving room to consider downside risk, cash limits and the value of more information.
Which option has the better expected contribution when outcomes are uncertain?
Compare a service intervention, promotion or operating choice under uncertainty.
Make assumptions about demand and contribution visible before approval.
Identify when the benefit of better information could justify a small pilot.
How the method works
Define outcomes that do not overlap and together cover the possible scenarios being modelled. Assign probabilities that sum to one, and use contribution after relevant variable costs rather than mixing revenue with profit. A decision tree separates choices the manager controls from chance outcomes the manager cannot control. Evaluate chance nodes by weighting their outcomes, then compare the feasible choices.
Expected value is the weighted average result of the model, not the most likely single result. Repeated comparable decisions may average toward it when the model is reliable; a one-off investment can still produce any of its individual outcomes. Two projects can have the same expected value but very different worst cases, so the decision also needs a cash, operational or risk constraint.
Sensitivity analysis asks how the ranking changes when a probability or contribution changes. A break-even probability is especially useful: it makes the belief required to justify a choice explicit. If realistic alternatives fall on both sides of that threshold, the business case is fragile. A targeted pilot can then focus on the uncertain input that actually changes the decision.
The calculation
E[V] = Σ pᵢvᵢ; incremental expected value = E[V with change] − E[V without change]
Read the symbols
Symbol
Meaning
pᵢ
Probability of outcome i; mutually exclusive scenario probabilities sum to one.
vᵢ
Financial result for that outcome, on a consistent cost and time basis.
E[V]
Modelled long-run average value, not a guarantee for one decision.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative Ballito service firm considers spending R8,000 on a booking improvement. The firm compares incremental contribution over the same three-month period, before financing and tax.
Inputs
Strong uptake: probability 0.30, incremental contribution before intervention cost R30,000.
Moderate uptake: probability 0.50, contribution R12,000.
Weak uptake: probability 0.20, contribution R0.
Intervention cost R8,000, incurred in every scenario.
Work through the numbers
Calculate the net scenario results: R22,000, R4,000 and −R8,000.
Weight each net result: 0.30 × 22,000 = R6,600; 0.50 × 4,000 = R2,000; 0.20 × (−8,000) = −R1,600.
The model assigns 20% probability to an R8,000 loss, so confirm that the business can tolerate that outcome.
Modelled incremental expected contribution is R7,000, with an R8,000 downside in the weak-uptake scenario.
The intervention has a positive expectation under these assumptions. Approval still depends on affordability, alternatives and whether the scenario probabilities have enough support to guide a commitment.
Apply it at work
State the choice, horizon, comparison option and relevant incremental costs.
List mutually exclusive scenarios and document the evidence behind their probabilities.
Calculate both expected contribution and important downside outcomes.
Vary the uncertain inputs, identify decision thresholds and decide whether to pilot, proceed or wait for better information.
Check these assumptions
All material scenarios and relevant incremental cash or contribution items are represented.
Probabilities describe the same future horizon and business conditions.
Values use consistent treatment of fixed, sunk and variable costs.
Risk preferences and funding limits are assessed separately from the average value.
Common mistakes and how to avoid them
A precise-looking expected value cannot make an unsupported probability reliable.
Counting a cost only in the bad scenario understates costs when it is actually incurred in every scenario.
Comparing revenue in one option with contribution after costs in another creates an unfair ranking.
How this can help the business
Managers can compare proposals on a consistent basis and expose the assumptions most worth testing.
A downside-aware comparison can prevent a positive average from disguising a loss the business cannot fund.
A decision rule to adapt
Prefer a feasible option with a better incremental expectation only after checking downside constraints and sensitivity to defensible assumptions.
When to use another approach
Use Monte Carlo simulation for many interacting uncertainties, or a scenario table when probabilities cannot be defended.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
probabilities = [0.30, 0.50, 0.20]
contributions = [30000, 12000, 0]
intervention_cost = 8000
net_results = [value-intervention_cost for value in contributions]
expected = sum(p*value for p, value in zip(probabilities, net_results))
print('Net scenario contributions:', net_results)
print(f'Expected incremental contribution: R {expected:,.2f}')
print(f'Worst modelled result: R {min(net_results):,.2f}')
Recorded output
Net scenario contributions: [22000, 4000, -8000]
Expected incremental contribution: R 7,000.00
Worst modelled result: R -8,000.00
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 5 / Probability
Bayes’ theorem and the base-rate problem
Bayes’ theorem combines a starting prevalence with the reliability of new evidence. It prevents a common error: treating the probability of an alert given a problem as the probability of a problem given an alert.
When an alert fires, how likely is the underlying business problem?
Interpret automated quality flags and prioritise manual inspection.
Estimate how many false alerts a detection workflow will create.
Compare screening policies using missed-problem and false-alarm costs.
How the method works
Begin with a clearly defined underlying state, such as a defective item, and an observable signal, such as an inspection alert. The base rate describes how common the state is before seeing the signal. Sensitivity describes how often the signal appears when the state is present; a false-positive rate describes how often the signal appears when it is absent.
The alert population contains both true and false alerts. Bayes’ theorem divides the probability of a true alert by the total probability of an alert. It therefore uses the base rate as well as test performance. When defects are rare, even a small false-positive rate can generate many alerts from good items because the good-item population is much larger.
Convert the probabilities into expected counts for a realistic operating volume. A warehouse manager needs to know how many items require review, how many are genuinely problematic and how many defective items remain unflagged. The appropriate response threshold depends on the relative cost of an unnecessary check and a missed defect. The theorem updates a probability; it does not by itself choose the business action.
The calculation
P(D | A) = [P(A | D)P(D)] / [P(A | D)P(D) + P(A | not D)P(not D)]
Read the symbols
Symbol
Meaning
D
Underlying problem, such as a genuinely defective item.
A
Observed alert or positive screening result.
P(D)
Base-rate probability before seeing the alert.
P(A | D), P(A | not D)
Sensitivity and false-positive rate measured under relevant conditions.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative KwaZulu-Natal warehouse considers an automated visual flag as a trigger for manual inspection, not as a final rejection decision.
Inputs
Expected defect prevalence 2%.
Sensitivity 90%; false-positive rate 5%.
Operating volume: 10,000 items.
Work through the numbers
Of 10,000 items, expect 200 defective and 9,800 good items under the prevalence assumption.
The flag finds 0.90 × 200 = 180 defective items and also flags 0.05 × 9,800 = 490 good items.
Total flagged items = 180 + 490 = 670. The fraction genuinely defective is 180/670 = 0.2686567.
Twenty defective items are missed: 200 − 180 = 20. Manual inspection must be sized for about 670 alerts, not just the 180 true alerts.
A flagged item has a modelled 26.87% probability of being defective. The 90% sensitivity is a different probability.
The alert can still be useful for a relatively inexpensive manual check. It would be a poor basis for assuming that almost every flagged item should be scrapped without confirmation.
Apply it at work
Define the state and signal, and obtain a relevant prevalence estimate.
Measure sensitivity and false-positive rate using labelled validation data from the intended operation.
Apply Bayes’ theorem and convert the result into expected true, false and missed counts.
Compare action costs, review capacity and the consequences of errors before setting the response policy.
Check these assumptions
The two underlying states in this example are mutually exclusive and exhaustive.
Validation rates and prevalence are relevant to the operation where the system will be used.
The alert definition stays the same when the probabilities are applied.
Estimation uncertainty and changes in product mix are checked rather than treating supplied rates as exact facts.
Common mistakes and how to avoid them
Substituting P(alert given defect) for P(defect given alert) reverses the question.
Applying a high-defect validation prevalence to a low-defect live process overstates the positive predictive value.
Treating every alert as an independent new piece of evidence can double-count repeated signals about the same item.
How this can help the business
Inspection staffing can be based on the whole alert workload, including good items that trigger the system.
A company can evaluate a detection workflow using actual error costs instead of a single headline accuracy figure.
A decision rule to adapt
Act on the posterior probability together with error costs and verification options; re-estimate it when prevalence or operating conditions change.
When to use another approach
Use a calibrated probability model and an explicit cost threshold when there are many signals or more than two underlying states.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 6 / Distributions
Binomial distribution: successes in a fixed number of trials
The binomial distribution models a count of yes/no outcomes across a specified number of comparable trials. It connects an assumed event rate to the chances of individual batch results.
How variable can the number of defects or conversions be in a fixed batch?
Estimate the chance that defects exceed an inspection threshold in a batch.
Translate a sales-conversion assumption into the likely count from a fixed group of leads.
Plan review or rework capacity while recognising that a stable average rate still produces variation.
How the method works
Fix the number of trials before counting the outcome of interest. A trial might be one inspected item, one eligible booking or one independently reached lead. Label one of the two outcomes a success for the mathematics, even when it represents an undesirable event such as a defect. Use the same classification rule for every trial.
The probability of exactly k successes accounts for two things: the probability of any one arrangement with k successes, and the number of possible arrangements. The combination term counts those arrangements. Summing the exact probabilities gives a cumulative probability; the complementary tail answers a threshold question such as more than three defects. Tail boundaries matter because the count is discrete.
The expected count is n × p, but individual batches need not equal it. Its variance is n × p × (1 − p). The model assumes the event probability stays constant and trials are independent. Shared machine faults, household-level marketing effects or a changing shift can create dependence or different probabilities. In those circumstances a simple binomial calculation can understate the extremes.
Number of ways k successes can be placed among n trials.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative packaging operation inspects batches of 100 items. Historical evidence motivates a scenario with a stable 2% defect probability per item. The supervisor asks how often a batch needs space for more than three reworks.
Inputs
n = 100 items per batch.
p = 0.02 defect probability, treated as known for this planning example.
Threshold: more than 3 defects, meaning 4 or more.
Calculate the variance: 100 × 0.02 × 0.98 = 1.96; the standard deviation is 1.40 defects.
Exactly two defects has probability C(100,2) × 0.02² × 0.98⁹⁸ = 0.2734139.
For more than three defects, sum k = 4 through 100, or use the survival probability P(X > 3) = 0.1410384.
Mean 2 defects per batch; probability of exactly 2 is 27.34%; probability of more than 3 is 14.10%.
A stable average of two defects does not mean that three rework places cover almost every batch. This scenario predicts that the threshold is exceeded in roughly 14% of comparable batches.
Apply it at work
Define a trial, its two outcomes, the batch size and the threshold before calculating.
Estimate p from relevant labelled records and assess differences between product types or shifts.
Calculate the count distribution and the exact tail needed by the capacity decision.
Compare predictions with later batches and revise the model if clustering, drift or estimation uncertainty matters.
Check these assumptions
The number of trials n is fixed rather than stopping after a target number of successes.
Every trial has the same event probability in the stated scenario.
Outcomes are independent, conditional on the model and its parameters.
Sampling without replacement is approximated only when depletion is negligible; otherwise use a finite-population model.
Common mistakes and how to avoid them
A 2% historical rate is an estimate, so treating it as perfectly known can understate planning uncertainty.
Counting defects rather than defective units can allow several events per item and break the yes/no trial definition.
Using P(X ≥ 3) when the question is P(X > 3) includes the boundary and gives a different answer.
How this can help the business
Threshold-based staffing or rework decisions can be tied to an explicit exceedance probability.
Sales or quality targets can be interpreted with their expected sampling variation instead of treating every fluctuation as a performance change.
A decision rule to adapt
Choose a count threshold that meets the stated coverage objective under a validated trial model, then monitor whether observed batches behave similarly.
When to use another approach
Use hypergeometric sampling for a known finite lot, negative binomial for appropriate overdispersed counts, or a beta-binomial predictive model when p is uncertain.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import binom
n, p = 100, 0.02
print(f'Expected defects: {n*p:.2f}')
print(f'Count standard deviation: {(n*p*(1-p))**0.5:.2f}')
print(f'Exactly two defects: {binom.pmf(2,n,p):.2%}')
print(f'More than three defects: {binom.sf(3,n,p):.2%}')
Recorded output
Expected defects: 2.00
Count standard deviation: 1.40
Exactly two defects: 27.34%
More than three defects: 14.10%
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 7 / Distributions
Poisson distribution: random event counts
A Poisson model translates an average event rate into a distribution of whole-number counts. It is useful for random arrivals or incidents when the rate and independence assumptions fit the operation.
How often could random demand exceed the capacity planned for a time window?
Estimate a short-window demand threshold for packing or customer support.
Explore incident counts, such as service calls, under a stable operating rate.
Show why covering average demand is different from covering most demand windows.
How the method works
Define an event and a fixed amount of exposure: fifteen minutes, one machine-hour or another comparable window. Estimate the mean count for that exposure from relevant records. If the rate is 48 orders per hour, the corresponding mean in a quarter-hour is 12, provided the rate is approximately constant during that period. Scaling the exposure changes the mean used in the distribution.
The probability of exactly k events is exp(−λ) × λᵏ / k!. Adding the probabilities up to a capacity C gives P(X ≤ C); the remaining tail P(X > C) gives the chance that arrivals exceed nominal window capacity. The mean and variance both equal λ in a simple Poisson model, so the standard deviation grows as its square root.
Check whether events are genuinely dispersed as the model supposes. Shared causes, batch order releases, promotions and changing peak-hour rates can create clustering or overdispersion. A window-coverage calculation also has no service timing: it does not say when orders finish, whether work was waiting at the start or how a backlog carries into later windows. Queueing or simulation is needed to answer those separate questions.
Expected number of events in the exact window being analysed.
k
A non-negative whole-number count.
C
Nominal event-handling capacity over that same window.
event rate
Expected events per chosen exposure unit, estimated for comparable conditions.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative packing team receives 48 orders per hour. Each station has nominal capacity for four orders per 15-minute window. The manager compares four and five stations, assuming zero opening backlog.
Inputs
Hourly order rate = 48; window = 0.25 hours.
Capacity per station = 4 orders per window.
Coverage objective = at least 95% of arrival-count windows.
Work through the numbers
Convert the rate to the window mean: λ = 48 × 0.25 = 12 orders.
Four stations provide capacity C = 4 × 4 = 16. Calculate P(X > 16) = 0.1012910.
Five stations provide C = 20. Calculate P(X > 20) = 0.0115977.
Window coverage changes from 1 − 0.1012910 = 89.87% to 1 − 0.0115977 = 98.84%. Five is the smallest whole-station count meeting this target with four orders per station.
Four stations: 10.13% overflow risk. Five stations: 1.16% overflow risk under the stated count model.
Adding one station changes count coverage substantially, but this is not an individual-order on-time completion guarantee. Check whether the same conclusion holds with measured service times and carried work.
Apply it at work
Record arrival timestamps and create equal, relevant exposure windows.
Estimate rates by comparable operating periods and compare count variance with count mean.
Calculate the exceedance probability for each practical capacity option.
Validate later counts and use a queueing model or discrete-event simulation if waiting time or backlog is the real decision.
Check these assumptions
Events occur independently under an approximately constant rate within the modelled exposure.
The event and exposure definitions are the same in estimation and planning.
The illustrative capacity comparison starts with no unfinished work.
The supplied rate is treated as known; parameter uncertainty is a separate issue.
Common mistakes and how to avoid them
Pooling quiet and peak hours can produce a rate that describes neither period well.
A scheduled release of twenty orders is not twenty independent random arrivals.
A probability of meeting a count threshold does not specify a distribution of order completion times.
How this can help the business
Capacity discussions can use an explicit coverage objective rather than assuming that average capacity is adequate.
Monitoring model failures can reveal changing demand or shared-cause surges that require a different planning approach.
A decision rule to adapt
Select the smallest feasible capacity meeting the stated count-coverage objective only after checking the arrival model and the separate service constraints.
When to use another approach
Use negative-binomial counts for suitable overdispersion, time-varying rates for peaks, or queueing and simulation for service dynamics.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import poisson
mean_orders = 48*0.25
for stations in [4, 5]:
capacity = stations*4
overflow = poisson.sf(capacity, mean_orders)
print(f'{stations} stations: capacity {capacity}, overflow {overflow:.2%}, coverage {1-overflow:.2%}')
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 8 / Distributions
Normal distribution: measurement variation
A normal distribution describes a symmetric continuous spread using a mean and standard deviation. When that shape is appropriate, it converts measurement limits into expected proportions and costs.
How much output falls outside a requirement when measurements vary around a centre?
Estimate the proportion of fills, dimensions or other measurements outside a specification.
Compare the effect of adjusting the process centre versus reducing variation.
Translate quality probabilities into expected rejected units over a stated production volume.
How the method works
A continuous model assigns probability to intervals rather than to one exact measurement. Its mean μ locates the centre and its standard deviation σ describes the spread. For normal variation the bell-shaped curve is symmetric. Do not assume this form just because a process has an average; inspect time stability, histograms and quantile plots, and consider the measurement system.
Standardisation converts a value into z = (x − μ)/σ, the distance from the centre in standard-deviation units. The normal cumulative distribution Φ(z) gives the probability of a value below that z-score. For two specification limits, calculate the lower and upper tails separately and add them to obtain an expected rejection rate.
The numerical result depends strongly on the distance from each limit relative to the spread. Moving an off-centre process toward the midpoint can reduce the nearer tail. Reducing σ makes measurements more consistent, if the intervention really achieves it. Neither operation should be confused with changing the specification, and a model probability does not establish that a proposed machine adjustment will produce the assumed parameters.
Positive standard deviation in the same measurement units.
LSL, USL
Product specification limits, determined by the requirement.
Φ
Standard normal cumulative distribution function.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative bottling line accepts volumes from 490 to 510 ml. Suppose a stable process has mean 502 ml and standard deviation 4 ml. Ten thousand bottles are produced in the period.
Inputs
Mean μ = 502 ml; standard deviation σ = 4 ml.
Acceptable interval 490–510 ml.
10,000 bottles; R3 contribution loss or rework cost per rejected bottle in this simplified example.
Work through the numbers
Standardise the lower limit: (490 − 502)/4 = −3. The lower-tail probability is 0.0013499.
Standardise the upper limit: (510 − 502)/4 = 2. The upper-tail probability is 0.0227501.
Add the tails: 0.0013499 + 0.0227501 = 0.0241000, or 2.4100%.
Modelled acceptance 97.59%; expected rejects about 241 per 10,000; expected reject cost about R723.
The upper tail dominates because the process mean is closer to the upper limit. Check centring and variation separately, and include intervention costs before deciding which adjustment is economically worthwhile.
Apply it at work
Define the measurement, product population, specification and cost per nonconforming unit.
Check time stability, measurement reliability and whether a normal shape is reasonable.
Estimate μ and σ from appropriate records and calculate both specification tails.
Compare feasible improvement scenarios, then measure the achieved distribution instead of assuming the new settings worked.
Check these assumptions
The distribution is approximately normal for the measurement and operating regime being analysed.
The process parameters are reasonably stable over the decision period.
Measurement error is understood and small enough for the intended quality decision.
The example treats both tails as rejects with the same cost; real underfill and giveaway economics may differ.
Common mistakes and how to avoid them
A normal model can imply impossible negative values for heavily skewed positive data.
Specification limits are product requirements, not statistical control limits.
Very high acceptance percentages must not be rounded into a promise of zero rejects.
How this can help the business
A business can link consistency to expected quality cost instead of focusing solely on the average fill.
Comparing centring and spread provides a more precise improvement question for process engineers and operators.
A decision rule to adapt
Use the tail calculation only for a defensible distribution and compare actual intervention cost with the reduction in expected quality losses.
When to use another approach
Use a lognormal or empirical distribution for skewed positive measurements, and capability indices for a compact but assumption-dependent process comparison.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 9 / Distributions
Exponential distribution: time until a random event
The exponential distribution models a non-negative waiting time with a constant event rate. It is a useful building block for random-arrival and some reliability models, provided the constant-hazard assumption is reasonable.
How long might we wait for the next event when the event rate is constant?
Explore time between unscheduled service requests at an approximately stable arrival rate.
Model a simplified time to failure during a constant-hazard operating regime.
Translate a mean waiting time into percentiles or exceedance probabilities.
How the method works
Use one consistent time unit and distinguish a rate from a mean duration. A rate of three calls per hour corresponds to a mean inter-arrival time of one third of an hour, or twenty minutes. In a homogeneous Poisson arrival model, the time to the next arrival has an exponential distribution. The count question and the waiting-time question use different variables even though their parameters are related.
The survival probability exp(−λt) is the chance of waiting longer than t. Subtracting it from one gives the probability that the event has occurred by t. The inverse relationship gives a percentile: a 95th percentile is the time by which the model places 95% of waiting times. That is a statement about individual waits under the model, not uncertainty about the mean.
The defining memoryless property means the modelled probability of waiting another s units does not depend on how long the current wait has already lasted. This can be defensible for random arrivals at a stable rate. It is often unsuitable for task durations with a minimum setup time, a near-fixed cycle or ageing equipment whose hazard changes with use. Memorylessness is an assumption to check, not a general business law.
Desired cumulative probability, such as 0.95 for a 95th percentile.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative technical support desk receives unscheduled requests during a quiet, stable period. The scenario assumes a mean of twenty minutes between arrivals. The manager asks how unusual a thirty-minute gap would be.
Inputs
Mean inter-arrival time = 20 minutes, so λ = 1/20 = 0.05 per minute.
The chance of an arrival within thirty minutes is 1 − 0.2231302 = 0.7768698.
Calculate the 95th percentile: −ln(0.05)/0.05 = 59.9146 minutes.
Under memorylessness, after ten minutes without an arrival, the modelled mean additional wait is still twenty minutes.
A gap longer than thirty minutes has probability 22.31%; the modelled 95th percentile is 59.91 minutes.
A thirty-minute quiet period is not especially rare under this scenario. Staffing decisions still need the volume and service work over the whole period rather than assuming that each current gap predicts the next one.
Apply it at work
Choose the event, exposure clock and a comparable operating regime.
Estimate rate from event counts and observed exposure, allowing for incomplete observation where relevant.
Inspect waiting times and changes in rate before applying a constant-hazard model.
Use the resulting probabilities in a broader capacity or reliability decision and validate them against later records.
Check these assumptions
The model uses a constant event rate within the period being analysed.
The associated random-event mechanism has no duration-dependent hazard.
Times are non-negative and measured consistently, with any censoring recorded.
The numerical parameter is treated as known; uncertainty in its estimate is not included in the example.
Common mistakes and how to avoid them
Using an hourly rate with a threshold expressed in minutes changes the answer by a factor of sixty in the exponent.
A memoryless arrival process does not imply that customer service tasks are memoryless.
Applying the same rate across lunch, promotions and closing time can conceal systematic variation.
How this can help the business
Managers can interpret quiet or busy gaps without declaring every departure from the mean abnormal.
Reliability and staffing models gain an explicit, testable waiting-time assumption instead of an unexplained average duration.
A decision rule to adapt
Use an exponential model when a constant-rate, memoryless mechanism is defensible; choose service or maintenance actions using costs and the complete operating context.
When to use another approach
Use Weibull for changing hazard, gamma or lognormal for positive task durations, or time-varying arrival models for predictable peaks.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import expon
mean_gap = 20
probability_long_gap = expon.sf(30,scale=mean_gap)
percentile_95 = expon.ppf(0.95,scale=mean_gap)
print(f'Gap longer than 30 min: {probability_long_gap:.2%}')
print(f'Arrival within 30 min: {1-probability_long_gap:.2%}')
print(f'95th percentile gap: {percentile_95:.2f} min')
Recorded output
Gap longer than 30 min: 22.31%
Arrival within 30 min: 77.69%
95th percentile gap: 59.91 min
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 10 / Distributions
Geometric distribution: trials until the first success
The geometric distribution models the trial number on which the first success occurs. It is useful for a repeated, comparable yes/no process where the success probability stays constant.
How many attempts might be needed before the first successful outcome?
Estimate attempts needed for the first qualified sales conversion in a simplified contact model.
Explore repeated independent retries or inspection attempts where the same success condition applies.
Connect per-attempt cost to expected cost before the first success.
How the method works
Define success precisely and count trials starting at one. If p is the probability of success on an attempt, a first success on attempt k requires k − 1 failures followed by a success. Multiply those probabilities to obtain (1 − p)^(k − 1) × p. SciPy’s geom uses this trial-count convention; some references instead count failures before success and therefore start at zero.
The chance of at least one success in the first m attempts is one minus the chance that all m attempts fail. The expected number of attempts is 1/p, but that expectation is not a guaranteed completion count. A process can succeed immediately or continue much longer than the average. Showing a tail probability makes that variability visible to a manager setting a contact or retry budget.
The model is memoryless in trial count. After several failures it still assigns the same p to the next comparable attempt. Real sales work can violate this assumption when lead quality changes, repeated contact annoys the same customer or the team learns during the campaign. Use the model for a defined scenario and reassess its relevance before treating its result as an operating target.
Trial number of the first success, taking values 1, 2, 3 and so on.
p
Constant success probability on an independent attempt.
m
A whole-number attempt budget.
cost per attempt
Comparable incremental cost incurred on every attempt.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative outreach team considers a scenario with a 20% qualified conversion probability per independent lead. Each attempted contact costs R40. The supervisor wants both the average cost and a finite-attempt coverage probability.
Inputs
Success probability p = 0.20.
Attempt budget m = 8 contacts.
Incremental cost per attempt = R40.
Work through the numbers
Expected attempts until the first success = 1/0.20 = 5.
Expected contact cost until first success = 5 × R40 = R200, assuming every attempt has the same cost and the process can continue.
Chance of no success in eight attempts = 0.80⁸ = 0.1677722. Therefore P(K ≤ 8) = 0.8322278.
Chance that the first success still has not occurred after ten attempts is 0.80¹⁰ = 0.1073742.
Expected attempts 5 and expected contact cost R200; probability of a first success within eight attempts 83.22%.
An eight-contact budget exceeds the expected five contacts but still leaves a 16.78% chance of no success in this simplified scenario. A finite campaign needs both a probability target and a stopping or escalation policy.
Apply it at work
Define one attempt, the first-success criterion and whether attempts concern different independent opportunities.
Estimate p for the specific channel, customer group and period.
Calculate expected attempts, finite-budget coverage and cost under the same convention.
Review outcomes and revise the approach if p changes after failures, learning or repeated contact.
Check these assumptions
Attempts are independent and have the same success probability.
The first success is the stopping event; a multi-success target needs a different distribution.
Each attempt is classified as success or failure using the same rule.
Expected unbounded-attempt cost assumes constant per-attempt cost and continued attempts; a capped campaign has a different cost calculation.
Common mistakes and how to avoid them
Counting failures instead of total attempts creates an off-by-one error in outputs and cost.
Treating repeated calls to the same customer as independent identical leads can overstate coverage.
An estimated historical conversion rate can change when the channel, offer or audience changes.
How this can help the business
A manager can see how an attempt budget translates into the chance of obtaining an initial result.
Expected acquisition effort can be compared with contribution while recognising long runs of failure and channel differences.
A decision rule to adapt
Choose an attempt policy using both the chance of success within the budget and the cost of continued attempts, then validate the constant-probability assumption.
When to use another approach
Use binomial for successes in a fixed campaign, negative binomial for a target of several successes, or a time-varying conversion model when attempts differ.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import geom
p = 0.20
mean_attempts = geom.mean(p)
print(f'Expected attempts: {mean_attempts:.2f}')
print(f'Expected cost until success: R {mean_attempts*40:.2f}')
print(f'First success within eight attempts: {geom.cdf(8,p):.2%}')
print(f'No success after ten attempts: {geom.sf(10,p):.2%}')
Recorded output
Expected attempts: 5.00
Expected cost until success: R 200.00
First success within eight attempts: 83.22%
No success after ten attempts: 10.74%
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 11 / Distributions
Negative binomial: repeated-success targets and overdispersed counts
A negative-binomial distribution can model failures before a target number of successes. A related parameterisation also describes count data whose variance exceeds its mean. State which interpretation is being used before calculating.
How variable is the effort needed to achieve several successes?
Explore contacts required to reach several conversions in a comparable-trial scenario.
Model suitable overdispersed incident or demand counts when a Poisson variance is too restrictive.
Make dispersion explicit when planning resources against a count tail.
How the method works
In the repeated-trial interpretation, specify a target r successes and a constant independent success probability p. The random variable F counts failures before the rth success. The last trial must be a success; among the preceding trials, successes and failures can occur in many arrangements. SciPy’s nbinom uses this failure-count variable rather than the total number of attempts.
The mean number of failures is r(1 − p)/p, and the total number of attempts is F + r. The failure-count variance is r(1 − p)/p², which can be much larger than the mean. Convert a total-attempt budget into a failure budget before asking for a cumulative probability. This avoids reporting a mathematically valid probability for the wrong business question.
For fixed-window count modelling, another common form uses a mean μ and a dispersion parameter r, giving variance μ + μ²/r and p = r/(r + μ). This does not require interpreting every count as literal failed sales attempts. It can represent extra count variability, but a statistical fit alone does not identify its business cause. Investigate changing exposure, mixed rates and dependence before selecting it merely because it produces a convenient tail.
Required successes in the repeated-trial example; a positive dispersion/shape parameter in the count parameterisation.
p
Success probability in the repeated-trial interpretation.
F
Non-negative failures before the rth success, not total attempts.
μ
Mean count when using the alternative variance μ + μ²/r form.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative sales desk wants five conversions. The planning scenario assumes independent contacts with a 25% conversion probability. The manager asks whether a twenty-contact allocation is enough to reach the target.
Inputs
Target r = 5 successes; p = 0.25 per contact.
Total contact budget = 20.
Every contact has one success/failure outcome in this simplified scenario.
Variance of failures = 5 × 0.75/0.25² = 60. Adding five fixed successes does not change the variance of total attempts.
Achieving the fifth success by contact twenty requires no more than 20 − 5 = 15 failures before that success.
Calculate P(F ≤ 15) using nbinom with r = 5 and p = 0.25: 0.5851585.
The expected total is twenty contacts, but the chance of reaching five conversions by then is only 58.52%.
The mean effort is not a high-coverage quota. A manager who needs a much higher chance of meeting the conversion target must compare larger contact budgets or a different feasible process.
Apply it at work
Choose either the repeated-success or fixed-window count interpretation and name the random variable.
Estimate parameters from relevant opportunities or counts, with their exposure and subgroup definitions.
Convert business thresholds into the model’s variable, then calculate the required tail or percentile.
Validate predicted variation and check whether changing rates or dependence require a more explicit model.
Check these assumptions
The worked trial example uses independent contacts with constant p.
The success target is fixed and the variable counts failures until it is reached.
Fixed-window uses need comparable exposure or a model that adjusts for exposure.
Parameter uncertainty and future changes in the conversion process are not included in the numerical example.
Common mistakes and how to avoid them
Passing a twenty-contact total directly as a failure count overstates the probability of meeting the target.
Overdispersion is a symptom to understand, not proof that a specific negative-binomial mechanism generated the records.
A good fit to an aggregate count can conceal different customer groups or predictable peak periods.
How this can help the business
Effort allocations can be based on target-achievement probability rather than a misleading expected quota.
A count forecast can acknowledge excess variability and avoid overstating the protection offered by an average-demand plan.
A decision rule to adapt
Use a threshold probability for the correctly defined count and select an operationally defensible parameterisation; test the fit against held-out periods or contacts.
When to use another approach
Use binomial for a fixed number of trials, Poisson for suitable equidispersed event counts, or a regression model when count rates depend on measured drivers.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import nbinom
r, p = 5, 0.25
contact_budget = 20
failure_budget = contact_budget-r
print(f'Expected total contacts: {nbinom.mean(r,p)+r:.2f}')
print(f'Contact-count variance: {nbinom.var(r,p):.2f}')
print(f'Five successes by contact 20: {nbinom.cdf(failure_budget,r,p):.2%}')
Recorded output
Expected total contacts: 20.00
Contact-count variance: 60.00
Five successes by contact 20: 58.52%
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 12 / Distributions
Hypergeometric distribution: sampling a finite lot
The hypergeometric distribution models successes in a sample from a finite population with a stated composition. It accounts for the fact that each sampled item changes what remains in the lot.
What is the chance a sample finds a defect when items are drawn without replacement?
Evaluate how likely a lot-inspection sample is to detect at least one defective item at a proposed lot composition.
Design operating-characteristic comparisons for acceptance-sampling plans.
Analyse finite audit samples when objects are not returned to the population between draws.
How the method works
Identify the finite population size N, the number K of items with the counted property, and the sample size n. A random sample without replacement has dependent draws: after taking one defective item, there are fewer defective items left. The hypergeometric model counts the number of possible samples with a given composition and compares that count with all possible samples of size n.
The numerator chooses k counted items from the K available and n − k other items from the N − K remaining class. The denominator chooses any n items from the full lot. The feasible count range depends on all three totals. Its mean is nK/N, while its variance includes a finite-population correction relative to an independent-binomial approximation.
In real acceptance sampling the exact number of defects in a lot is usually unknown. Evaluate detection or acceptance probabilities under several proposed K values to understand a plan, instead of pretending that the scenario composition is observed truth. Finding no defects in a small sample does not establish that the lot is defect-free, and a sample acceptance rule should reflect the consequences of both accepting a bad lot and rejecting an acceptable one.
The calculation
P(X = k) = C(K,k)C(N−K,n−k)/C(N,n); E[X] = nK/N
Read the symbols
Symbol
Meaning
N
Total number of items in the finite lot.
K
Number with the counted property under the specified lot scenario.
n
Sample size drawn randomly without replacement.
X
Counted-property items found in the sample.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative warehouse compares a ten-item inspection with a lot of one hundred items. For this scenario calculation, suppose exactly eight items are defective. The aim is to understand detection probability, not to claim that eight is known in a live lot.
Inputs
Lot size N = 100; scenario defects K = 8.
Random sample n = 10 without replacement.
Detection means observing at least one defective item.
Work through the numbers
The expected number of defects in the sample is 10 × 8/100 = 0.8.
The probability of no defects is C(8,0) × C(92,10)/C(100,10) = 0.4165533.
Detection probability is P(X ≥ 1) = 1 − 0.4165533 = 0.5834467.
Therefore, even a lot with eight defects can pass a zero-defects-observed sample with probability about 41.66% under this plan.
The ten-item sample detects at least one defect with probability 58.34%; it finds none with probability 41.66%.
This sample is a limited detector for the stated lot composition. Increasing the sample, changing the acceptance threshold or adding process evidence may be needed if the consequence of accepting such a lot is unacceptable.
Apply it at work
Specify the lot, counted property, sampling method and acceptance or detection rule.
Choose several plausible lot compositions rather than treating an unknown defect count as certain.
Calculate detection or acceptance probabilities for each proposed plan and composition.
Compare inspection cost and error consequences, then implement random selection and preserve the inspection records.
Check these assumptions
The lot is finite, with a fixed composition during sampling.
Sampling is genuinely random without replacement, not a convenient selection of accessible items.
Classification is accurate or inspection errors are modelled separately.
The example’s K = 8 is a scenario input; it is not inferred from a ten-item sample.
Common mistakes and how to avoid them
Sampling only from the top of a pallet can invalidate the random-lot interpretation.
Using a binomial model ignores depletion when the sample is a substantial fraction of the lot.
No detected defects does not mean no defects exist in the uninspected items.
How this can help the business
Sampling effort can be related to the risk of missing an unacceptable lot rather than an arbitrary inspection percentage.
A warehouse can compare the cost of additional inspection with the operating consequences of false acceptance and false rejection.
A decision rule to adapt
Choose an acceptance-sampling plan using its performance across relevant lot compositions and the business consequences of each decision error.
When to use another approach
Use a binomial approximation only when sampling depletion is negligible, or a full inspection when feasible and justified by the consequences.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
A lognormal model is useful when the logarithm of a positive measurement is approximately normal. Its mean, median and upper percentiles can differ substantially, making it relevant to budgets and tail exposure.
How should we plan for positive costs or durations with occasional large outcomes?
Explore repair costs or completion durations that are positive and right-skewed.
Distinguish a typical case from the expected cost relevant to an aggregate budget.
Estimate upper cost or time thresholds while avoiding negative values implied by some symmetric models.
How the method works
Take natural logarithms of strictly positive measurements and inspect whether their transformed distribution is approximately normal in a stable operating regime. The log scale describes proportional rather than equal-sized changes. It is a candidate model when many multiplicative influences contribute to a value; the presence of skewness alone does not establish that the lognormal form fits.
The parameters μ and σ describe the mean and standard deviation of ln(X), not the arithmetic mean and standard deviation of X. The median on the original scale is exp(μ), while the mean is exp(μ + σ²/2). The difference grows with log-scale variation. A manager budgeting expected total cost generally needs the mean, whereas the median can describe the middle observed case.
Calculate a percentile by transforming a normal percentile back to the original units: exp(μ + σz_q). This provides a threshold for one modelled case. The percentile of the total cost of many jobs cannot be obtained by simply multiplying individual 95th percentiles. Aggregate risk depends on dependence, job counts and shared shocks, so a separate model or simulation is needed for a total-budget coverage decision.
A strictly positive value measured in a consistent unit.
μ, σ
Mean and positive standard deviation of the natural-log values.
z_q
Standard normal percentile at cumulative probability q.
exp
Exponentiation with base e; the inverse of the natural logarithm.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative repair company models per-job material costs with a lognormal scenario. The median is R1,000 and the standard deviation of the natural-log costs is 0.60.
Use z_0.95 = 1.6448536: the 95th percentile is 1,000 × exp(0.60 × 1.6448536) = R2,682.94.
The standardised log threshold for R2,000 is ln(2,000/1,000)/0.60 = 1.1552453. Its upper-tail probability is 12.3995%.
Median R1,000; expected single-job cost R1,197.22; 95th percentile R2,682.94; probability above R2,000 about 12.40%.
Using the median as the expected cost would understate this model’s average material requirement. The upper percentile helps frame contingency discussions, but it does not determine a whole-month budget by itself.
Apply it at work
Define the positive outcome, measurement unit and stable product or job population.
Inspect raw and log-transformed values, with attention to zeros, mixtures and changes over time.
Estimate log-scale parameters and report the mean, median and relevant tail probability separately.
Validate on later jobs and model counts and dependence before translating individual risk into an aggregate budget.
Check these assumptions
Values are strictly positive; a genuine zero outcome needs a separate treatment or mixture model.
Natural-log values are approximately normal within the modelled regime.
Costs use a consistent currency basis, including any relevant inflation or price-period adjustment.
The example treats the parameters as known and does not quantify their estimation uncertainty.
Common mistakes and how to avoid them
Supplying an arithmetic standard deviation as SciPy’s lognormal shape parameter produces the wrong model.
Adding a constant to handle zeros changes the interpretation and requires justification.
A few very large valid costs can drive the fitted mean; investigate them and test sensitivity rather than removing them automatically.
How this can help the business
Budgeting can distinguish expected resource consumption from a customer’s typical job.
Managers can compare contingency thresholds explicitly and see how variation, rather than only average cost, changes exposure.
A decision rule to adapt
Use the lognormal model when positive data and log-scale diagnostics support it; choose budget protection using the appropriate aggregate-risk model.
When to use another approach
Use gamma, Weibull, an empirical distribution or a mixture model when the lognormal shape or zero-value treatment does not match the process.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import log, exp
from scipy.stats import lognorm
mu, sigma = log(1000), 0.60
scale = exp(mu)
print(f'Median cost: R {scale:.2f}')
print(f'Mean cost: R {lognorm.mean(sigma,scale=scale):.2f}')
print(f'95th percentile: R {lognorm.ppf(0.95,sigma,scale=scale):.2f}')
print(f'Cost above R2000: {lognorm.sf(2000,sigma,scale=scale):.2%}')
Recorded output
Median cost: R 1000.00
Mean cost: R 1197.22
95th percentile: R 2682.94
Cost above R2000: 12.40%
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 14 / Distributions
Weibull distribution: reliability and changing failure risk
A Weibull lifetime model separates scale from hazard shape. It can describe decreasing, constant or increasing failure hazard and support reliability discussions when failure and censoring records are suitable.
Compare lifetime scenarios for non-repairable components.
Estimate survival to a stated operating age or the age at which a proportion of units has failed.
Inform maintenance and spares analysis while keeping the replacement-cost decision separate from the lifetime curve.
How the method works
A lifetime is measured from a defined starting point until a specified failure. Record operating exposure, failure mode and units still functioning when observation ends. Those surviving units are right-censored observations, not missing failures to discard. A two-parameter Weibull model assumes a zero starting location; another origin or a mixture of failure modes may need a different formulation.
The shape parameter β determines how conditional failure risk changes with age. Values below one imply decreasing hazard, one gives the exponential constant-hazard case, and values above one imply increasing hazard. Scale η is the age at which the model’s cumulative failure probability reaches approximately 63.2%; it is not generally the mean lifetime.
Survival at age t is exp(−(t/η)^β). A conditional risk for an asset already surviving to t compares survival at t+u with survival at t. That calculation answers a more useful maintenance question than treating every asset as new. Deciding a replacement interval still needs downtime consequences, inspection information, replacement cost, spare lead time and uncertainty in the estimated lifetime curve.
The calculation
S(t) = exp(−(t/η)^β); F(t) = 1 − S(t); P(fail by t+u | survive to t) = 1 − S(t+u)/S(t)
Read the symbols
Symbol
Meaning
t
Operating age from the defined starting point.
η
Positive scale or characteristic-life parameter in the same age units.
β
Positive shape parameter controlling how hazard changes with age.
S(t), F(t)
Survival probability and cumulative failure probability.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative pump component has a fitted planning scenario with shape 2 and scale 1,000 operating hours. The manager compares survival at 600 hours and the next 200 hours for a surviving component.
Inputs
β = 2; η = 1,000 operating hours.
Current age t = 600 hours; additional horizon u = 200 hours.
B10 means the age by which 10% of modelled units fail.
Work through the numbers
Survival to 600 hours is exp(−(600/1,000)²) = exp(−0.36) = 0.6976763.
Cumulative failure by 600 hours is 1 − 0.6976763 = 30.2324%.
For a component surviving to 600, next-200-hour risk is 1 − exp(−(0.80² − 0.60²)) = 24.4216%.
B10 = 1,000 × sqrt(−ln(0.90)) = 324.59 hours. The mean is η × Gamma(1+1/β) = 886.23 hours, not 1,000.
Survival at 600 h 69.77%; conditional failure risk over the next 200 h 24.42%; B10 324.59 h.
The increasing-hazard scenario gives an older surviving component a different risk from a new one. B10 describes a lifetime percentile; it is not automatically the cost-optimal replacement age.
Apply it at work
Define the failure mode, exposure clock, starting origin and censoring information.
Fit a suitable lifetime model with both failures and censored units; investigate different operating conditions.
Report survival, conditional risks and parameter uncertainty for the decision horizon.
Combine reliability with operating consequences and compare maintenance or spares policies before choosing one.
Check these assumptions
The modelled units share a relevant lifetime mechanism or explicitly modelled covariates.
The age origin and operating exposure are measured consistently.
Censoring is handled appropriately rather than dropping units that have not failed.
The stated two-parameter Weibull shape is suitable; repairs and recurrent events may need a different process model.
Common mistakes and how to avoid them
Calling η the mean life is incorrect except for the exponential shape-one case.
Fitting only failed units can exaggerate early failure risk by ignoring survivors.
A single curve across unrelated failure modes or duty cycles can mislead maintenance decisions.
How this can help the business
Maintenance discussions can use age-specific conditional risk rather than an undifferentiated average lifetime.
Spares and warranty planning can be tied to explicit lifetime percentiles while recognising the uncertainty and costs involved.
A decision rule to adapt
Use a lifetime curve that accounts for censoring and operating context, then choose policy through reliability-and-cost comparison rather than a percentile alone.
When to use another approach
Use exponential for defensible constant hazard, Kaplan–Meier for an empirical censored survival curve, or a recurrent-event model for repairable assets.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import weibull_min
shape, scale = 2, 1000
s600 = weibull_min.sf(600,shape,scale=scale)
s800 = weibull_min.sf(800,shape,scale=scale)
print(f'Survival to 600 h: {s600:.2%}')
print(f'Next 200 h risk, given survival to 600: {1-s800/s600:.2%}')
print(f'B10 life: {weibull_min.ppf(0.10,shape,scale=scale):.2f} h')
print(f'Mean lifetime: {weibull_min.mean(shape,scale=scale):.2f} h')
Recorded output
Survival to 600 h: 69.77%
Next 200 h risk, given survival to 600: 24.42%
B10 life: 324.59 h
Mean lifetime: 886.23 h
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 15 / Inference
Confidence interval for a population mean
A confidence interval expresses sampling uncertainty around an estimated population mean. When the population standard deviation is unknown, a t interval uses the sample spread and sample size under appropriate sampling assumptions.
How precisely have we estimated the average, rather than just measured this sample?
Quantify uncertainty about average service time, cost or process output.
Compare a proposed average-performance threshold with the precision of current evidence.
Decide whether collecting more representative data could materially improve a business decision.
How the method works
The sample mean changes when a different sample is drawn. Its standard error estimates that sampling variation and is usually s/sqrt(n) for independent observations. This differs from the sample standard deviation s, which describes the spread of individual records. Increasing the sample size can narrow uncertainty about the average without making individual customer experiences more consistent.
A two-sided t interval places a critical-value multiple of the standard error on either side of the sample mean. The t critical value depends on n−1 degrees of freedom and is larger for small samples than the corresponding normal value. For an independent normal population the usual t interval has its stated coverage; strong skewness, dependence and selection bias can compromise that interpretation.
A 95% confidence procedure would contain the fixed population mean in about 95% of repeated samples under its assumptions. The already-computed interval is not a statement that 95% of individual jobs fall inside its endpoints. It is also not a Bayesian 95% probability distribution for the parameter. State the interval’s role in the decision, such as whether it is precise enough to support an average-time commitment.
Sample standard deviation, calculated with n−1 in the variance denominator.
n
Number of independent observations.
α
One minus the confidence level; 0.05 for a 95% two-sided interval.
t_(1−α/2,n−1)
Student t percentile using n−1 degrees of freedom.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative repair operation collects 25 randomly selected, independent jobs from a stable and approximately normal job-time population. The sample mean is 42 minutes with sample standard deviation 10 minutes.
Inputs
n = 25; sample mean = 42 minutes; sample SD = 10 minutes.
Two-sided confidence level = 95%.
A manager is considering an average-time objective of 45 minutes.
Work through the numbers
Calculate the standard error: 10/sqrt(25) = 2 minutes.
Degrees of freedom = 25 − 1 = 24. The 97.5th t percentile is 2.0638986.
The 95% two-sided t confidence interval for the population mean is approximately 37.87–46.13 minutes.
The observed mean is below 45 minutes, but this interval still includes population means above 45. It does not support a claim that 95% of individual repairs finish within 46.13 minutes.
Apply it at work
Define the population mean and the business threshold or estimation precision that matters.
Collect a relevant probability-based or otherwise justified sample with independent measurement units.
Inspect distribution, time pattern and sample quality; compute the t interval with the correct standard error.
Use the interval together with costs and practical effect sizes, and plan additional data if the remaining uncertainty changes the decision.
Check these assumptions
The observations represent the target population rather than a convenient selected subset.
The basic formula assumes independent observations; repeated customers or clustered shifts need adjustment.
Exact t coverage requires normal observations, with appropriate large-sample robustness assessed rather than presumed.
The population standard deviation is unknown and the sample SD is an appropriate estimate of its spread.
Common mistakes and how to avoid them
Replacing s/sqrt(n) with s creates an interval for the wrong source of variation.
A confidence interval for the mean is not a prediction interval or a customer service-level range.
A narrow interval can still be biased if the sample excludes slow, cancelled or difficult jobs.
How this can help the business
Managers can distinguish a promising average from sufficiently precise evidence for a commitment.
Sample-size discussions can focus on the uncertainty that matters to a decision rather than an arbitrary number of records.
A decision rule to adapt
Define the practical threshold and the intended interval before analysing; if the plausible means change the action, improve the evidence or use a cautious staged decision.
When to use another approach
Use a paired or two-sample interval for comparisons, a bootstrap interval when justified, or a design-adjusted interval for complex sampling.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import sqrt
from scipy.stats import t
n, mean, sample_sd = 25, 42, 10
standard_error = sample_sd/sqrt(n)
critical = t.ppf(0.975,n-1)
margin = critical*standard_error
print(f'Standard error: {standard_error:.2f} min')
print(f'95% t interval for mean: {mean-margin:.2f} to {mean+margin:.2f} min')
Recorded output
Standard error: 2.00 min
95% t interval for mean: 37.87 to 46.13 min
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 16 / Inference
Confidence interval for a proportion: Wilson interval
A proportion confidence interval expresses uncertainty about a binary outcome rate. The Wilson interval is a score-based method that remains within 0–1 and is preferable to the simplest symmetric normal interval in many practical small-rate settings.
How uncertain is the defect, conversion or satisfaction rate estimated from a sample?
Report uncertainty around a defect, conversion or repeat-purchase percentage.
Avoid treating zero observed defects as proof that a process has a zero defect probability.
Judge whether a sample is precise enough for a rate-based operating requirement.
How the method works
Count successes x and their eligible denominator n using one consistent outcome rule. The observed rate x/n is an estimate, and its uncertainty depends on both the rate and denominator. Four percent from 200 inspected items provides different information from four percent from 20,000 items. Specify the population, sampling period and independence assumptions before choosing the interval.
The Wilson interval comes from inverting a score test for a binomial rate. It adjusts the centre and width rather than simply using observed rate ±1.96 times its plug-in standard error. This avoids impossible negative endpoints and the zero-width interval that the simplest method gives after zero successes. It is still an approximate frequentist method, with coverage properties that depend on the setting.
Interpret the interval as uncertainty about a stable population probability under the sampling model. It is not a range containing 95% of customer outcomes; those outcomes are individually zero or one. Compare its relevant bound with the practical requirement, and specify a one-sided or two-sided analysis in advance. Complex samples, correlated transactions or a changing process require more than the independent-binomial formula.
The calculation
Wilson centre = (p̂ + z²/(2n))/(1+z²/n); half-width = z sqrt(p̂(1−p̂)/n + z²/(4n²))/(1+z²/n)
Read the symbols
Symbol
Meaning
p̂ = x/n
Observed success proportion and its numerator/denominator.
n
Eligible independent trials in the basic binomial model.
z
Standard normal critical value; about 1.96 for a 95% two-sided interval.
bounds
Adjusted centre minus and plus the Wilson half-width.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative packaging inspection finds eight defective units among 200 randomly sampled units from a stable process. The manager asks whether the observed 4% rate establishes a defect probability below 5%.
Inputs
x = 8 defective units; n = 200 inspected units.
Observed rate p̂ = 8/200 = 0.04.
95% two-sided Wilson confidence interval.
Work through the numbers
Use z = 1.95996398, so the denominator adjustment is 1 + z²/200 = 1.0192073.
Adjusted centre = (0.04 + z²/400)/1.0192073 ≈ 0.0486689.
Compute the Wilson half-width using the stated formula, approximately 0.0282632.
Endpoints are 0.0204056 and 0.0769321, or 2.04% and 7.69%.
Observed defect rate 4.00%; 95% Wilson interval approximately 2.04%–7.69%.
The sample is compatible with defect probabilities above 5%, so the observed 4% alone is not sufficient evidence for the proposed claim. A different planned one-sided requirement would need its corresponding analysis.
Apply it at work
Define the binary outcome, eligible denominator and target population.
Check the sampling design, duplicate units and stability of the event probability.
Compute the chosen confidence interval and show the numerator and denominator beside the rate.
Compare the appropriate planned bound with the business threshold, and collect more relevant data if precision is inadequate.
Check these assumptions
The basic Wilson calculation uses independent Bernoulli observations with a common p.
The sample is relevant to the rate being claimed and outcome labels are accurate.
The confidence level and whether the interval is one- or two-sided are chosen before inspecting the result.
Parameter uncertainty is addressed by the interval, but selection bias and misclassification are separate concerns.
Common mistakes and how to avoid them
Reporting a percentage without its denominator hides how much evidence supports it.
No observed defects still permits a positive underlying defect probability.
Switching to a one-sided interval after seeing a disappointing two-sided result changes the pre-planned question.
How this can help the business
Quality or conversion dashboards can convey evidence strength instead of presenting noisy rates as exact.
A company can decide whether an operating claim needs more data before it changes pricing, staffing or customer promises.
A decision rule to adapt
Use the pre-specified rate threshold and confidence bound, and separate an inconclusive result from evidence that the process meets or fails the requirement.
When to use another approach
Use an exact binomial interval, a beta posterior interval with disclosed prior assumptions, or a survey-design-adjusted interval when the sampling design requires it.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import binomtest
defects, inspected = 8, 200
interval = binomtest(defects,inspected).proportion_ci(confidence_level=0.95,method='wilson')
print(f'Observed defect rate: {defects/inspected:.2%}')
print(f'95% Wilson interval: {interval.low:.2%} to {interval.high:.2%}')
print('Includes rates above 5%:', interval.high > 0.05)
Recorded output
Observed defect rate: 4.00%
95% Wilson interval: 2.04% to 7.69%
Includes rates above 5%: True
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 17 / Inference
Sample size, precision and statistical power
Sample size follows the decision and the uncertainty it must resolve. Planning an estimate to a margin of error is different from powering a test to detect a specified effect.
How much useful data should we plan before an experiment or survey?
Budget a trial around a minimum business-relevant improvement.
Choose a survey size for a stated proportion margin of error.
Identify studies too small, too clustered or too short to support the intended decision.
How the method works
For estimation, start with the precision required. A basic independent-survey calculation uses a target margin e, a confidence critical value z and an assumed proportion p. When p is unknown, 0.5 gives the largest p(1−p) and a conservative starting size under that formula. This calculation addresses sampling uncertainty, not coverage or response bias.
For a hypothesis test, specify the smallest effect Δ that would change the business decision, the outcome standard deviation σ, the significance level α and target power 1−β. Power is the probability of rejecting the null under the specified alternative model. For two equally sized independent groups with common known variance, a normal approximation gives a simple planning formula. Unknown variance, unequal groups and different outcomes require appropriate calculations.
The resulting number refers to usable independent observations, not invitations sent, page views or repeated measurements from the same person. Inflate for realistic incomplete observations, use a design adjustment for clustering, and allow enough time for the outcome to appear. Planning choices should be fixed before collecting results; observing a non-significant result and then reporting post-hoc power does not resolve uncertainty about the effect.
The calculation
Two-group normal approximation: n per group ≈ 2(z_(1−α/2)+z_(power))²σ²/Δ²; proportion estimation: n ≈ z²p(1−p)/e²
Read the symbols
Symbol
Meaning
Δ
Smallest difference in means worth detecting, in original outcome units.
σ
Assumed common outcome standard deviation, ideally informed by relevant prior data.
α, power
False-positive rate under the null and target detection probability at the specified alternative.
e
Desired absolute half-width for a proportion estimate; 0.05 means five percentage points.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative service company plans a randomised two-group trial. A five-minute mean improvement matters economically, and prior comparable work suggests a ten-minute standard deviation. A separate survey needs roughly five-percentage-point precision.
Normal-approximation planning calculation with common variance.
Survey: 95% confidence, p = 0.5 and e = 0.05; simple independent sampling with no finite-population correction.
Work through the numbers
Use z_0.975 = 1.959964 and z_0.80 = 0.841621.
Trial n per group ≈ 2 × (1.959964 + 0.841621)² × 10²/5² = 62.791; round upward to 63 usable observations per group.
If only 80% of invited trial participants provide a usable outcome, 63/0.80 = 78.75 suggests inviting at least 79 per group, without guaranteeing completion.
Survey n ≈ 1.959964² × 0.5 × 0.5/0.05² = 384.146; round upward to 385 usable responses.
Approximate trial plan: 63 usable observations per group. Separate survey precision plan: 385 responses.
The two sample sizes answer different questions. The trial figure is a starting approximation; a final t-based, cluster-adjusted or binary-outcome design may need a different size.
Apply it at work
State the estimand, decision threshold and smallest useful effect before choosing a sample size.
Choose the appropriate design and obtain realistic variability, response and clustering assumptions.
Calculate size under several defensible assumptions and round usable sample requirements upward.
Translate the requirement into recruitment, operating time and follow-up, then document the analysis plan before starting.
Check these assumptions
The worked trial approximation assumes equal independent groups and a common known or planning standard deviation.
The alternative effect Δ is specified in advance and measured in the same units as σ.
The survey formula assumes simple independent sampling; large sampling fractions and complex designs need adjustment.
A response-rate inflation is an expectation, not a promise of an achieved usable sample.
Common mistakes and how to avoid them
A universal rule such as thirty observations ignores effect size, variability and the design.
Halving the desired detectable effect roughly quadruples the required size under the simple formula.
Repeatedly checking a conventional fixed-sample test and stopping at significance changes its error behaviour.
How this can help the business
A pilot budget can be compared with the value of resolving a decision-relevant uncertainty.
An infeasible sample requirement may suggest a larger effect target, a better measurement, a more efficient design or an explicitly exploratory pilot.
A decision rule to adapt
Choose a feasible design that can resolve the minimum useful effect or estimation precision; if it cannot, change the plan before treating the study as decisive.
When to use another approach
Use exact or simulation-based power, a paired design where justified, or an adaptive design with an appropriate pre-specified analysis.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import ceil
from scipy.stats import norm
alpha, power = 0.05, 0.80
sd, useful_difference = 10, 5
z_alpha = norm.ppf(1-alpha/2)
z_power = norm.ppf(power)
per_group = ceil(2*(z_alpha+z_power)**2*sd**2/useful_difference**2)
survey_size = ceil(z_alpha**2*0.5*0.5/0.05**2)
print(f'Approximate usable trial observations per group: {per_group}')
print(f'Invitations per group at 80% completion: {ceil(per_group/0.80)}')
print(f'Survey responses for +/-5 percentage points: {survey_size}')
Recorded output
Approximate usable trial observations per group: 63
Invitations per group at 80% completion: 79
Survey responses for +/-5 percentage points: 385
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 18 / Inference
Bayesian updating: beta-binomial learning about a rate
Beta-binomial updating represents uncertainty about an unknown binary-outcome probability. A disclosed beta prior is updated with new successes and failures to produce a posterior distribution for the rate.
How should prior knowledge and a new small sample combine when estimating a business rate?
Update an uncertain conversion or defect rate as new comparable observations arrive.
Express a probability that a rate exceeds a practical business threshold under stated prior assumptions.
Explore how sensitive an early decision is to the amount of prior information used.
How the method works
A binomial calculation with a supplied p treats that probability as fixed and known. Bayesian inference instead places a distribution over plausible p values. A Beta(a,b) prior is flexible on 0–1: its mean is a/(a+b), and its concentration a+b expresses how strongly it is concentrated in the conjugate model. Choose it before viewing the new data and explain why its shape is relevant.
Observe x successes from n independent comparable trials. The binomial likelihood contributes a factor p^x(1−p)^(n−x). Multiplying this by the beta prior yields another beta distribution with updated parameters a+x and b+n−x. Its mean is a weighted compromise between the prior mean and observed rate. With more relevant data, the likelihood has greater influence.
A posterior credible interval describes a stated amount of posterior probability for p, conditional on the prior and likelihood model. It is different from the repeated-sampling coverage interpretation of a confidence interval. Predictions for a future success count should integrate over uncertainty in p, using a beta-binomial predictive distribution, rather than automatically substituting the posterior mean into a fixed-p binomial model.
The calculation
Prior p ~ Beta(a,b); posterior p | x,n ~ Beta(a+x,b+n−x); posterior mean = (a+x)/(a+b+n)
Read the symbols
Symbol
Meaning
a,b
Positive prior shape parameters; their relevance and strength must be justified.
x,n
New successes and eligible trials, counted once and using the same outcome definition.
p
Unknown underlying success probability.
credible interval
An interval containing a stated posterior probability under the chosen model.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative service firm begins a new booking channel with a modest Beta(2,8) prior on conversion. It then observes ten conversions among thirty comparable enquiries. The business threshold under discussion is a 25% conversion rate.
Inputs
Prior Beta(2,8), with prior mean 2/10 = 20%.
New observations: x = 10 conversions; n = 30 enquiries.
Posterior interval: equal-tailed 95%; practical threshold p > 0.25.
Work through the numbers
Update the success parameter: a + x = 2 + 10 = 12. Update the other parameter: b + n − x = 8 + 30 − 10 = 28.
The posterior is Beta(12,28), with mean 12/(12+28) = 30.00%. The observed rate alone is 10/30 = 33.33%.
The 2.5th and 97.5th posterior percentiles are approximately 0.1701959 and 0.4487363.
The posterior probability that p exceeds 0.25 is 0.7468608. A future ten-enquiry count has posterior predictive mean 10 × 0.30 = 3 conversions.
Posterior mean 30.00%; 95% credible interval about 17.02%–44.87%; posterior probability above 25% about 74.69%.
The new data raise the rate estimate, but substantial uncertainty remains. A 74.69% model-based probability is a decision input, not a universally sufficient reason to expand the channel.
Apply it at work
Define the rate, comparable trials and the practical threshold or loss function.
Specify and document a prior before using the new data; compare weak and stronger defensible alternatives.
Update with new successes and failures once, then report posterior summaries and predictions.
Evaluate the action under costs, uncertainty and prior sensitivity; recheck the model when the channel or population changes.
Check these assumptions
The likelihood uses conditionally independent Bernoulli trials sharing a relevant p.
Prior and new data address the same rate or any differences are explicitly modelled.
Prior parameters are fixed before the new evidence is used, with their strength disclosed.
The posterior probability is conditional on the model and does not remove sampling bias or misclassification.
Common mistakes and how to avoid them
Choosing a convenient prior after seeing results can make a decision look more certain than justified.
Using the same observations in both a prior summary and the new likelihood double-counts evidence.
A posterior interval for p is not an interval for the next observed batch proportion; predictive variation is different.
How this can help the business
Early decisions can combine relevant history with new evidence while showing how much confidence each contributes.
A manager can evaluate whether another batch of observations is likely to change a threshold-based decision before committing to a full rollout.
A decision rule to adapt
Select an action using a pre-agreed practical threshold or expected loss, and show whether the decision survives defensible alternative priors.
When to use another approach
Use a Wilson confidence interval for a frequentist rate estimate, or a hierarchical model when sites or customer groups have related but different rates.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from scipy.stats import beta, betabinom
a, b = 2, 8
successes, trials = 10, 30
post_a, post_b = a+successes, b+trials-successes
low, high = beta.ppf([0.025,0.975],post_a,post_b)
print(f'Posterior mean rate: {beta.mean(post_a,post_b):.2%}')
print(f'95% credible interval: {low:.2%} to {high:.2%}')
print(f'P(rate above 25%): {beta.sf(0.25,post_a,post_b):.2%}')
print(f'Predictive mean successes in 10 trials: {betabinom.mean(10,post_a,post_b):.2f}')
Recorded output
Posterior mean rate: 30.00%
95% credible interval: 17.02% to 44.87%
P(rate above 25%): 74.69%
Predictive mean successes in 10 trials: 3.00
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 19 / Inference
Welch’s independent-samples t-test
Welch’s t-test compares two population means while allowing different sample sizes and variances. It turns an observed average difference into an estimate with uncertainty, helping a business distinguish a plausible operational improvement from ordinary sampling variation.
Do two independent suppliers, teams or processes have different average performance?
Compare delivery times from independently sampled suppliers using an average-time outcome.
Evaluate average order value or service duration across genuinely independent groups.
Place an uncertainty range around a difference before valuing a process change.
How the method works
The analysis starts with a business-defined difference, such as supplier A’s mean delivery time minus supplier B’s. Each group contributes its own sample variance divided by its sample size. Adding these quantities estimates the sampling variance of the difference. The resulting standard error measures uncertainty about the two means; it is not the spread of individual delivery times.
Dividing the difference by its standard error produces the t statistic. Welch’s approximate degrees of freedom account for how much information each estimated variance contributes. A two-sided p-value asks how unusual a difference at least this extreme would be under equal population means and the sampling assumptions. It is not the probability that the suppliers are identical.
A confidence interval adds and subtracts an appropriate t-based margin from the observed difference. That interval is usually more useful for a purchasing decision than a significance label alone: it shows both direction and plausible size. Welch’s method avoids assuming equal variances, but it still needs independent, appropriately sampled observations and attention to strong skew, outliers and clustering.
The calculation
difference = mean_A − mean_B; SE = √(s_A²/n_A + s_B²/n_B); t = difference/SE; CI = difference ± t_(0.975,ν) × SE
Read the symbols
Symbol
Meaning
mean_A, mean_B
Sample averages in the original business units.
s_A, s_B
Sample standard deviations, calculated with n−1 in the denominator.
n_A, n_B
Numbers of independent observations.
ν
Welch–Satterthwaite approximate degrees of freedom.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative South African repair business comparing turnaround time from two independent spare-parts suppliers.
Predefined two-sided test and 95% confidence interval.
Work through the numbers
Difference A−B = 18−22 = −4 minutes.
Variance of the difference = 16/30 + 49/25 = 2.49333; SE = 1.57903 minutes.
Welch degrees of freedom ≈36.596; t≈−2.533, with p≈0.015724.
The 95% interval is approximately −7.201 to −0.799 minutes.
A’s sample suggests a lower mean turnaround, with an estimated reduction of 4 minutes relative to B.
The interval supports a mean reduction under the model, but individual A jobs may still take longer than individual B jobs. Across 1,000 comparable jobs, four minutes represents 66.7 job-hours less elapsed turnaround. It represents released staff capacity only if those minutes are active staff work or demonstrably release a constrained resource; it is not an automatic payroll saving.
Apply it at work
Define the outcome, comparison, direction and minimum worthwhile difference before inspecting results.
Sample separate orders from the same relevant operating periods and retain supplier and job context.
Inspect distributions and unusual observations, then calculate the difference, interval and Welch p-value.
Compare the interval with switching costs, reliability, service quality and a larger validation sample.
Check these assumptions
Orders within and between groups are independent; repeated jobs from the same customer or day may require clustered analysis.
The data represent the suppliers and conditions about which the decision will be made.
Means are meaningful for the outcome; extreme skew or influential errors need investigation.
The t approximation is adequate for the sample sizes and distributions; small severe-tailed samples can be unreliable.
Common mistakes and how to avoid them
Using an independent test on before-and-after measurements of the same units wastes pairing and changes the uncertainty calculation.
Treating p<0.05 as proof of a useful improvement ignores effect size, implementation cost and selection bias.
Interpreting a confidence interval for the mean difference as an interval covering individual delivery times is incorrect.
How this can help the business
A purchasing team can compare the plausible time advantage with price and quality differences before negotiating a trial.
Operations can value released capacity separately from cash savings and verify whether the bottleneck actually moves.
A decision rule to adapt
Choose a supplier on total value only after the estimated difference and its uncertainty meet a pre-agreed practical requirement. A small p-value alone is not a purchasing rule.
When to use another approach
Use a paired t-test for matched observations, a robust or permutation method for difficult distributions, or regression when job mix must be adjusted.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 20 / Inference
Paired t-test and before–after change
A paired t-test analyses the difference within each matched unit. By comparing like with like, it can remove stable differences between units and estimate an average change more precisely than treating the before and after values as unrelated samples.
Did the same machines, people or jobs improve after a change?
Assess service-time changes when the same technicians perform comparable tasks before and after training.
Compare measurements from two instruments on the same specimens.
Evaluate matched store or machine performance while preserving the matching design.
How the method works
Pairing is a feature of how the data are collected, not a statistical setting selected after the results appear. Each unit needs an identifiable before value and after value, or two genuinely matched measurements. Subtracting one from the other creates a new dataset of changes. Stable differences between fast and slow technicians can cancel within these differences.
The paired t-test is then a one-sample t-test on those differences. It compares their average with zero, using the standard deviation of the differences and the number of complete pairs. The correlation between before and after is already reflected in this standard deviation. Separate before and after standard deviations cannot substitute for the variation of paired changes.
The confidence interval describes a population mean change under the assumptions. It does not establish that every unit improved or that the intervention caused the change. A before–after study may also capture learning, seasonality, altered demand or a different job mix. Randomised order, concurrent controls and clear timing strengthen the design when they are feasible.
The calculation
d_i = before_i − after_i; mean reduction = mean(d); SE = s_d/√n; t = mean(d)/SE; df = n−1
Read the symbols
Symbol
Meaning
d_i
The reduction within matched unit i.
s_d
Sample standard deviation of the paired reductions.
n
Number of complete independent pairs.
df
Degrees of freedom for the t distribution.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative timed task completed by eight technicians before and after a revised work instruction.
Inputs
Before minutes: 30, 28, 35, 32, 31, 29, 34, 33.
After minutes, in the same technician order: 27, 27, 31, 30, 28, 27, 30, 31.
Positive differences mean faster completion after the change.
Work through the numbers
Within-person reductions are 3, 1, 4, 2, 3, 2, 4 and 2 minutes.
Their average is 21/8 = 2.625 minutes; their sample SD is approximately 1.06066.
SE = 1.06066/√8 = 0.375; t = 2.625/0.375 = 7 with 7 degrees of freedom.
The two-sided p-value is about 0.000212 and the 95% interval is 1.738–3.512 minutes.
The observed sample supports a positive average time reduction for the matched task.
A shorter average time is valuable only if first-pass quality, safety and workload remain acceptable. The small illustrative sample and uncontrolled timing cannot isolate the work instruction from practice or other changes.
Apply it at work
Identify the matching unit and preserve a reliable pair identifier before collecting measurements.
Use consistent task definitions, timing rules and order; record missing or unmatched pairs.
Calculate and plot the differences, investigate extreme changes, and run the paired analysis.
Review the mean change and interval alongside quality outcomes and a concurrent comparison where possible.
Check these assumptions
The matching is meaningful and correctly aligned; row order alone is not evidence of a pair.
Differences from separate pairs are independent; repeated observations from one technician require additional modelling.
For small samples, differences should be reasonably compatible with a normal distribution without extreme influential values.
The measurement method and comparison conditions are sufficiently consistent for the change to be interpretable.
Common mistakes and how to avoid them
Comparing only the two group averages hides the pairing and gives an incomplete uncertainty calculation.
Removing pairs because their reductions look inconvenient changes the result and may bias the estimate.
A statistically convincing change is not automatically causal when the study lacks a suitable control or randomisation.
How this can help the business
A manager can quantify the amount of capacity a revised procedure might release while checking quality guardrails.
A measurement team can assess a systematic instrument difference before deciding whether calibration or replacement is needed.
A decision rule to adapt
Predefine the minimum useful reduction and acceptable quality outcomes. Confirm that the interval and the study design support the decision, then validate in ordinary work.
When to use another approach
Use Welch’s test for unrelated groups, Wilcoxon signed-rank for appropriate paired ordinal or distributional questions, or mixed models for repeated measurements.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
before = np.array([30,28,35,32,31,29,34,33])
after = np.array([27,27,31,30,28,27,30,31])
difference = before - after
test = stats.ttest_rel(before, after)
mean = difference.mean()
se = difference.std(ddof=1) / np.sqrt(len(difference))
margin = stats.t.ppf(0.975, len(difference)-1) * se
print("Mean reduction (minutes):", round(mean, 3))
print("t and p:", round(test.statistic, 3), round(test.pvalue, 6))
print("95% CI:", round(mean-margin, 3), round(mean+margin, 3))
Recorded output
Mean reduction (minutes): 2.625
t and p: 7.0 0.000212
95% CI: 1.738 3.512
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 21 / Inference
A/B testing for conversion rates
A fixed-horizon A/B test compares two independently assigned experiences using a predefined outcome. Conversion counts can estimate an absolute rate difference, its uncertainty and an economic consequence, while random allocation helps separate the experience from differences in the visitors receiving it.
Does a changed offer or customer journey improve conversion enough to justify rollout?
Test a checkout change using completed purchases per eligible visitor.
Compare two booking reminders on attendance or confirmed appointments.
Evaluate a service message while protecting revenue, complaint and cancellation guardrails.
How the method works
The analysis needs a precise denominator and one consistent success definition. If the unit is a visitor, repeated sessions from that visitor should not be treated as independent people. Randomly allocate eligible units, keep the allocation stable and measure both groups over comparable exposure and follow-up windows. Record assignment failures and outcome completeness.
For a large-sample test of equal proportions, the null hypothesis pools the success counts to estimate one common conversion probability. The observed difference is divided by the standard error under that null to produce a z statistic. A confidence interval for the difference uses the two groups’ separate estimated variances; that is a different standard error for a different purpose.
Absolute percentage-point change is the quantity most directly connected to extra orders. Relative lift divides that change by the baseline and can sound much larger. Convert plausible rate differences into contribution only after accounting for discount, fulfilment and intervention costs. Define the horizon, sample size, primary outcome and multiplicity plan in advance; repeatedly stopping when significance appears invalidates this ordinary fixed-horizon calculation.
The calculation
difference = p_B−p_A; pooled p = (x_A+x_B)/(n_A+n_B); z = difference/√[pooled p(1−pooled p)(1/n_A+1/n_B)]
Read the symbols
Symbol
Meaning
x_A, x_B
Success counts from independently assigned units.
n_A, n_B
Eligible units with the defined outcome window.
p_A, p_B
Observed success proportions in each arm.
difference
Absolute rate change; multiply by 100 for percentage points.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative online retailer testing a clearer checkout on independent eligible visitors.
Inputs
Control A: 80 purchases from 1,000 visitors, or 8%.
Variant B: 110 purchases from 1,000 visitors, or 11%.
Contribution per extra purchase is assumed R120 before any new intervention cost.
Work through the numbers
Absolute difference = 0.11−0.08 = 0.03, or 3 percentage points; relative lift is 37.5%.
The pooled null conversion estimate is 190/2,000 = 0.095.
The two-sided large-sample z test gives z≈2.288 and p≈0.022149.
A separate unpooled normal interval for the difference is approximately 0.433–5.567 percentage points.
At the observed difference, 1,000 comparable visitors would produce 30 extra purchases and R3,600 in extra contribution before new costs.
The lower and upper interval endpoints imply materially different business cases. This calculation assumes a well-run randomised test; it does not promise that the observed lift will persist after rollout.
Apply it at work
Define the randomisation unit, primary success metric, guardrails, minimum worthwhile lift and fixed stopping rule.
Check assignment balance, instrumentation and comparable follow-up before interpreting outcomes.
Report the two conversion rates, absolute and relative difference, interval and planned test.
Apply contribution and operating constraints, then validate the result during controlled expansion.
Check these assumptions
The two arms contain independent Bernoulli units with no material cross-arm contamination.
Randomisation and measurement are implemented correctly, including the intended exposure denominator.
Counts are sufficiently large for the normal approximation; sparse outcomes require another method.
The fixed horizon and analysis plan are respected, including adjustment for multiple variants or outcomes.
Common mistakes and how to avoid them
Repeated peeking and optional stopping can inflate false positives under this fixed-horizon method.
Counting repeat visits as independent people understates uncertainty and can distort the target population.
Optimising conversion alone can encourage discounts or low-quality orders that reduce contribution.
How this can help the business
Product teams can evaluate a change against an explicit economic threshold instead of the most attractive headline percentage.
A clear test plan can reduce the cost of deploying a change that looks promising on a biased or underpowered comparison.
A decision rule to adapt
Roll out when the practical effect, uncertainty, implementation cost and guardrails jointly meet the pre-agreed decision standard; investigate surprising assignment or tracking problems first.
When to use another approach
Use exact methods for sparse counts, cluster-aware methods for grouped assignments, or a correctly designed sequential method when continuous monitoring is required.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
a_success, a_n = 80, 1000
b_success, b_n = 110, 1000
a_rate, b_rate = a_success/a_n, b_success/b_n
difference = b_rate - a_rate
pooled = (a_success+b_success)/(a_n+b_n)
test_se = np.sqrt(pooled*(1-pooled)*(1/a_n+1/b_n))
z = difference/test_se
p = 2*stats.norm.sf(abs(z))
interval_se = np.sqrt(a_rate*(1-a_rate)/a_n + b_rate*(1-b_rate)/b_n)
low, high = difference-1.96*interval_se, difference+1.96*interval_se
print("Lift (percentage points):", round(100*difference, 3))
print("Two-sided z and p:", round(z, 3), round(p, 6))
print("Approximate 95% CI (points):", round(100*low, 3), round(100*high, 3))
print("Illustrative extra contribution / 1000 visitors (R):", round(1000*difference*120, 2))
Recorded output
Lift (percentage points): 3.0
Two-sided z and p: 2.288 0.022149
Approximate 95% CI (points): 0.433 5.567
Illustrative extra contribution / 1000 visitors (R): 3600.0
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 22 / Inference
Chi-square tests for categorical relationships
A chi-square independence test compares observed category counts with the counts expected if two categorical variables were unrelated. It is useful for finding a pattern worth investigating, with the strength and operational meaning assessed separately from the p-value.
Are complaint, return or purchasing categories related to channel, location or customer group?
Compare return categories across sales channels.
Investigate whether complaint type varies across branches or product families.
Check category distributions as part of an operational or marketing diagnostic.
How the method works
Arrange the observations in a contingency table: one variable defines the rows and another defines the columns. Each observation belongs to one row and one column. Under independence, the expected count in a cell equals its row total multiplied by its column total, divided by the overall total. These expected counts reflect the margins already present in the dataset.
The chi-square statistic adds the squared observed-minus-expected discrepancies divided by expected counts. Large contributions identify cells that drive the overall discrepancy, but the omnibus test itself does not identify a causal mechanism or authorise unadjusted testing of every cell. With sufficient expected counts, the statistic is compared with a chi-square distribution using (rows−1)(columns−1) degrees of freedom.
Sample size influences how small a discrepancy can become statistically detectable. Report actual category rates and an association measure such as Cramer’s V as well as the p-value. In a service business, a low-frequency severe complaint may matter more than a larger routine category. For thin tables, an exact or resampling approach may be more defensible than the usual approximation.
Illustrative retailer comparing 30-day returns for online and in-store purchases.
Inputs
Online: 30 returned and 270 not returned, total 300.
In-store: 10 returned and 190 not returned, total 200.
Use Pearson’s chi-square test without the optional 2×2 continuity correction.
Work through the numbers
The overall return rate is 40/500 = 8%.
Expected online counts are 24 and 276; expected in-store counts are 16 and 184.
Adding the four contributions gives χ²≈4.076 with 1 degree of freedom and p≈0.043494.
Cramer’s V = √(4.076/500) ≈0.090; observed return rates are 10% and 5%.
The sample contains evidence of an association between channel and return outcome under the test assumptions.
The association is not proof that online selling causes returns. Product mix, customer selection or fulfilment differences could explain it. The return-rate difference and avoidable cost are more decision-relevant than the significance label alone.
Apply it at work
Define mutually exclusive category labels and the population and period being analysed.
Build the count table, verify totals and inspect expected counts before choosing the approximation.
Calculate the overall test, association size and descriptive cell rates.
Investigate plausible causes with product, customer and process context; pre-plan any follow-up comparisons.
Check these assumptions
Observations are independent; repeated purchases from one customer may require customer-level or clustered analysis.
Categories are consistently recorded, mutually exclusive and collectively suitable for the business question.
Expected cell counts are adequate for the chosen chi-square approximation.
The observed sample represents the comparison population; different sampling designs need appropriate adjustment.
Common mistakes and how to avoid them
Feeding percentages into a count test discards the sample-size information the calculation needs.
A small p-value does not show which operational factor caused the categorical pattern.
Collapsing or relabelling categories after seeing the result can hide important problems or bias the analysis.
How this can help the business
Quality teams can direct investigation towards combinations of channel and outcome with unusual counts.
Management can quantify the cost of an observed pattern before commissioning an experiment or process audit.
A decision rule to adapt
Investigate a meaningful categorical association when the recording quality and test approximation are sound, but base corrective action on confirmed causes and business impact.
When to use another approach
Use Fisher’s exact test for appropriate small 2×2 tables, resampling for sparse larger tables, or logistic models when several covariates need adjustment.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
observed = np.array([[30,270],[10,190]])
test = stats.chi2_contingency(observed, correction=False)
v = np.sqrt(test.statistic / observed.sum())
print("Expected counts:", test.expected_freq.tolist())
print("Chi-square, df, p:", round(test.statistic, 3), test.dof, round(test.pvalue, 6))
print("Cramer's V:", round(v, 3))
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 23 / Inference
One-way ANOVA for several group means
One-way analysis of variance compares several group means in one overall test. It separates between-group differences from within-group variation, helping a business decide whether a factor deserves further investigation while controlling the initial comparison more coherently than many unplanned t-tests.
Do several production lines, branches or treatments have the same average outcome?
Compare average accepted output across several production lines.
Screen average service duration across three or more training methods.
Investigate a categorical factor before planned follow-up comparisons or an experiment.
How the method works
The word variance refers to the calculation, although the null hypothesis concerns equal population means. ANOVA measures how far group means sit from the overall mean, weighting by group size. It separately measures how far observations sit from their own group means. The between-group and within-group sums of squares quantify these different sources of variation.
Dividing each sum of squares by its degrees of freedom produces mean squares. The F statistic is the between-group mean square divided by the within-group mean square. If group means differ little compared with ordinary within-group variation, this ratio tends to be modest. A large ratio is evidence against equal means under the model; it does not reveal which specific pair differs.
The ordinary one-way version assumes a common within-group variance. Welch’s ANOVA relaxes that restriction; repeated measures and nested shifts require other designs. Report the group means, uncertainty and an effect-size summary, such as eta-squared, alongside the overall test. Planned contrasts or appropriately adjusted post-hoc comparisons can answer the particular operational question after the omnibus analysis.
The calculation
SS_between = Σ n_g(mean_g−grand_mean)²; SS_within = ΣΣ(y_ig−mean_g)²; F = [SS_between/(k−1)]/[SS_within/(N−k)]
Read the symbols
Symbol
Meaning
k
Number of groups.
N
Total number of observations.
n_g
Number of observations in group g.
η²
SS_between divided by total SS; a sample effect-size summary.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative accepted units per hour measured on three independent packing lines under comparable work.
Inputs
A: 48, 50, 49, 51, 52 units/hour.
B: 55, 54, 56, 53, 57 units/hour.
C: 50, 52, 51, 49, 53 units/hour.
Work through the numbers
Group means are 50, 55 and 51; the grand mean is 52.
Between-group SS = 5×[(50−52)²+(55−52)²+(51−52)²] = 70.
Within-group SS = 10+10+10 = 30; df are 2 and 12.
F = (70/2)/(30/12) = 14; p≈0.000729 and η² = 70/100 = 0.70.
The illustrative data provide evidence that not all three population means are equal under the ordinary ANOVA assumptions.
The test does not establish that B differs from both other lines or that buying B’s equipment would reproduce the result. Operator, product and scheduling differences need to be controlled before making that investment.
Apply it at work
Define the factor, response and business-relevant comparisons before collecting data.
Sample comparable independent work and record operator, product, shift and measurement context.
Inspect within-group variation and model residuals; choose ordinary, Welch or another suitable design.
Report the overall result, effect size and group summaries, then evaluate planned adjusted comparisons and operating costs.
Check these assumptions
Groups contain independent observations; serial hours from one shift can violate this assumption.
For the ordinary test, errors have a common variance across groups.
Within-group errors are sufficiently compatible with normality for the sample sizes, particularly when samples are small.
The design separates the intended factor from important confounding variables or clearly acknowledges those limitations.
Common mistakes and how to avoid them
Running many unadjusted pairwise t-tests changes the overall false-positive risk.
Reporting only F and p hides the size, direction and operational relevance of group differences.
Treating observational group labels as randomised treatments turns an association into an unsupported causal claim.
How this can help the business
A manager can identify a factor worth controlled investigation before standardising equipment or training.
Effect-size and cost analysis can distinguish a statistically visible difference from one large enough to improve accepted output.
A decision rule to adapt
Use the overall test to decide whether further planned comparison is warranted, then require a practical improvement and a credible design before changing the business.
When to use another approach
Consider Welch’s ANOVA for unequal variances, Kruskal–Wallis for suitable distributional comparisons, or regression and mixed models for more complex structures.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
groups = [np.array([48,50,49,51,52]), np.array([55,54,56,53,57]), np.array([50,52,51,49,53])]
test = stats.f_oneway(*groups)
grand_mean = np.concatenate(groups).mean()
between = sum(len(g)*(g.mean()-grand_mean)**2 for g in groups)
within = sum(((g-g.mean())**2).sum() for g in groups)
eta_squared = between/(between+within)
print("Group means:", [round(float(g.mean()), 2) for g in groups])
print("Between and within SS:", round(between, 3), round(within, 3))
print("F and p:", round(test.statistic, 3), round(test.pvalue, 6))
print("Eta-squared:", round(eta_squared, 3))
Recorded output
Group means: [50.0, 55.0, 51.0]
Between and within SS: 70.0 30.0
F and p: 14.0 0.000729
Eta-squared: 0.7
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 24 / Inference
Rank-based comparisons and Mann–Whitney U
Rank-based tests compare the ordering of observations rather than assuming that the original measurements follow a normal distribution. Mann–Whitney U is a common independent-group method; its interpretation must match the question and the assumptions, especially when group shapes or spreads differ.
Do two independent groups show a distributional difference when raw-value assumptions are difficult?
Compare independent supplier lead times with a skewed distribution.
Analyse ordered service ratings when equal numerical gaps between ratings are not defensible.
Investigate whether observations from one process tend to be larger than those from another.
How the method works
Combine both groups, sort the values and assign ranks. Tied values receive average ranks. The sum of one group’s ranks can be converted to a U statistic, which also counts pairwise comparisons: the number of times an observation in that group exceeds an observation in the other, with half credit for a tie.
The ordinary two-sided null concerns the equality of the underlying distributions. With additional location-shift and equal-shape assumptions, a location interpretation may be appropriate. Without them, a rejection can reflect differences in spread or shape and should not be described automatically as a test of equal medians. Plotting the distributions is therefore part of interpreting the result.
Small untied samples can use an exact reference distribution. The live teaching calculation and the Python example here use a normal approximation with tie and continuity adjustments, so their p-values are explicitly approximate. Independence, measurement quality and sampling design still matter. Replacing values with ranks does not repair confounding, clustering, selective sampling or unreliable category definitions.
Sum of pooled ranks for group A, using average ranks for ties.
n_A, n_B
Independent observations in the two groups.
U_A
A-over-B pairwise wins, with ties counted as half.
superiority
Estimated P(A>B) + 0.5P(A=B), not a causal probability.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative delivery-day samples from two independent spare-parts suppliers.
Inputs
Supplier A: 4, 5, 6, 7, 8, 9 days.
Supplier B: 6, 7, 8, 9, 10, 11 days.
Use a two-sided asymptotic test with tie correction and the default continuity correction.
Work through the numbers
The sample medians are 6.5 and 8.5 days, but these medians are descriptive summaries rather than the complete test definition.
Pooling and ranking gives U_A = 8 out of 6×6 = 36 pairwise comparisons.
The superiority estimate is 8/36 ≈0.222, including half-ties; A observations tend to be smaller in this sample.
The tie-corrected normal approximation gives p≈0.125530.
At a preselected 5% level, these small samples do not provide strong evidence against the equal-distributions null.
This does not show the suppliers are equivalent. The observed tendency may still matter operationally, and the sample is small. A purchasing decision needs uncertainty, tail delays, price and a larger representative comparison.
Apply it at work
Choose a distributional or location question that rank-based analysis can answer.
Verify independence and inspect each group’s distribution, ties and measurement scale.
Compute U, the specified exact or approximate p-value and an interpretable effect summary.
Interpret the result together with service-level risks, costs and a plan to collect more informative data.
Check these assumptions
Observations within and between groups are independent.
The ordering of the measured outcome is meaningful and consistently recorded.
The test method correctly handles ties and the sample sizes.
A median or pure location-shift interpretation needs additional equal-shape assumptions beyond the basic rank comparison.
Common mistakes and how to avoid them
Calling every nonparametric procedure a median test can produce the wrong business conclusion.
Mixing exact, permutation and asymptotic p-values without labelling the method makes comparisons misleading.
Using a non-significant result as proof of equality confuses weak evidence with demonstrated equivalence.
How this can help the business
A buyer can investigate typical ordering and delay tendencies without relying only on an unstable average.
A service analyst can analyse ordered ratings while avoiding unjustified claims about precise numerical distances.
A decision rule to adapt
Match the rank-based hypothesis to the decision, report the actual distributional pattern, and require a practical and adequately supported difference before acting.
When to use another approach
Use a paired method for matched data, quantile regression for a specific percentile, or a robust mean comparison when the mean remains the business target.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
a = np.array([4,5,6,7,8,9])
b = np.array([6,7,8,9,10,11])
test = stats.mannwhitneyu(a, b, alternative="two-sided", method="asymptotic")
superiority = test.statistic/(len(a)*len(b))
print("Median days A/B:", np.median(a), np.median(b))
print("U and tie-corrected approximate p:", round(test.statistic, 3), round(test.pvalue, 6))
print("P(A exceeds B), counting ties half:", round(superiority, 3))
Recorded output
Median days A/B: 6.5 8.5
U and tie-corrected approximate p: 8.0 0.12553
P(A exceeds B), counting ties half: 0.222
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 25 / Inference
Bootstrap uncertainty from resampling
The bootstrap approximates how a statistic might vary across repeated samples by repeatedly resampling the observed data. It can support practical uncertainty analysis for statistics such as medians, but it inherits the limits of the original sample and the sampling design.
How uncertain is a median, cost estimate or other statistic when a simple textbook interval is awkward?
Estimate uncertainty around a typical invoice, turnaround median or contribution statistic.
Compare uncertainty for a statistic whose sampling formula is difficult to derive.
Explore how sample size and influential observations affect an operational conclusion.
How the method works
An ordinary nonparametric bootstrap treats the observed sample as an empirical approximation to the population. Draw the same number of observations with replacement, calculate the target statistic, and repeat. Some original observations appear several times in a resample and others do not appear. This recreates sampling variation around what the available data can describe.
The simplest percentile interval takes lower and upper quantiles of the bootstrap statistics. Other interval methods, including basic and bias-corrected accelerated intervals, address different aspects of bias and asymmetry. The example uses a labelled percentile method because its steps are easy to inspect; it should not be assumed to have reliable nominal coverage in every small or difficult dataset.
Ten thousand resamples are ten thousand rearrangements of the same observed information, not ten thousand new customer observations. Resampling reduces simulation noise when estimating the bootstrap distribution, but it cannot repair a biased sample or reveal unobserved rare losses. Time series need a dependence-aware design, paired comparisons need pairs kept together, and clustered customers need an appropriate cluster bootstrap.
The calculation
For b=1,…,B: sample n rows with replacement and calculate θ*_b; percentile interval = [quantile_0.025(θ*), quantile_0.975(θ*)]
Read the symbols
Symbol
Meaning
n
Number of original observational units.
B
Number of bootstrap resamples.
θ
Statistic of interest, such as a median.
θ*_b
The statistic calculated from bootstrap resample b.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative service invoices used to describe a typical completed job rather than forecast total revenue.
Use 10,000 ordinary resamples, percentile endpoints and NumPy random seed 42.
Work through the numbers
Sort the original observations; the middle values are 270 and 300, giving median R285.
Draw eight values with replacement for each resample and calculate its median.
Repeat 10,000 times and sort or quantile the resulting medians.
With the stated seed and implementation, the 2.5th and 97.5th percentiles are approximately R220 and R420.
The illustrative percentile bootstrap interval is R220–R420 around a sample median of R285.
The wide interval reflects limited information in eight invoices. It is not an interval covering 95% of individual future invoices, nor a guarantee of exact 95% coverage for the population median.
Apply it at work
Choose the statistic and define the independent observational unit before resampling.
Inspect the sample and ensure that its coverage, missingness and unusual cases are understood.
Choose an appropriate resampling structure and interval method, fix a seed and check Monte Carlo stability.
Report the estimate, interval, sample size, method and what additional data would improve the decision.
Check these assumptions
The observed data reasonably represent the population or process of interest.
The resampling design preserves relevant pairing, clustering or time dependence.
The statistic and sample contain enough information for the bootstrap approximation to be useful.
Any cleaning and selection rules are defensible and documented rather than chosen to tighten the interval.
Common mistakes and how to avoid them
Increasing resamples cannot compensate for biased observations or an unrepresentative business period.
Naively resampling individual rows from a dependent series can make the interval too narrow.
A discrete small-sample median may give unstable or degenerate intervals; compare methods and collect more observations.
How this can help the business
An owner can see whether a typical-price estimate is precise enough for a quoting policy or needs more data.
An analyst can communicate the uncertainty of a complex summary rather than presenting a single figure as settled.
A decision rule to adapt
Use bootstrap uncertainty as an input to a decision only when the sampling design and method are credible; widen the evidence base when the interval spans materially different actions.
When to use another approach
Use a suitable analytical interval when available, an order-statistic interval for a median, a block or cluster bootstrap for dependence, or a parametric model justified by the process.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
rng = np.random.default_rng(42)
invoices = np.array([180,220,250,270,300,340,420,700])
medians = []
for repeat in range(10000):
sample = rng.choice(invoices, size=len(invoices), replace=True)
medians.append(np.median(sample))
low, high = np.quantile(medians, [0.025, 0.975])
print("Sample median (R):", round(np.median(invoices), 2))
print("Percentile bootstrap 95% CI (R):", round(low, 2), round(high, 2))
print("Resamples:", len(medians))
Recorded output
Sample median (R): 285.0
Percentile bootstrap 95% CI (R): 220.0 420.0
Resamples: 10000
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 26 / Inference
Multiple testing and false-discovery control
Testing many hypotheses creates many opportunities for a chance finding. Multiplicity procedures adjust the decision rule for the collection of tests. Benjamini–Hochberg targets the expected false-discovery proportion, while familywise methods address the chance of making any false rejection in a defined family.
How can a business investigate many effects without mistaking routine false positives for a list of winners?
Screen several product, branch or customer-segment hypotheses responsibly.
Analyse multiple planned marketing comparisons or experimental outcomes.
Separate exploratory leads from confirmatory decisions that require stronger error control.
How the method works
Define the family of hypotheses before selecting the interesting results. If six independent true null hypotheses are tested at 5% without adjustment, the chance of at least one false rejection is 1−0.95^6, about 26.5%. The precise risk changes with dependence, but the general problem remains: reporting only the smallest p-value hides the search that produced it.
Benjamini–Hochberg sorts m p-values from smallest to largest. Compare the value at rank i with i×q/m, find the largest passing rank, and reject all hypotheses up to it. Adjusted p-values provide an equivalent convenient report. Under independence or suitable positive dependence and valid original p-values, the procedure controls the expected false-discovery proportion at the selected level.
A 5% false-discovery target does not mean each selected result has a 5% probability of being false. It is a repeated-procedure property of the proportion of false rejections among discoveries, treating the proportion as zero when there are no discoveries. A particular small set can contain a larger fraction of errors. Independent confirmation, practical effect sizes and decision costs remain necessary.
The calculation
Sort p_(1)≤…≤p_(m); k = largest i with p_(i)≤i q/m; reject ranks 1…k. BH adjusted p_(i) = min[1, min_(j≥i)(m p_(j)/j)].
Read the symbols
Symbol
Meaning
m
Number of hypotheses in the declared family.
q
Chosen false-discovery-rate target.
p_(i)
The raw p-value at sorted rank i.
k
Largest passing rank; no rejection if none passes.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative analyst screens six planned differences in order-processing outcomes.
Inputs
Raw p-values: 0.001, 0.010, 0.030, 0.040, 0.200 and 0.600.
All six tests belong to the same prespecified exploratory family.
Use Benjamini–Hochberg at q=0.05.
Work through the numbers
The BH thresholds are approximately 0.00833, 0.01667, 0.02500, 0.03333, 0.04167 and 0.05000.
The largest passing rank is 2: 0.010≤0.01667, while later ranks do not pass.
The adjusted p-values are 0.006, 0.030, 0.060, 0.060, 0.240 and 0.600.
Two results pass the adjusted 5% rule; four would pass an unadjusted p≤0.05 rule.
The adjustment reduces the illustrative candidate list from four apparent findings to two.
The remaining two are leads for effect-size review and confirmation, not automatically profitable improvements. The calculation assumes that the original tests and the chosen dependence conditions are appropriate.
Apply it at work
Declare the testing family, primary questions and error-control objective before examining outcomes.
Use valid, appropriately designed individual tests and retain every p-value in the family.
Apply the specified procedure and report raw and adjusted results with effect estimates.
Confirm promising findings using fresh data or a clearly separated confirmatory study before costly rollout.
Check these assumptions
Each input p-value is valid under its own sampling design and null model.
The declared family includes the relevant comparisons rather than only favourable results.
BH’s independence or suitable positive-dependence conditions are defensible; arbitrary dependence needs another choice.
The procedure and stopping rules are not changed repeatedly in response to the results.
Common mistakes and how to avoid them
Defining the family after seeing the winners can defeat the purpose of adjustment.
FDR control is not the same as controlling the probability of even one false claim.
Adjusting p-values does not repair optional stopping, confounding, poor measurements or an inappropriate underlying test.
How this can help the business
A product team can prioritise a defensible set of experiments instead of investing in every noisy subgroup pattern.
A quality team can distinguish broad exploratory monitoring from a high-consequence confirmatory release decision.
A decision rule to adapt
Choose familywise control for decisions where any false claim is costly, or a justified FDR procedure for screening; always check practical benefit and validate selected findings.
When to use another approach
Consider Holm or Bonferroni familywise procedures, Benjamini–Yekutieli for more general dependence, or a prespecified hierarchical testing plan.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy.stats import false_discovery_control
p_values = np.array([0.001,0.01,0.03,0.04,0.2,0.6])
adjusted = false_discovery_control(p_values, method="bh")
print("Raw p-values:", p_values.tolist())
print("BH adjusted p-values:", np.round(adjusted, 4).tolist())
print("Reject at 5% FDR:", (adjusted <= 0.05).tolist())
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 27 / Predictive analytics
Correlation and association
Correlation summarises association between paired measurements. Pearson’s coefficient measures linear co-movement, while Spearman’s coefficient uses ranks to describe monotonic association. Both can help investigate business relationships, but neither by itself explains causation or proves that changing one variable will change the other.
Do two business measurements move together, and what can that pattern legitimately tell us?
Explore relationships between demand, staffing, waiting time and output.
Screen candidate predictors before building a forecasting or regression model.
Check whether several dashboard indicators are largely describing the same pattern.
How the method works
Each observation needs an x value and a y value describing the same relevant unit or period. Pearson’s correlation standardises their covariance by both standard deviations. The result lies between −1 and +1: a positive value indicates that larger x values tend to accompany larger y values, and a negative value indicates opposite linear movement.
Standardisation removes units from the coefficient. That makes association strengths easier to compare, but it also means r cannot tell a manager how many rand of revenue correspond to one additional rand of advertising. A near-zero Pearson value rules out neither a curved relationship nor a useful relationship within customer subgroups. A scatter plot and the original units remain essential.
Spearman’s coefficient applies a correlation calculation to ranks and can capture a consistently increasing or decreasing relationship that is not straight. Ties and sample size influence its inference. For Pearson’s conventional significance test, independence and the specified null-distribution assumptions matter. Trending time series can produce impressive correlations simply because both move over time.
The calculation
r = Σ[(x_i−mean_x)(y_i−mean_y)] / √[Σ(x_i−mean_x)² × Σ(y_i−mean_y)²]; Spearman ρ = Pearson correlation of the ranks
Read the symbols
Symbol
Meaning
r
Pearson sample linear correlation.
ρ
Spearman sample rank correlation in this module.
x_i, y_i
Measurements paired on the same observational unit.
mean_x, mean_y
Sample averages used to centre each measurement.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative monthly advertising spend and revenue for a small retailer, both measured in thousands of rand.
Inputs
Advertising spend: 1, 2, 3, 4, 5, 6.
Revenue: 7, 9, 10, 13, 12, 16.
Six paired months; use these values as an arithmetic illustration, not an adequate marketing study.
Work through the numbers
The sample means are 3.5 and approximately 11.1667.
The centred cross-product sum is 28.5; the centred sums of squares are 17.5 and approximately 50.8333.
Pearson r = 28.5/√(17.5×50.8333) ≈0.9555.
Spearman rank correlation is approximately 0.9429; Pearson’s conventional two-sided p-value is about 0.002920.
The illustrative sample shows a strong positive linear and rank association.
Six months of co-movement do not establish an advertising return. Seasonality, store growth, discounts or higher budgets in already busy months could explain the pattern. The coefficient is not a percentage sales increase or an ROI.
Apply it at work
Define the unit, period, relevant population and timing of both variables.
Plot the paired observations and check missing values, unusual points, subgroups and time trends.
Choose a coefficient that matches the association question and report sample size with any interval or test.
Use the relationship to form a prediction model or controlled business experiment rather than assuming a causal lever.
Check these assumptions
Pairs are correctly aligned and measured on appropriate numerical or ordered scales.
Independent pairs are needed for ordinary significance calculations; repeated or time-dependent observations require adjustment.
Pearson’s coefficient is most informative for linear patterns; Spearman’s targets monotonic ordering.
The sample has enough variation and is not dominated by recording errors, selected ranges or one extreme point.
Common mistakes and how to avoid them
Correlation between two rising business series can be driven by time rather than a useful direct relationship.
Combining different customer groups can hide or reverse within-group patterns.
Treating r² as a causal explanation or r as a return percentage misstates what was calculated.
How this can help the business
An operations analyst can identify relationships worth modelling while avoiding duplicated dashboard measures.
A manager can use a plausible association to design an experiment before spending money on the presumed cause.
A decision rule to adapt
Use correlation as a diagnostic and modelling clue. Require a suitable design and an economic mechanism before treating the relationship as an intervention target.
When to use another approach
Use scatter plots, partial or regression analysis for covariates, time-series methods for dependence, or randomised experiments for causal questions.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
spend = np.array([1,2,3,4,5,6])
revenue = np.array([7,9,10,13,12,16])
pearson = stats.pearsonr(spend, revenue)
spearman = stats.spearmanr(spend, revenue)
print("Pearson r and p:", round(pearson.statistic, 4), round(pearson.pvalue, 6))
print("Spearman rank correlation:", round(spearman.statistic, 4))
Recorded output
Pearson r and p: 0.9555 0.00292
Spearman rank correlation: 0.9429
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 28 / Predictive analytics
Simple linear regression
Simple linear regression fits a straight-line relationship between one predictor and a numerical outcome. It supplies an interpretable slope and a prediction rule, with assumptions and uncertainty that determine whether the model is useful for planning, diagnosis or an appropriately designed causal study.
How can one business measurement help estimate another in its original units?
Estimate service workload from incoming job volume within an observed operating range.
Describe the association between marketing spend and revenue in comparable periods.
Create a transparent baseline before considering more complex predictive models.
How the method works
The fitted line has an intercept and a slope. Ordinary least squares chooses them to minimise the sum of squared residuals, the observed outcome minus the fitted outcome. Squaring gives large errors more influence. The slope expresses the average fitted change in the outcome for one unit of the predictor; its business meaning depends on both measurement units.
The model also leaves unexplained variation. R-squared describes the fraction of outcome variation around its sample mean accounted for by the fitted line in that dataset. It is not the percentage of future predictions that will be correct. Residual plots can reveal curvature, changing variability, unusual points and time patterns that make a straight-line model inadequate.
A confidence interval for the mean response at a predictor value is narrower than a prediction interval for one future observation, because the latter includes individual outcome variation as well as fitted-line uncertainty. Future performance must be checked on observations excluded from fitting. A predictive association remains non-causal unless the design and assumptions support a causal interpretation.
The calculation
predicted y = b_0+b_1x; b_1 = Σ[(x−mean_x)(y−mean_y)]/Σ(x−mean_x)²; b_0 = mean_y−b_1mean_x
Read the symbols
Symbol
Meaning
b_0
Fitted intercept; its practical meaning requires x=0 to be relevant.
b_1
Fitted outcome units per predictor unit.
residual
Observed outcome minus fitted outcome.
R²
1−residual SS/total centred outcome SS, for an intercept model.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative retail advertising and revenue, measured in thousands of rand.
Inputs
Spend x: 1, 2, 3, 4, 5, 6.
Revenue y: 7, 9, 10, 13, 12, 16.
Estimate the fitted mean revenue at advertising spend of R4,000.
Work through the numbers
The centred cross-product sum is 28.5 and the predictor sum of squares is 17.5.
At x=4, fitted revenue is 5.466667+1.628571×4≈11.980952 thousand rand.
The sample R² is approximately 0.9131; fitted mean revenue is R11,980.95.
The fitted line is predicted revenue in R1,000 units = 5.4667 + 1.6286×advertising spend in R1,000 units.
The slope describes an observed association in six illustrative points. It is not evidence that another R1,000 in advertising causes R1,628.57 more revenue, and revenue is not contribution. Prediction error and future validation must accompany operational use.
Apply it at work
Define the outcome, predictor timing, measurement units and intended prediction range.
Plot the relationship, inspect recording problems and separate training from future evaluation data.
Fit the line and examine residuals, influential points, uncertainty and out-of-sample error.
Compare with a simple baseline and use forecasts with a prediction interval and a clear operating decision.
Check these assumptions
A straight-line mean relationship is an adequate approximation in the range used.
For interpretable observational slopes, omitted influences related to the predictor must be considered; causality requires stronger identification.
Classical standard errors and intervals require appropriate error independence, variance and distribution assumptions.
The predictor is available when making the forecast and future data are sufficiently comparable to the training process.
Common mistakes and how to avoid them
Extrapolating far beyond the observed predictor range can produce unrealistic business plans.
A high in-sample R² does not establish future accuracy or a causal mechanism.
Forcing an unnecessary zero intercept, ignoring outliers or leaking future information can distort the fitted relationship.
How this can help the business
A simple workload model can make staffing estimates inspectable and reveal when a more complex model is actually needed.
A finance team can connect fitted changes to contribution and uncertainty before evaluating a spending scenario.
A decision rule to adapt
Use the model when it improves relevant held-out prediction error over a credible baseline and its uncertainty is tolerable for the decision. Do not use the slope as a causal ROI without suitable evidence.
When to use another approach
Use multiple regression for important covariates, a transformed or nonlinear model for curvature, or time-series regression for dependent business periods.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from scipy import stats
spend = np.array([1,2,3,4,5,6])
revenue = np.array([7,9,10,13,12,16])
model = stats.linregress(spend, revenue)
prediction = model.intercept + model.slope*4
print("Intercept and slope:", round(model.intercept, 4), round(model.slope, 4))
print("R-squared:", round(model.rvalue**2, 4))
print("Predicted revenue at R4000 advertising (R):", round(prediction*1000, 2))
Recorded output
Intercept and slope: 5.4667 1.6286
R-squared: 0.9131
Predicted revenue at R4000 advertising (R): 11980.95
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 29 / Predictive analytics
Multiple linear regression
Multiple regression extends a straight-line prediction rule to several predictors. It can account for observable differences in job mix and produce a transparent planning baseline, but adding variables does not automatically remove bias, create causality or improve future prediction.
How do several available business factors jointly relate to a numerical outcome?
Estimate delivery cost using order volume, route distance and other known operating inputs.
Compare average performance while adjusting for measured product or service mix.
Develop inspectable workload, cost or demand models before evaluating more complex alternatives.
How the method works
Ordinary least squares estimates a set of coefficients that jointly minimise squared residuals. A coefficient describes the fitted outcome change for one predictor unit while holding the other included predictors fixed. Categorical predictors require suitable indicator coding; nonlinear patterns can be represented with explicitly chosen transformations or interaction terms when justified.
The holding-other-factors-fixed interpretation is conditional on the model. If volume and distance nearly always rise together, the data may contain little information to separate their coefficients. This multicollinearity can make individual estimates unstable even when combined predictions look reasonable. More data in the relevant combinations, simpler models or regularisation can help.
Predictive use requires features available at the decision time, preprocessing estimated only on training data and evaluation on genuinely new work. Classical coefficient tests and intervals need suitable residual and design assumptions; the short example focuses on arithmetic and held-out prediction instead. An adjusted observational association can still be confounded by unrecorded driver skill, congestion, product mix or scheduling decisions.
The calculation
predicted y = b_0+b_1x_1+…+b_px_p; estimate b by minimising Σ(y_i−predicted y_i)²
Read the symbols
Symbol
Meaning
x_j
An included predictor available at forecast time.
b_j
Conditional fitted outcome change per predictor unit.
p
Number of predictors; enough information is needed to estimate them reliably.
MAE
Mean absolute held-out error, in the outcome’s original units.
A worked business example
ILLUSTRATIVE SCENARIO
Constructed delivery-cost teaching data use parcel count and route kilometres as inputs.
Costs are generated as R100 + R2×parcels + R3×km plus small stated errors.
Fit only the first six rows and hold the final two rows aside.
Work through the numbers
The fitted training intercept is R100.65.
The fitted coefficients are approximately R1.8344 per parcel and R3.7062 per kilometre, conditional on the other input.
For held-out (22,3), prediction =100.65+1.834375×22+3.70625×3≈R152.125.
The second test prediction is approximately R166.912; mean absolute error over the two held-out rows is R1.394.
The fitted model gives an easily inspected delivery-cost rule and a small test error on this constructed example.
The data were intentionally generated from a near-linear rule. Eight rows and two test cases are not enough to establish real-world accuracy or coefficient stability. The validation structure is the lesson, not a claim that delivery costs are this predictable.
Apply it at work
Choose the prediction decision, target unit, candidate inputs and a realistic time- or group-based holdout.
Inspect relationships, missingness and correlated predictors; encode and scale using training information only.
Fit a defensible baseline, inspect residuals and coefficient stability, and compare alternatives using validation data.
Report held-out errors and uncertainty, then monitor drift and retrain only through a documented process.
Check these assumptions
The functional form adequately represents the conditional mean over the intended prediction range.
Included predictors are observed reliably and available before the outcome is known.
For classical inference, residual independence, variance and distribution conditions need appropriate checks or robust adjustments.
For causal interpretation, the design must address confounding and selection; including several columns alone does not do so.
Common mistakes and how to avoid them
Selecting predictors using the final test set leaks information and makes the reported performance optimistic.
Strongly correlated inputs can create unstable coefficients that should not be read as independent physical mechanisms.
An apparently adjusted result can remain biased by omitted variables, data selection or measurement error.
How this can help the business
A cost model can support transparent quote checks and workload budgeting when validated on representative future work.
Measured job-mix adjustment can improve diagnostics while identifying where an experiment is needed to support causal action.
A decision rule to adapt
Adopt the model only if relevant held-out error, stability and operating constraints are acceptable relative to a simple baseline; interpret coefficients conditionally and within the observed range.
When to use another approach
Use regularised regression for unstable high-dimensional inputs, nonlinear models for complex patterns, or causal designs when the question concerns an intervention.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.linear_model import LinearRegression
from sklearn.metrics import mean_absolute_error
x = np.array([[10,2],[12,3],[14,1],[16,4],[18,2],[20,5],[22,3],[24,6]])
noise = np.array([1,-1,0,2,-2,1,0,-1])
cost = 100 + 2*x[:,0] + 3*x[:,1] + noise
model = LinearRegression().fit(x[:6], cost[:6])
predictions = model.predict(x[6:])
print("Intercept (R):", round(model.intercept_, 4))
print("Parcel and km coefficients:", np.round(model.coef_, 4).tolist())
print("Test predictions (R):", np.round(predictions, 3).tolist())
print("Test MAE (R):", round(mean_absolute_error(cost[6:], predictions), 3))
Recorded output
Intercept (R): 100.65
Parcel and km coefficients: [1.8344, 3.7062]
Test predictions (R): [152.125, 166.912]
Test MAE (R): 1.394
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 30 / Predictive analytics
Logistic regression for business probabilities
Logistic regression estimates a probability between zero and one for an event coded 1 versus 0. It is useful for prioritising reviews and planning interventions when the probabilities are validated and calibrated; choosing an action threshold is a separate business decision.
Can available information estimate the probability of a binary outcome such as a late delivery?
Estimate delivery-delay or service-failure risk using information available when an order is accepted.
Model a binary response such as renewal, conversion or cancellation.
Provide an interpretable probability baseline against which more complex classifiers can be compared.
How the method works
The model first forms a linear score from the predictors, then passes it through the logistic function. This bounds the predicted probability while making the log-odds linear in the included inputs. Coefficients are estimated from labelled observations, usually through likelihood-based optimisation; scikit-learn’s standard implementation also applies regularisation unless configured otherwise.
Exponentiating a coefficient gives an odds ratio for a one-unit predictor change, conditional on the other included variables and the fitted model. Odds are p/(1−p), so an odds ratio is not a risk ratio and not a fixed percentage-point probability change. The same score change has a different probability effect depending on the starting risk.
Prediction quality needs more than classification accuracy. Calibration asks whether events occur at roughly the rates assigned by the model; ranking measures whether higher-risk cases tend to contain more events. Both can change with customer mix, base rates and time. Train and evaluate using appropriate later periods or independent groups, and then choose a threshold based on capacity, intervention cost and the consequences of errors.
The calculation
score = b_0+Σb_jx_j; p = 1/[1+exp(−score)]; log[p/(1−p)] = score; conditional odds ratio for x_j = exp(b_j)
Read the symbols
Symbol
Meaning
p
Fitted probability of the outcome coded 1.
b_0
Fitted intercept on the log-odds scale.
b_j
Coefficient per predictor unit on the log-odds scale.
x_j
A predictor available at the time the decision is made.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative historical service orders use planned lead time known at quotation to estimate eventual late-delivery risk.
Inputs
Planned lead times: 5,10,15,20,25,30,35,40,45,50 days.
Matured late outcomes: 0,0,0,0,1,0,1,1,1,1.
Fit a regularised one-predictor logistic model with C=1.
Work through the numbers
The teaching fit has intercept approximately −6.9694 and day coefficient approximately 0.2534.
For 25 planned days, score is about −0.634 and logistic probability is approximately 0.3467.
For 40 planned days, score is about 3.165 and probability is approximately 0.9596.
exp(0.2534)≈1.288 is a conditional odds multiplier per planned day in this fit, not a 28.8-percentage-point risk increase.
The model illustrates how a linear score becomes a bounded, nonlinear probability.
This ten-order training example provides no credible accuracy or calibration estimate. A real review policy needs substantially more representative mature outcomes, held-out evaluation and a defined intervention; changing promised lead time cannot be assumed to cause the fitted risk change.
Apply it at work
Define the event and observation window, collect mature labels and exclude features learned only after the decision.
Separate training and evaluation periods or groups, then fit a justified regularised baseline.
Evaluate calibration, ranking, subgroup performance and the cost of alternative thresholds on held-out data.
Pilot the resulting decision policy and monitor base rates, drift and realised intervention outcomes.
Check these assumptions
Outcome labels are consistently defined and sufficiently complete over the same follow-up window.
Predictors are available before the prediction decision and are measured in consistent units.
The log-odds functional form and regularisation are adequate for the task; interactions or nonlinear terms may be needed.
Training and future decision populations are sufficiently comparable, with appropriate handling of dependence and class sampling.
Common mistakes and how to avoid them
Reading an odds ratio as a probability increase misstates the model.
Training accuracy and convincing-looking probabilities do not establish calibration on future orders.
Using outcome-derived features, immature labels or uncorrected sampling changes can make the model unsuitable for deployment.
How this can help the business
A validated risk ranking can direct limited inspection effort to cases where it may create the most value.
Calibrated probabilities can support capacity and expected-cost planning instead of rigid high/low labels alone.
A decision rule to adapt
Use validated probabilities with a separately costed and capacity-aware action policy. Check whether the intervention improves outcomes rather than assuming that risk prediction itself creates a benefit.
When to use another approach
Consider simpler rules, calibrated tree-based models, survival analysis for time-to-event outcomes, or an intervention experiment to estimate treatment benefit.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.linear_model import LogisticRegression
days = np.array([5,10,15,20,25,30,35,40,45,50]).reshape(-1,1)
late = np.array([0,0,0,0,1,0,1,1,1,1])
model = LogisticRegression(C=1.0, solver="lbfgs").fit(days, late)
probabilities = model.predict_proba([[25],[40]])[:,1]
print("Intercept and day coefficient:", round(model.intercept_[0], 4), round(model.coef_[0,0], 4))
print("Illustrative P(late) at 25 and 40 days:", np.round(probabilities, 4).tolist())
print("Training example only; future calibration and validation are still required.")
Recorded output
Intercept and day coefficient: -6.9694 0.2534
Illustrative P(late) at 25 and 40 days: [0.3467, 0.9596]
Training example only; future calibration and validation are still required.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 31 / Predictive analytics
Classification thresholds, error costs and review capacity
A probability model becomes a business policy only when a threshold or allocation rule turns its scores into actions. Confusion matrices, precision, recall and explicit error costs show the consequences of that policy. A default 0.5 threshold is rarely an economic law.
Which predicted risks should trigger action when mistakes have different costs?
Choose an inspection threshold for orders likely to contain a fault.
Compare fraud-review or cancellation-risk policies against available review capacity.
Evaluate a classifier using the consequences of errors rather than accuracy alone.
How the method works
At a chosen threshold, predicted positives are the cases flagged for action. Comparing these flags with known outcomes produces true positives, false positives, false negatives and true negatives. Precision describes the proportion of flags that are genuine positives; recall describes the proportion of actual positives that were flagged. Both change as the threshold moves.
Lowering the threshold generally catches more positives and flags more negatives. Whether that is worthwhile depends on the cost of unnecessary action, the loss from a missed event and the capacity needed to investigate the extra flags. Accuracy can hide these trade-offs, especially when the event is rare. A model that predicts no faults can look accurate while failing to find the cases the business cares about.
Use a validation sample to select the rule, then freeze it before evaluating on a separate test or future period. A retrospective error-cost table is not proof that acting on the flags improves outcomes: inspection quality, treatment effectiveness and disruption need separate measurement. Calibrated probabilities can support expected-loss decisions, but ranking quality alone does not guarantee reliable probabilities.
Assume R50 per false positive and R300 per false negative; compare thresholds 0.50 and 0.30.
Work through the numbers
At 0.50: TP=2, FP=3, FN=2, TN=3; precision=2/5=0.40 and recall=2/4=0.50.
The illustrative error cost is 3×R50+2×R300=R750, with five orders flagged.
At 0.30: TP=3, FP=5, FN=1, TN=1; precision=3/8=0.375 and recall=3/4=0.75.
The error cost is 5×R50+1×R300=R550, but eight orders now require attention.
The lower threshold has R200 less error cost among the two tested options on these ten illustrative observations.
That option is infeasible if only six reviews can be completed, and this comparison does not establish the globally optimal threshold or future savings. Review effort, correct-case treatment cost and actual intervention benefit are outside the simple error-cost model.
Apply it at work
Define the prediction target, action, relevant error costs and maximum workable review load.
Generate scores on data excluded from fitting and preserve a separate final evaluation period.
Compare candidate thresholds using confusion counts, capacity, calibration and the chosen business objective.
Pilot the selected action policy and monitor realised outcomes, costs, subgroup performance and drift.
Check these assumptions
Evaluation outcomes are reliable and sufficiently mature, and the sample represents the intended decision population.
Scores are generated without leakage from labels or later information.
The stated cost model and operational capacity describe the actual decision closely enough to be useful.
Threshold tuning is separated from the final performance assessment.
Common mistakes and how to avoid them
Choosing the best-looking threshold on the final test set turns that set into tuning data.
Reporting accuracy alone can hide a near-total failure to detect rare but costly events.
Treating predicted risk as preventable loss assumes an intervention works, which must be evaluated separately.
How this can help the business
An inspection manager can see the extra workload purchased by a higher detection rate before changing the policy.
A finance team can compare plausible error costs and actual pilot outcomes instead of relying on one statistical score.
A decision rule to adapt
Select an action rule that meets the measured cost, capacity and quality requirements on representative validation data, then confirm it on an untouched or later evaluation sample.
When to use another approach
Use capacity-based top-k review, cost-sensitive learning, decision-curve analysis or an experiment that estimates which customers actually benefit from intervention.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.metrics import confusion_matrix, precision_score, recall_score
actual = np.array([1,0,1,0,0,1,0,0,1,0])
probability = np.array([.9,.8,.7,.6,.55,.45,.4,.3,.2,.1])
for threshold in [.5,.3]:
predicted = probability >= threshold
tn, fp, fn, tp = confusion_matrix(actual, predicted).ravel()
cost = fp*50 + fn*300
print("Threshold:", threshold, "TP/FP/FN/TN:", tp, fp, fn, tn)
print("Precision/recall:", round(precision_score(actual,predicted),3), round(recall_score(actual,predicted),3), "Cost R:", cost)
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 32 / Predictive analytics
Customer segmentation with clustering
Clustering groups observations according to similarities in chosen features, without known outcome labels. It can organise exploratory customer or operational analysis, but the resulting groups are a modelling choice to validate, not proof that the business has discovered fixed natural customer types.
Are there useful groups of customers or jobs with similar observed behaviour?
Explore purchase-frequency and spending patterns before designing service packages.
Group jobs by observed complexity, duration or resource use for process investigation.
Create candidate segments whose stability and business usefulness can be tested.
How the method works
K-means starts with a chosen number of clusters and iteratively assigns observations to their nearest centre, then updates each centre to its assigned observations’ mean. The objective is to reduce the sum of squared distances within clusters. Because different initial centres can give different results, repeated initialisations and a fixed random seed make an example more reproducible.
Distance is defined by the features and their scales. Annual rand spend can dominate purchase count unless the analysis deliberately rescales them. Standardising each input gives each feature comparable variation in this example, but that is a substantive weighting decision rather than an automatically correct business choice. Features also need consistent observation windows and sensible handling of missing or extreme values.
Internal measures such as silhouette describe separation under the selected distance definition; they do not measure profit or whether a campaign will work. Evaluate stability across resamples and later periods, interpret centres in original units and check whether the groups lead to a useful, deliverable action. For future assignment, fit preprocessing on the appropriate training data and apply it consistently to new observations.
The calculation
K-means minimises Σ_k Σ_(i in cluster k) ||z_i−centre_k||², where z_i contains the chosen scaled features
Read the symbols
Symbol
Meaning
k
A cluster label; the number of clusters is chosen by the analyst.
z_i
Feature vector for observation i after the stated preprocessing.
centre_k
Mean feature vector of the observations assigned to cluster k.
silhouette
A within-versus-between distance summary; higher values indicate separation under that definition.
A worked business example
ILLUSTRATIVE SCENARIO
Constructed six-customer teaching data use purchases during a fixed period and total spend in that same period.
Standardise both columns using their observed means and scales.
Fit K-means with two clusters, random_state=42 and n_init=10.
Work through the numbers
Standardisation makes purchase-count and spend variation comparable for the distance calculation.
The fitted groups each contain three customers.
Back-transformed centres are approximately (1.67 purchases, R100) and (9 purchases, R1,000).
The silhouette score on this constructed sample is approximately 0.8788.
The method separates low-activity and high-activity examples under the specified feature scaling.
The strong separation was deliberately built into the tiny teaching dataset. It is not evidence that two segments are optimal in a real customer base or that a new loyalty offer would improve retention.
Apply it at work
State the action a segmentation could enable and select features measured over consistent customer windows.
Inspect distributions and outliers, then choose and document feature transformations and weighting.
Fit several defensible cluster counts and initialisations; inspect centres, separation and stability.
Validate on later customers or periods and test a segment-specific action against an appropriate comparison.
Check these assumptions
The selected features and distance definition describe similarity relevant to the intended business action.
The dataset covers the customer or job population adequately and is not mainly a sample-selection artefact.
K-means’ compact, roughly spherical grouping preference is a useful approximation for the feature space.
Scaling, transformations and future assignment rules are consistently applied.
Common mistakes and how to avoid them
Naming clusters loyal, valuable or risky without validating those outcomes invents meaning beyond the features.
Choosing the largest silhouette or the prettiest plot alone ignores feasibility, stability and business relevance.
A segment may simply reflect measurement duration, currency units or missing-data practices rather than useful customer behaviour.
How this can help the business
A service team can investigate different workloads and needs before designing distinct support processes.
Marketing can use candidate groups to organise controlled tests while measuring incremental contribution rather than assuming segmentation itself creates value.
A decision rule to adapt
Use a segmentation when it is interpretable, stable enough for its purpose and linked to an action that performs better in a measured pilot than the existing approach.
When to use another approach
Consider explicit rule-based RFM segments, mixture models for overlapping groups, density-based methods for irregular clusters, or supervised models when a labelled target is available.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.cluster import KMeans
from sklearn.metrics import silhouette_score
customers = np.array([[1,100],[2,120],[2,80],[8,900],[9,1000],[10,1100]])
scaler = StandardScaler()
scaled = scaler.fit_transform(customers)
model = KMeans(n_clusters=2, random_state=42, n_init=10).fit(scaled)
centres = scaler.inverse_transform(model.cluster_centers_)
print("Cluster sizes:", np.bincount(model.labels_).tolist())
print("Centres: purchases, rand spend:", np.round(centres,2).tolist())
print("Silhouette:", round(silhouette_score(scaled,model.labels_),4))
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 33 / Predictive analytics
Principal component analysis
Principal component analysis transforms correlated numerical features into orthogonal components ordered by explained variance. It can simplify exploratory analysis and some predictive pipelines, but the direction with most variation is not automatically the direction with most business importance.
Can many correlated measurements be summarised without carrying every variable separately?
Summarise several correlated sensor or operating indicators before visual exploration.
Reduce redundant features in a carefully validated prediction pipeline.
Investigate whether many recorded measures largely follow the same broad activity pattern.
How the method works
PCA centres the data and finds directions that capture successively large amounts of variation while remaining orthogonal to earlier directions. Each component is a weighted combination of the original features. Projecting an observation onto these directions gives its component scores. A component is a mathematical axis, not a newly measured physical quantity.
Scaling affects which directions dominate. If rand values and order counts are mixed, standardising can stop one unit from overwhelming the calculation, but may also give a noisy variable undue weight. The explained-variance ratio for a component divides its variance by the total variance. Choosing how many components to retain trades compression against information discarded under that particular variance criterion.
Loadings help interpret which variables move together, but a component does not establish a causal factor. Its sign is arbitrary: reversing all loadings and scores describes the same axis. For predictive work, fit centring, scaling and PCA inside training data or each validation fold. Evaluate the downstream business task, because a small-variance feature may still contain important information about rare failures or profitable customers.
The calculation
scores Z = X_standardised W; explained-variance ratio_j = λ_j/Σλ; retained share = sum of selected ratios
Read the symbols
Symbol
Meaning
X_standardised
The chosen centred and scaled feature matrix.
W
Matrix whose columns are component directions or loadings.
λ_j
Variance associated with principal component j.
Z
Scores of observations on the retained component axes.
A worked business example
ILLUSTRATIVE SCENARIO
Constructed daily sales counts for three product indicators demonstrate redundancy.
The second indicator is exactly twice the first in the teaching data.
Standardise all three features and fit two principal components.
Work through the numbers
The first component has an explained-variance ratio of approximately 0.8540.
The second explains approximately 0.1460; the remaining component has effectively zero variance.
Together, two components retain essentially all variation in this particular three-column sample.
One valid first-component loading vector is approximately (0.6064, 0.6064, 0.5144); its simultaneous sign reversal is equivalent.
The arithmetic exposes the exact redundancy deliberately placed in the first two indicators.
Retaining 100% here does not imply that two components will always retain all future business information. The six-row sample is illustrative, and variance retained is not a prediction accuracy or an economic benefit.
Apply it at work
Define whether PCA serves visual exploration, storage reduction or a predictive task.
Choose meaningful numerical inputs and document centring, scaling and treatment of missing or unusual values.
Fit PCA, inspect loadings and explained variance, and compare alternative retained dimensions.
Validate interpretability, stability and any downstream task on representative data not used to select the pipeline.
Check these assumptions
Numerical features and the chosen linear combinations are meaningful for the intended task.
The sample represents the variation the analysis is meant to summarise.
The selected scaling and variance-based compression criterion are appropriate business choices.
For prediction, all learned preprocessing is restricted to training data to avoid leakage.
Common mistakes and how to avoid them
A high retained-variance percentage does not prove that a classifier or operational decision will improve.
Interpreting component loadings as causal mechanisms overstates an unsupervised transformation.
Dropping a low-variance feature can remove a rare but commercially important fault signal.
How this can help the business
Analysts can replace several redundant charts with a smaller set of inspectable patterns during diagnosis.
A validated pipeline may become easier to fit or visualise, but any savings or prediction improvements must be measured against a simpler alternative.
A decision rule to adapt
Retain only a dimensionality and preprocessing choice that serves the stated business task; judge success with downstream usefulness and validation, not an arbitrary variance threshold alone.
When to use another approach
Use feature selection when original-variable interpretation matters, domain-designed indices when justified, or nonlinear embeddings for limited exploratory purposes.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.preprocessing import StandardScaler
from sklearn.decomposition import PCA
sales = np.array([[10,20,5],[12,24,4],[14,28,6],[16,32,5],[18,36,7],[20,40,6]])
scaled = StandardScaler().fit_transform(sales)
model = PCA(n_components=2).fit(scaled)
print("Explained-variance ratios:", np.round(model.explained_variance_ratio_,4).tolist())
print("Cumulative retained variance:", round(model.explained_variance_ratio_.sum(),4))
print("First component weights:", np.round(model.components_[0],4).tolist())
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 34 / Forecasting
Moving averages and simple exponential smoothing
A trailing moving average gives recent periods equal weight, while simple exponential smoothing gives progressively less weight to older observations. Both are useful baseline forecasting methods for a changing local level, provided their limitations with trend, seasonality and disruptions are understood.
What transparent short-term forecast can be built from recent demand?
Create an inspectable demand baseline for routine purchasing or staffing discussions.
Smooth short-term noise in comparable, regularly spaced operational measurements.
Compare a simple forecast with a proposed complex model before accepting the extra maintenance effort.
How the method works
A k-period moving-average forecast is the mean of the latest k observations available when making the forecast. A smaller window reacts more quickly and is noisier; a larger window is steadier and can lag genuine change. A centred moving average may be useful for historical description, but it uses later values and is not a legitimate real-time forecast rule.
Simple exponential smoothing updates a level estimate using a weighted combination of the newest actual observation and the previous level. The smoothing parameter alpha lies between zero and one. A larger alpha responds more sharply; a smaller value preserves more history. Repeated substitution shows that older observations receive weights that shrink geometrically.
Without a trend or seasonal component, the standard multi-period SES point forecast is a flat continuation of the latest estimated level. That makes it unsuitable for mechanically extending strong growth or regular holiday patterns. Choose the window or alpha using earlier rolling validation and compare with a naïve last-value forecast. Uncertainty and lead-time demand, rather than a single point alone, must inform stock or staffing decisions.
Number of past observations in the trailing window.
α
Smoothing weight between zero and one.
y_t
Latest actual observation known at the forecast origin.
level_t
Updated estimate of the current level.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative weekly demand for a regularly stocked consumable, with six complete observations.
Inputs
Demand: 100,110,105,120,115,130 units.
Moving-average window: three weeks.
SES alpha=0.3; initialise the level to the first observation, 100.
Work through the numbers
The naïve forecast for the next week is the last observed demand, 130.
The three-week moving-average forecast is (120+115+130)/3≈121.667.
SES successive levels after the first are 103, 103.6, 108.52, 110.464 and 116.3248.
The final SES next-period forecast is approximately 116.325 units.
The three simple methods disagree because they balance current change and noise differently.
There is no later observation here, so no method has demonstrated greater accuracy. The rising example also illustrates lag: a smooth estimate can understate continuing growth, while reacting to a temporary peak can overstate future demand.
Apply it at work
Prepare a time-ordered series with a consistent interval and distinguish missing periods from genuine zeros.
Plot demand and identify trend, seasonal patterns, promotions, stockouts and structural changes.
Choose candidate windows or alpha values using only information available at each historical forecast origin.
Compare with naïve and relevant seasonal baselines at the actual planning horizon, then monitor bias and error.
Check these assumptions
Measurements are comparable, correctly ordered and regularly spaced for the chosen update rule.
Historical demand is informative about the local level during the intended forecast period.
Unmodelled trend, seasonality or known interventions are not being mistaken for random noise.
Training and tuning use earlier observations only; future outcomes are reserved for evaluation.
Common mistakes and how to avoid them
Using a centred average as a real-time forecast leaks future information.
Treating observed sales during stockouts as unconstrained demand can bias the forecast downwards.
Choosing the smoothest-looking line or the best in-sample fit ignores the business forecast horizon and future error.
How this can help the business
A purchasing team obtains a low-maintenance forecast that can serve as a credible comparison for more elaborate systems.
Managers can explicitly debate responsiveness and stability while measuring the cost of shortages and excess stock.
A decision rule to adapt
Keep the simplest method that delivers acceptable rolling-origin error and bias for the planning horizon; add trend or seasonality when the evidence and operating context require them.
When to use another approach
Use Holt’s trend methods, seasonal naïve or Holt–Winters for recurring patterns, intermittent-demand methods for sparse items, or a causal forecast model with known drivers.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
sales = np.array([100,110,105,120,115,130])
alpha = 0.3
level = float(sales[0])
for value in sales[1:]:
level = alpha*value + (1-alpha)*level
print("Naive next-period forecast:", sales[-1])
print("Three-period moving average:", round(sales[-3:].mean(),3))
print("Simple exponential smoothing:", round(level,3))
print("These forecasts must be compared on later observations.")
Recorded output
Naive next-period forecast: 130
Three-period moving average: 121.667
Simple exponential smoothing: 116.325
These forecasts must be compared on later observations.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 35 / Forecasting
Seasonality and fitted seasonal forecasting
Seasonal forecasting uses patterns that recur over a known cycle, such as weekdays, quarters or months. A seasonal-naïve baseline repeats the corresponding past season; a fitted model can add trend or other known drivers when sufficient history and validation justify the extra structure.
How should recurring calendar patterns influence purchasing, staffing and capacity?
Plan for weekday or quarterly differences in service demand.
Separate recurring calendar variation from continuing growth when budgeting production.
Compare a transparent seasonal baseline with a fitted model before using forecasts in inventory or staffing decisions.
How the method works
A seasonal-naïve forecast repeats the latest observed value from the matching season. For quarterly data, next year’s first quarter starts from the most recent first-quarter observation. This is a strong baseline when a pattern repeats, and it avoids pretending that every increase is a new trend. Several full cycles are normally needed to distinguish recurring seasonality from one-off events.
A seasonal regression can represent time and calendar indicators explicitly. The example fits log demand using a linear time trend and three quarterly indicator variables, with quarter one as the reference. Exponentiating gives a fitted seasonal profile in demand units. With random log errors, that back-transformation generally targets a conditional median; a mean forecast needs a justified bias adjustment or predictive simulation.
This regression is distinct from Holt–Winters exponential smoothing and seasonal ARIMA. Holt–Winters updates level, trend and seasonality; SARIMA models seasonal and non-seasonal serial dependence after appropriate differencing. They are alternatives, not models fitted by the short example. Select methods through chronological validation at the actual horizon and include holiday shifts, stockouts or unusual business closures when relevant.
Last observation available at the forecast origin.
Q2_t, Q3_t, Q4_t
Quarter indicators; quarter one is represented by the intercept.
b_1
Time trend on the logarithmic scale.
A worked business example
ILLUSTRATIVE SCENARIO
Constructed quarterly demand deliberately combines a repeated seasonal profile with 10% annual growth.
Inputs
Year one: 100,120,90,150 units.
Year two: 110,132,99,165 units.
Year three, reserved initially as a holdout: 121,145.2,108.9,181.5 units.
Work through the numbers
Fit the log-linear seasonal regression only to the first eight observations.
A seasonal-naïve holdout forecast repeats year two; its four-quarter MAE is 12.65 units.
The fitted regression captures the constructed growth and quarter pattern, producing an approximately zero holdout MAE.
After evaluating, refit the same specification to all twelve observations: next four point forecasts are 133.10,159.72,119.79 and 199.65 units.
The example distinguishes a baseline that repeats a season from a fitted model that also represents growth.
A perfect result occurs because the data were designed from that structure. It is not evidence that the model will forecast real business demand perfectly. Three years of toy data cannot quantify the uncertainty from weather, promotions, disruptions or changing customer demand.
Apply it at work
Define the calendar frequency, forecast horizon and decisions the forecasts must support.
Plot several cycles, investigate known events and protect a later period for evaluation.
Compare seasonal naïve with defensible fitted specifications using only information available at each origin.
Refit the selected specification after evaluation, produce uncertainty-aware forecasts and monitor pattern changes.
Check these assumptions
Calendar periods and outcomes are consistently recorded, with missing periods distinguished from zero demand.
The observed seasonal pattern and trend are informative about the intended future period.
Future predictors such as quarter indicators are known at prediction time; unknown drivers require scenarios.
The logarithmic example requires strictly positive demand and a suitable interpretation of back-transformed forecasts.
Common mistakes and how to avoid them
Randomly mixing past and future rows during validation makes a seasonal forecast appear better informed than it really is.
Treating a holiday, strike or promotion as permanent seasonality can distort future resource plans.
Comparing a log-scale fit with a demand-scale cost without considering transformation and forecast uncertainty is misleading.
How this can help the business
Seasonal profiles can help schedule capacity before predictable busy periods while reducing routine overstaffing in quieter periods.
Inventory planning can separate a recurring seasonal peak from continuing growth and test both shortage and holding-cost consequences.
A decision rule to adapt
Prefer a fitted seasonal method only when it improves a relevant chronological baseline and its uncertainty, maintenance effort and operating assumptions are acceptable for the decision.
When to use another approach
Consider seasonal naïve, Holt–Winters/ETS, SARIMA or regression with holiday and promotion variables; intermittent and multiple-seasonal demand require specialised choices.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
from sklearn.linear_model import LinearRegression
sales = np.array([100,120,90,150,110,132,99,165,121,145.2,108.9,181.5])
time = np.arange(len(sales))
quarter = time % 4
features = np.column_stack([time, quarter==1, quarter==2, quarter==3])
model = LinearRegression().fit(features[:8], np.log(sales[:8]))
seasonal_naive = sales[4:8]
fitted_forecast = np.exp(model.predict(features[8:]))
print("Seasonal-naive holdout MAE:", round(np.abs(sales[8:]-seasonal_naive).mean(),3))
print("Seasonal-regression holdout MAE:", round(np.abs(sales[8:]-fitted_forecast).mean(),3))
final_model = LinearRegression().fit(features, np.log(sales))
future_time = np.arange(12,16)
future_quarter = future_time % 4
future = np.column_stack([future_time, future_quarter==1, future_quarter==2, future_quarter==3])
print("Next four forecasts:", np.round(np.exp(final_model.predict(future)),2).tolist())
print("Constructed example; a perfect holdout result is not a real-world accuracy claim.")
Recorded output
Seasonal-naive holdout MAE: 12.65
Seasonal-regression holdout MAE: 0.0
Next four forecasts: [133.1, 159.72, 119.79, 199.65]
Constructed example; a perfect holdout result is not a real-world accuracy claim.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 36 / Forecasting
Forecast validation, backtesting and error metrics
Forecast validation recreates historical prediction decisions using only the information that would have been available at the time. Rolling-origin evaluation, simple baselines and decision-relevant error measures provide a stronger basis for choosing a method than how neatly it fits its training data.
Does a forecasting method actually improve the decisions made from future demand estimates?
Compare demand forecasting methods before connecting them to replenishment.
Check whether a new model improves planning beyond last-value or seasonal baselines.
Monitor bias and error at the lead times that determine staffing, stock and service promises.
How the method works
Choose a forecast origin in the past, train or update the model using observations up to that origin, and forecast the required future horizon. Move the origin forward and repeat. This preserves the order in which information becomes available. Preprocessing, feature selection and parameter tuning must also use earlier data rather than leaking information from evaluation periods.
MAE averages absolute errors in the outcome’s original units. RMSE squares errors before averaging and taking a square root, so larger mistakes receive more weight. MASE scales MAE by the average absolute error of an appropriate naïve rule calculated on training data. A MASE below one means improvement relative to that training-scale benchmark, not necessarily superiority to a contemporaneous naïve model on the test set.
Metric choice should reflect the operating decision. Stockouts and excess stock have different costs, and one-week and three-month errors serve different lead times. MAPE can be undefined at zero and unstable near it. Report bias, uncertainty coverage and relevant segments as well as averages; overlapping forecast horizons also create dependent errors that should not be treated as independent evidence.
The calculation
error_t = actual_t−forecast_t; MAE = mean(|error|); RMSE = √mean(error²); MASE = MAE / mean_training(|y_t−y_(t−m)|)
Read the symbols
Symbol
Meaning
m
Seasonal lag for the scaling benchmark; m=1 for the nonseasonal example.
forecast origin
Date through which information is available for one prediction.
horizon
How far ahead the prediction is made.
training scale
Naïve absolute-error average estimated without future observations.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative twelve-period demand series compares a one-step naïve rule with a trailing three-period average.
Begin evaluation after six training observations; forecast one period ahead at each of six subsequent origins.
Keep the MASE scaling denominator fixed from the initial six observations.
Work through the numbers
The training naïve absolute changes are 5,5,2,7,5; their mean is 4.8.
At each evaluation step, use only the latest available history: last actual for naïve, last three actuals for moving average.
Naïve MAE≈4.667, RMSE≈5.099 and MASE≈0.972.
Moving-average MAE≈6.667, RMSE≈7.029 and MASE≈1.389.
The naïve rule performs better than the three-period moving average on this small constructed holdout sequence.
The example shows why a smoother line need not be a better forecast. Six errors are not enough to establish a lasting advantage; compare more origins, appropriate seasonal periods and the actual decision horizon.
Apply it at work
Specify the horizon, updating schedule, business loss and simple comparison methods in advance.
Reserve a final later period and use earlier rolling origins for model and tuning choices.
At every origin, rebuild the information set and calculate comparable errors, bias and interval coverage.
Report performance by important regimes and update or retire models through a monitored decision process.
Check these assumptions
Historical records reproduce what was genuinely known at each forecast origin.
Evaluation periods and horizons represent the intended future operating decisions sufficiently well.
Every candidate uses equivalent information, outcomes and scoring rules.
The scaling benchmark is nonzero and appropriately chosen; dependent errors and structural changes are acknowledged.
Common mistakes and how to avoid them
Random train/test splits or full-series preprocessing can leak future information into the forecast.
A low in-sample residual error does not establish forecast accuracy.
A single aggregate score can hide serious peak-period shortages, systematic bias or poor performance for a critical product.
How this can help the business
A planning team can reject extra model complexity that fails to improve a simple operational baseline.
Error and bias measures can be translated into realistic inventory, staffing or service-risk simulations before deployment.
A decision rule to adapt
Choose the simplest maintainable method that performs acceptably on representative chronological evaluation at the required horizon and under the relevant cost and service constraints.
When to use another approach
Use an untouched later holdout, blocked or rolling cross-validation, asymmetric business-loss scoring, or probabilistic scoring when forecast uncertainty drives the decision.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
sales = np.array([100,105,110,108,115,120,118,125,130,128,135,140])
actual, naive, moving = [], [], []
for t in range(6,len(sales)):
actual.append(sales[t])
naive.append(sales[t-1])
moving.append(sales[t-3:t].mean())
actual = np.array(actual)
scale = np.abs(np.diff(sales[:6])).mean()
for name, forecast in [("Naive",naive),("Moving average",moving)]:
error = actual-np.array(forecast)
mae = np.abs(error).mean()
rmse = np.sqrt((error**2).mean())
print(name, "MAE/RMSE/MASE:", round(mae,3), round(rmse,3), round(mae/scale,3))
print("Initial training-only scale:", round(scale,3))
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 37 / Quality & reliability
Individuals and moving-range control charts
An I–MR chart monitors time-ordered continuous measurements collected one at a time. It separates investigation of unusual behaviour from routine adjustment of a stable process, which helps managers avoid both missed shifts and unnecessary tampering.
Has a process changed beyond its usual short-term variation?
Monitor fill volumes, turnaround times or calibration check readings when rational subgroups are unavailable.
Choose when to investigate a change in the work before accepting more output from the process.
How the method works
The individuals chart places each observation against a historical centre and estimated natural spread. Consecutive absolute differences form the moving-range chart. For normally distributed independent observations, dividing the average two-observation moving range by 1.128 estimates the underlying short-term standard deviation. The two charts answer related questions about level and short-term movement.
First establish a Phase I baseline from a meaningful operating period. Annotate maintenance, product changes and known disturbances, investigate credible special causes, and decide which operating condition the baseline represents. The illustrative twenty readings below are deliberately small for calculation; a production baseline needs enough observations to assess stability and estimate limits reliably.
For Phase II monitoring, freeze the justified baseline limits and compare new observations with them. A point outside a three-sigma limit is an investigation signal, not proof of a defect or its cause. If using runs rules, define them beforehand: adding rules changes the false-alarm behaviour. Rebaseline after a verified process change, rather than continually adapting the limits to conceal it.
The nineteen absolute successive differences average 1.210526 ml.
Estimated sigma = 1.210526 / 1.128 = 1.073162 ml.
I limits = 500.300 ± 3 × 1.073162 = 497.080515 to 503.519485 ml.
The MR upper limit is 3.267 × 1.210526 = 3.954789 ml. The new 505 ml fill exceeds the I upper limit.
A 505 ml reading generates an individuals-chart investigation signal against this baseline.
Check the event log, gauge and operating conditions. Do not automatically discard the bottle or alter the filler: acceptance still depends on separate product specifications.
Apply it at work
Define the process, units, sampling interval and measurement method before collecting the baseline.
Plot readings in time order and investigate known changes before fixing Phase I limits.
Freeze the justified limits and record Phase II observations, context and predefined signal rules.
Investigate signals, document causes and verify any correction before deciding whether a new baseline is warranted.
Check these assumptions
Readings represent a sufficiently consistent operating condition and reliable measurement system.
Successive observations are approximately independent; strong serial correlation changes the signal behaviour.
Normal-based three-sigma limits are reasonable for the measured distribution.
The sampling frequency can detect changes relevant to delivery or quality before damage accumulates.
Common mistakes and how to avoid them
Control limits describe process behaviour; they do not replace customer specification limits.
A short or contaminated baseline can give misleading limits even when the arithmetic is correct.
Adjusting the process after every ordinary fluctuation can increase variation rather than improve it.
How this can help the business
An agreed signal-and-response rule can focus technical attention on changes worth investigating instead of constant readjustment.
Pairing the monitor with timestamps and downtime records helps connect unusual performance with a testable operational cause.
A decision rule to adapt
Investigate a predefined chart signal, verify its cause and assess product risk separately; accept a revised baseline only after a justified change is stable.
When to use another approach
Use X-bar/R or X-bar/S charts for meaningful repeated subgroups; consider distribution-specific charts or time-series residuals when independence or shape assumptions fail.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 38 / Quality & reliability
Attribute control charts: p, np, c and u
Attribute charts monitor counts classified as pass/fail or counts of defects. Choosing the correct denominator prevents a busy week from appearing worse merely because more work was inspected.
Is the rate of failures or defects changing after allowing for inspection volume?
Monitor the fraction of orders with an error when order volumes vary.
Track defects per inspected item or area when several defects can occur on one unit.
How the method works
A p chart treats each inspected unit as conforming or nonconforming. An order with three errors is still one failed order for this chart. Pool baseline failures and inspected units to estimate the underlying fraction, then calculate limits separately for each new sample size. Small samples have wider proportion limits because they contain less information.
An np chart shows the number of failed units when the inspection size is constant. A c chart monitors the number of defects when the opportunity for defects stays comparable. A u chart monitors defects per unit of exposure when exposure changes. A unit can contribute several defects to a c or u chart; it cannot contribute several failed units to a p chart.
Use a justified stable baseline, establish the inspection definition, then freeze it for monitoring. The familiar three-sigma p limits use a normal approximation to binomial variation; very sparse failures or extreme probabilities may need exact methods or a different chart. For defect counts, check whether clustering or overdispersion makes the Poisson assumption inadequate before trusting a narrow limit.
The calculation
p_bar = sum(failed_i)/sum(n_i); p limits_i = p_bar ± 3 sqrt[p_bar(1−p_bar)/n_i], clipped to [0,1]. u_bar = sum(defects_i)/sum(exposure_i); u limits_i = u_bar ± 3 sqrt(u_bar/exposure_i), with lower limit at least 0.
Read the symbols
Symbol
Meaning
n_i
Number of inspected units in sample i.
failed_i
Number of units failing the defined acceptance rule, counted once each.
exposure_i
Comparable defect opportunity, such as units, square metres or inspection hours.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative dispatch department: baseline samples have different numbers of inspected orders.
Pool the baseline: 25 failed / 600 inspected = 0.0416667, or 4.16667%.
For n = 200, standard error = sqrt(0.0416667 × 0.9583333 / 200) = 0.01412985.
Upper p limit = 0.0416667 + 3 × 0.01412985 = 0.0840562, or 8.40562%.
The calculated lower limit is negative, so display 0.
The new failed fraction is 20 / 200 = 10%, above the upper limit.
The sample signals an unusual failed-order fraction against the illustrative baseline.
Investigate why this sample differs, including inspection changes and clustered order types. A higher count alone would not establish deterioration without its denominator.
Apply it at work
Define failed units separately from individual defects and specify what counts as comparable inspection exposure.
Collect baseline counts and denominators over representative time periods with consistent inspection.
Check stability and plausible binomial or Poisson variation, then fix chart parameters and sample-specific limits.
Investigate signals using order mix, operator, product and supplier records before adopting corrective action.
Check these assumptions
Units or defect opportunities are approximately independent within the chosen model.
The baseline probability or defect rate is reasonably stable under the defined operating condition.
Inspection sensitivity, classification rules and exposure definitions remain consistent.
A normal approximation is suitable for the displayed limits; sparse counts receive appropriate special treatment.
Common mistakes and how to avoid them
Averaging sample percentages without weighting by inspected units gives the wrong pooled baseline when sample sizes differ.
Confusing defects with defective units can put counts above the binomial denominator and invalidate the p chart.
Overdispersion from clustering, changing product mix or inconsistent inspectors can create too many apparent signals.
How this can help the business
Managers can compare error performance fairly across different production or customer-service volumes.
A defensible rate monitor helps distinguish changing workload from changing quality before committing to training or equipment changes.
A decision rule to adapt
Investigate a sample-specific signal after checking the denominator and inspection process; assess whether the proposed change reduces the relevant error rate without weakening inspection.
When to use another approach
Use stratified charts for genuinely different product families, rare-event charts for very sparse failures, or an overdispersion-aware method when the simple count model is inadequate.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 39 / Quality & reliability
Process capability: Cp, Cpk and expected rejects
Capability analysis compares process variation with externally defined acceptance limits. It helps separate a process that is too variable from one that is poorly centred, and connects those differences to a modelled rejection rate.
Can a stable process consistently meet the product specification?
Assess whether a filling, cutting or calibration process is compatible with a specified tolerance.
Compare centring and variation-reduction proposals before deciding which production improvement to trial.
How the method works
Begin with the specification, not the observed histogram. Specification limits express what a customer or design requires. A control chart asks whether the process is stable over time; capability then asks whether that stable behaviour is sufficiently narrow and well located. Combining a drifting process into one apparent standard deviation can hide different operating states.
Cp compares the specification width with six short-term process standard deviations. It measures potential capability if the process were appropriately centred. Cpk uses the nearer specification boundary, so an off-centre mean lowers it. An identical Cp can therefore conceal very different exposure to the upper and lower tails. A negative Cpk means the process mean is outside at least one limit.
For an appropriate normal model, compute rejection from both tails directly rather than inferring it from Cp alone. State whether sigma estimates within-process or overall variation; using overall spread leads to performance indices commonly labelled Pp/Ppk. Sample estimates have uncertainty, particularly with little data. Capability targets depend on the customer, consequence of failure and governing process requirements, not a universal website threshold.
The model predicts about 241 rejects per day, with poorer protection at the upper specification.
Centring can address the asymmetry, but the low Cp also indicates substantial spread relative to the tolerance. The predicted count is not an observed production result.
Apply it at work
Verify the measurement system and obtain the actual customer or engineering specification.
Use time-ordered data to investigate stability before interpreting a capability index.
Estimate the relevant mean and sigma, examine distribution shape and quantify index uncertainty.
Compare a centring or variation-reduction pilot using accepted output, full costs and specification compliance.
Check these assumptions
The process is stable over the period to which the capability statement applies.
The measurement system is sufficiently reliable relative to the tolerance.
The normal model is suitable for translating capability into the displayed tail probabilities.
The selected sigma definition and subgrouping method match the interpretation of Cp/Cpk.
Common mistakes and how to avoid them
Control limits and specification limits answer different questions and must not be substituted for one another.
A point estimate of Cpk from a tiny sample is not proof that future shipments will conform.
Equal costs for overfills and underfills are an illustrative simplification; accepted overfill giveaway may also matter.
How this can help the business
The analysis can help identify whether recalibrating the centre, reducing variation or redesigning the process is the more relevant intervention.
Connecting tail risk to production volume makes the proposed quality decision financially concrete while preserving its assumptions.
A decision rule to adapt
Compare capability with the applicable requirement and uncertainty, then verify any proposed improvement on fresh stable data and its actual accepted-output cost.
When to use another approach
Use a justified non-normal capability method or empirical quantile assessment when shape assumptions fail; use a measurement study first when gauge noise dominates.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 40 / Quality & reliability
Measurement systems and crossed Gage R&R
A measurement study separates repeatability from operator-related reproducibility and part variation. It helps a business decide whether a reported process difference is measurable before investing in production changes or rejecting acceptable work.
Are changes in the measurements coming from the product or the measurement system?
Check a gauge used for acceptance decisions before interpreting small differences between products or shifts.
Identify whether training, fixturing, resolution or equipment improvement should be investigated first.
How the method works
In a balanced crossed study, every selected operator measures every selected part several times. Randomising the order and concealing previous readings reduces recall and drift effects. Repeated measurements within a part–operator combination estimate repeatability; consistent operator differences and part-specific operator differences address reproducibility. Representative parts should span the process range relevant to the decision.
A two-way random-effects ANOVA decomposes variation into part, operator, their interaction and residual error. Mean-square differences estimate variance components; the illustrative method-of-moments calculation truncates negative variance estimates to zero and retains the interaction model. Measurement-system standard deviation combines repeatability, operator and interaction components. This is more informative than pooling all readings into one unexplained standard deviation.
Percent study variation compares the measurement-system standard deviation with total study standard deviation. Percent contribution instead compares variances; these are different numbers. A tolerance-based comparison uses six measurement standard deviations divided by specification width. None of these detects all calibration bias, drift, resolution or linearity problems. A small teaching study is not a full acceptance certificate: uncertainty and the actual consequences of misclassification still need assessment.
The constructed example separates a 0.03 mm measurement standard deviation from much larger selected-part variation.
The percentages describe this design and selected range. They do not establish absence of bias or justify a universal pass/fail threshold.
Apply it at work
Define the acceptance or comparison decision, gauge resolution and required measurement accuracy.
Select representative parts and operators, cross all combinations, randomise repeated measurements and preserve the raw readings.
Fit the stated variance-component model and examine operator patterns, interaction and repeatability plots.
Evaluate uncertainty and misclassification risk, then verify calibration, training or fixture improvements with a new study.
Check these assumptions
The example uses a balanced crossed random-effects design with repeat measurements in every cell.
Selected parts and operators represent the intended operating population sufficiently for the proposed interpretation.
Measurement errors are approximately independent with a common within-cell variance.
Parts remain stable during repeated measurement; repeat readings are not changed by destructive testing.
Common mistakes and how to avoid them
Percent variance contribution and percent study variation cannot be compared as if they were identical.
Choosing an artificially broad part range can make measurement error appear proportionally small.
A precise but biased gauge can still misclassify products; Gage R&R does not replace traceable calibration.
How this can help the business
A credible measurement study can prevent spending on a production problem that is actually inconsistent inspection.
Separating components supports a targeted investigation of gauge precision, operator technique or part-specific measurement difficulty.
A decision rule to adapt
Judge suitability against the actual decision, tolerance, uncertainty and misclassification consequences; do not approve a gauge solely from one percentage in a small demonstration.
When to use another approach
Use nested or destructive-study designs when parts cannot be remeasured; use check standards, bias/linearity and stability studies for complementary measurement problems.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 41 / Quality & reliability
Reliability and survival with censored observations
Survival analysis models time until an event while retaining partial information from units whose event has not yet occurred. It helps estimate reliability, warranty exposure or customer persistence without treating incomplete follow-up as either a failure or permanent success.
What proportion of assets or customers remains failure-free after a specified time?
Compare failure-free service duration for equipment cohorts with different lengths of observation.
Track time to customer churn or warranty claim using a consistent event and follow-up definition.
How the method works
Each record needs an observed time and an event indicator. A pump that has run for six months when observation stops is right-censored: it is known to survive to six months, not to fail then. The Kaplan–Meier estimator moves downward at observed event times and uses the number still at risk immediately before each event as its denominator.
At each event time, multiply the previous survival estimate by one minus the fraction failing among those still at risk. Censored units leave future risk sets after their last observed time but do not cause a downward jump. Tied event and censoring times need a consistent convention; the example includes units censored at an event time in that time’s risk set before removing them.
Kaplan–Meier is distribution-free within observed follow-up. It does not justify extrapolating a long unobserved tail. Parametric exponential or Weibull models can extrapolate only with additional shape assumptions and model checking. Replacement and warranty decisions also need failure consequences, maintenance costs and operating conditions: a fitted survival curve alone does not identify a profit-maximising maintenance interval.
The calculation
S_hat(t) = product over event times t_j ≤ t of (1−d_j/n_j); F_hat(t) = 1−S_hat(t).
Read the symbols
Symbol
Meaning
d_j
Number of observed events at time t_j.
n_j
Number still at risk immediately before that event time, including appropriate tied censored records.
S_hat(t)
Estimated probability of remaining event-free beyond time t under the study conditions.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative pump cohort: six pumps have different event or observation-end times in months.
Inputs
Observed times: 2, 3, 4, 4, 5 and 6 months.
Event indicators: 1, 0, 1, 0, 1, 0, where 0 means right-censored.
Work through the numbers
At month 2, one event among six at risk gives S = 5/6 = 0.833333.
The month-3 censoring removes a pump from later risk sets without lowering survival.
At month 4, one event among four at risk gives S = (5/6) × (3/4) = 0.625. Remove the tied censored record after evaluating that risk set.
At month 5, one event among the two remaining at risk gives S = 0.625 × 1/2 = 0.3125.
The month-6 censoring produces no additional event-time drop.
The illustrative estimate after the month-5 event is 31.25% event-free survival.
Only two pumps were at risk just before month 5, so tail uncertainty is substantial. The final censored pump is not evidence of a month-6 failure.
Apply it at work
Define the event, starting point, observation end and operating conditions before combining cohorts.
Record event indicators and follow-up times; examine whether the reasons for censoring relate to likely failure.
Construct risk sets and survival estimates, with uncertainty and clear numbers still at risk.
Use the curve alongside failure costs, maintenance records and sensitivity analysis before changing a service policy.
Check these assumptions
Censoring is non-informative for event risk, conditional on relevant information used in the analysis.
Units are independent or dependence is addressed in the study design and uncertainty calculation.
Event timing, entry time and event definition are recorded consistently.
The observed cohort and operating environment are relevant to the decision population.
Common mistakes and how to avoid them
Counting every observation-end time as a failure overstates failure risk.
A flat tail with few units at risk is not proof of long-term reliability.
Different workloads or selective removal of deteriorating assets can invalidate a naive comparison between cohorts.
How this can help the business
Preserving censored information can make reliability monitoring more defensible than comparing simple average recorded lifetimes.
Risk-set visibility can identify where further follow-up is more valuable than a confident-looking extrapolation.
A decision rule to adapt
Choose a service or warranty action only after examining survival uncertainty, operating comparability and costs; flag tail estimates based on very small risk sets.
When to use another approach
Use Weibull or other parametric survival models for justified extrapolation; use regression survival models when covariates or changing risk must be modelled.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
times = np.array([2,3,4,4,5,6])
event = np.array([1,0,1,0,1,0])
survival = 1.0
for time in sorted(set(times[event == 1])):
at_risk = (times >= time).sum()
failures = ((times == time) & (event == 1)).sum()
survival = survival * (1-failures/at_risk)
print("Month",time,"at risk",at_risk,"survival",round(survival,6))
print("Estimated event-free % after month 5:",round(100*survival,2))
Recorded output
Month 2 at risk 6 survival 0.833333
Month 4 at risk 4 survival 0.625
Month 5 at risk 2 survival 0.3125
Estimated event-free % after month 5: 31.25
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 42 / Quality & reliability
Factorial experiments and interaction effects
A factorial experiment deliberately varies several factors together so their separate effects and interactions can be estimated. It helps a business learn whether a combination of settings, rather than one setting alone, changes accepted output or another response.
Does a process setting work differently when another setting changes?
Test combinations of processing temperature, setup method or material choice in a controlled pilot.
Discover whether a training or workflow change depends on another operating condition.
How the method works
A two-level full factorial runs every combination of low and high levels for the chosen factors. For two factors there are four treatment combinations before replication. Coding levels as −1 and +1 makes comparisons and the regression model convenient, but the actual temperatures, methods or speeds must still be clearly defined in operational terms.
A main effect compares the average response at a factor’s high level with its low level, averaged across the other factor. An interaction means that this difference depends on the other factor. In a two-factor coded model, the interaction term is the product of the factor codes. Looking only at main effects can miss a useful combination or recommend a setting that performs poorly in one condition.
Randomise the run order where feasible and replicate genuinely independent runs to estimate experimental error. Repeated readings of the same unchanged run are measurement repetitions, not independent process replication. Block predictable nuisance conditions such as day or batch when the design requires it. Two levels estimate a local contrast and interaction; they do not establish curvature or a global optimum outside the tested range.
The calculation
y = beta0 + betaA A + betaB B + betaAB AB + error, with A,B in {−1,+1}; two-level effect A = 2 betaA, effect B = 2 betaB, interaction effect = 2 betaAB.
Read the symbols
Symbol
Meaning
y
Chosen response, such as accepted parts per run.
A, B
Coded low/high settings of the two experimental factors.
betaAB
Coefficient describing how the effect of one factor changes with the other.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative manufacturing pilot: two setup factors are tested at low and high levels, with two independent runs per combination.
Each cell has responses two units below and above its mean: 88/92, 98/102, 93/97 and 123/127.
Work through the numbers
A main effect = (100+125)/2 − (90+95)/2 = 20 units.
B main effect = (95+125)/2 − (90+100)/2 = 15 units.
AB interaction effect = (90+125−100−95)/2 = 10 units.
The effect of A is 100−90 = 10 units at B−, but 125−95 = 30 units at B+.
The coded regression coefficients are intercept 102.5, A 10, B 7.5 and AB 5.
The effect of A depends materially on B in this constructed pilot; the highest observed cell mean is A+ B+.
Averaging A’s effect into one number hides its 10-versus-30-unit conditional effect. Confirm quality, cost and repeatability before adopting the combination.
Apply it at work
Choose a measurable response, feasible factor levels, business minimum worthwhile effect and practical safety limits.
Design independent replication, randomisation and any necessary blocking before running the experiment.
Fit the model with interaction terms, examine residuals and calculate uncertainty for planned contrasts.
Run a confirmation trial at the proposed combination and check quality, total cost and any operating constraints.
Check these assumptions
Factors can be deliberately assigned and implemented at their specified levels.
Errors are sufficiently independent with suitable variance and distribution for the selected inferential model.
The design and model include important interactions or acknowledge what remains confounded.
Operating conditions and measurement methods remain comparable across randomised or blocked runs.
Common mistakes and how to avoid them
Changing one factor at a time can miss interactions and use experimental effort inefficiently.
Unreplicated designs do not automatically provide an independent estimate of experimental error.
The best cell within two selected levels does not establish a continuous or global optimum.
How this can help the business
A factorial pilot can compare interacting operating choices with fewer blind adjustments than isolated sequential changes.
Explicit interactions can explain why a process improvement transfers poorly between products, shifts or equipment settings.
A decision rule to adapt
Adopt a tested combination only after its worthwhile response change, uncertainty, quality guardrails and cost are supported by a confirmation trial.
When to use another approach
Use fractional factorial screening for many factors with understood aliasing, and response-surface designs when curvature and local optimisation are the objective.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
settings = [(-1,-1),(1,-1),(-1,1),(1,1)]
means = [90,100,95,125]
rows, values = [], []
for (a,b), mean in zip(settings,means):
for error in [-2,2]:
rows.append([1,a,b,a*b])
values.append(mean+error)
beta = np.linalg.lstsq(np.array(rows),np.array(values),rcond=None)[0]
print("Intercept:",round(beta[0],3))
print("A, B and AB effects:",np.round(2*beta[1:],3).tolist())
print("A effect at B low:",100-90,"at B high:",125-95)
Recorded output
Intercept: 102.5
A, B and AB effects: [20.0, 15.0, 10.0]
A effect at B low: 10 at B high: 30
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 43 / Operations & risk
Queueing, staffing and service-cost trade-offs
Queueing models connect random arrivals, variable service and available stations to long-run waiting. An M/M/c model can compare staffing choices, provided its operating assumptions and stability condition are made explicit.
How much service capacity is needed to control waiting without unnecessary operating cost?
Compare identical packing, help-desk or repair stations serving one shared queue.
Evaluate a mean waiting-time target together with station and work-in-progress costs.
How the method works
Average demand below nominal capacity is necessary but does not eliminate queues. Randomly clustered arrivals and variable service create waiting even when staff are not busy all the time. In M/M/c, arrivals follow a stationary Poisson process, service durations are independent exponential variables, and c identical stations serve one first-come queue with no abandonment or finite-buffer blocking.
Utilisation is arrival rate divided by total service rate. At utilisation of one or more, this infinite-buffer model has no finite steady-state queue or mean wait. Below one, Erlang C gives the probability an arriving job must wait. Dividing that probability by spare service rate gives the mean queue wait, and Little’s law converts it to the mean number of jobs waiting.
The staffing comparison needs a decision objective. In this illustration, hourly cost includes station cost plus a holding or delay cost per queued order-hour. Search feasible station counts subject to a maximum mean queue wait. A mean target is not a percentile or individual completion guarantee. Short shifts, opening backlogs, serial production stages, correlated service and downtime may require a discrete-event simulation or more appropriate queue model.
At 5 stations, mean wait is 0.641234 minutes and total hourly cost is R505.7793.
Counts 1–3 are unstable. Among the stable counts meeting the 5-minute mean target, 5 has the lowest cost in this example.
The specified objective selects 5 stations, not the minimum count that merely has more capacity than mean demand.
The recommendation is conditional on rates, cost assumptions, station range and the steady-state model. It is a candidate for operational validation, not a measured saving.
Apply it at work
Measure arrival timestamps, service-start and service-end times over a comparable operating period.
Check station comparability, rate changes, queue structure and whether the M/M/c assumptions are plausible.
Calculate only stable options and compare the stated cost objective against the actual service requirement.
Pilot the staffing choice and compare observed queue times, throughput, cost and employee workload with model expectations.
Check these assumptions
Arrivals are stationary Poisson and independent of independent exponential service durations.
Stations are identical and continuously available during the modelled operating condition.
One first-come queue has unlimited waiting space and jobs neither abandon nor block arrivals.
The decision concerns long-run average behaviour with consistent time units and defensible cost rates.
Common mistakes and how to avoid them
At rho ≥ 1, reporting a negative or finite steady-state wait is a model error.
Waiting cost per order-hour is not a once-off penalty per arriving order.
Average service speed and average waiting targets do not describe the full tail of the customer experience.
How this can help the business
The comparison makes the cost of too little capacity visible alongside the direct cost of another station.
A model checked against timestamps can identify whether more capacity, lower variability or a different queue arrangement deserves a trial.
A decision rule to adapt
Choose the lowest-cost stable candidate meeting the actual service constraint, then validate its observed performance and revisit the model if assumptions fail.
When to use another approach
Use an M/G/1 or other queue where appropriate; use discrete-event simulation for downtime, opening queues, priorities, finite buffers or multiple interacting stages.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import factorial
arrival, service_rate = 48, 15
options = []
for stations in range(1,13):
rho = arrival / (stations*service_rate)
if rho >= 1:
continue
load = arrival / service_rate
tail = load**stations / (factorial(stations)*(1-rho))
normalizer = sum(load**k/factorial(k) for k in range(stations)) + tail
p_wait = tail / normalizer
wait_hours = p_wait / (stations*service_rate-arrival)
queued = arrival*wait_hours
cost = stations*95 + queued*60
if stations == 4:
print("Current wait minutes:",round(60*wait_hours,6))
print("Current model cost: R",round(cost,2))
if 60*wait_hours <= 5:
options.append((cost,stations,60*wait_hours))
best = min(options)
print("Lowest feasible cost stations:",best[1])
print("Selected wait minutes:",round(best[2],6))
print("Selected model cost: R",round(best[0],2))
Recorded output
Current wait minutes: 2.982162
Current model cost: R 523.14
Lowest feasible cost stations: 5
Selected wait minutes: 0.641234
Selected model cost: R 505.78
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 44 / Operations & risk
Throughput, work in progress and Little’s law
Little’s law connects average work in progress, throughput and elapsed time for a consistently defined operating system. Paired with production accounting, it helps managers distinguish useful completed output from activity and partially finished work.
How do output rate, jobs in the system and delivery time relate?
Translate average work in progress into an implied end-to-end lead time.
Check whether a capacity or inventory-reduction proposal is consistent with the desired output rate.
How the method works
Define the boundary before applying the formula. A workshop may include all jobs from released order to accepted completion, whereas a queue study may include only jobs waiting before service. Count the same type of job in work in progress and throughput, and measure elapsed time across that same boundary. Mixing queued orders with total completion time breaks the relationship.
For a flow-conserving, sufficiently steady system with finite long-run averages, average jobs in the system equal throughput multiplied by average time in the system. The relation does not require Poisson arrivals or exponential service. It is an accounting identity about averages under its conditions, rather than a formula that predicts how every operational change will affect waiting.
Production effectiveness supplies a complementary lens. Availability, performance and first-pass quality explain the gap between planned ideal output and accepted units. A high utilisation of a non-limiting machine can create more work in progress without more accepted deliveries. Improving overall flow therefore requires examining the limiting process, rework and release policy, not maximising every local activity measure.
Long-run average jobs inside the stated system boundary.
lambda
Completed throughput per unit time under a consistent flow definition.
W
Average elapsed time spent inside that boundary, in the matching time unit.
A worked business example
ILLUSTRATIVE SCENARIO
Two illustrative checks concern a workshop’s order flow and a packaging shift’s production accounting.
Inputs
Workshop: average WIP 30 jobs and accepted throughput 12 jobs per hour.
Packaging: planned production 480 minutes, stop time 45 minutes, ideal cycle 3 seconds, 8,000 total units and 7,840 first-pass accepted units.
Work through the numbers
For the workshop, mean elapsed time W = 30 / 12 = 2.5 hours per job.
A target of 15 completed jobs per hour at the same average WIP would be consistent with W = 30/15 = 2 hours; the formula alone does not show how to achieve it.
Packaging run time = 480−45 = 435 minutes; availability = 435/480 = 90.625%.
The workshop averages 2.5 hours within the chosen boundary; the packaging shift delivers 980 accepted units per planned hour.
These are different operational measures. Little’s law does not diagnose the cause of a delay, and OEE does not establish whether producing more units is commercially useful.
Apply it at work
Define the start and completion boundary, units, observation period and treatment of rework or cancellations.
Collect representative WIP snapshots, completion counts and elapsed job times using matching definitions.
Check whether the averages are consistent and whether backlog growth or changing demand undermines a steady-state interpretation.
Trial a flow improvement and monitor accepted deliveries, end-to-end time, WIP, quality and cost together.
Check these assumptions
The selected boundary has consistent flow accounting; exits and throughput are defined compatibly.
Long-run averages are meaningful, finite and measured over a sufficiently representative period.
Time and count units match across every term in the relationship.
The OEE illustration uses a validated ideal cycle, a common product definition and counts from the same planned production window.
Common mistakes and how to avoid them
A growing backlog cannot be hidden by applying a steady-looking ratio to a short, convenient period.
A time-in-queue measure must be paired with queued WIP rather than all jobs in service and waiting.
Performance above 100% signals inconsistent cycle or count inputs; it is not an effectiveness achievement.
How this can help the business
Managers can make a delivery-time target concrete by examining the WIP and throughput required to support it.
Combining flow and accepted-output measures reduces the temptation to reward busy equipment while customer orders wait unfinished.
A decision rule to adapt
Adopt a flow change when accepted end-to-end delivery improves at a sustainable cost, with WIP and elapsed time measured under the same consistent boundary.
When to use another approach
Use time-varying flow accounting or discrete-event simulation for opening backlogs, rapid demand shifts, complex rework routes or insufficient steady-state observation.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
wip, throughput = 30, 12
print("Average lead time hours:",wip/throughput)
planned, stops = 480, 45
cycle, total, good = 3, 8000, 7840
availability = (planned-stops)/planned
performance = total*cycle/((planned-stops)*60)
quality = good/total
oee = availability*performance*quality
print("Availability %:",round(100*availability,3))
print("Performance %:",round(100*performance,3))
print("Quality %:",round(100*quality,3))
print("OEE %:",round(100*oee,3))
print("Accepted units per planned hour:",good/(planned/60))
Recorded output
Average lead time hours: 2.5
Availability %: 90.625
Performance %: 91.954
Quality %: 98.0
OEE %: 81.667
Accepted units per planned hour: 980.0
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 45 / Operations & risk
Inventory: EOQ, reorder points and safety stock
Inventory models separate the quantity decision from the reorder trigger. Economic order quantity balances ordering and holding costs under a simple operating model; a reorder point can add protection against uncertain demand during replenishment lead time.
How much should be ordered, and when should a replenishment order be released?
Set a transparent replenishment policy for a regularly consumed spare part or packaging material.
Explore the cost and stock consequences of a chosen cycle-service target.
How the method works
In the basic EOQ model, ordering a larger batch reduces the number of orders per year but increases average cycle stock. Relevant annual ordering cost is demand divided by order quantity times cost per order. Relevant cycle-stock holding cost is half the order quantity times annual holding cost per unit. Minimising their sum gives the EOQ; purchase cost is excluded only when unit price does not change with quantity.
A reorder point answers a different question: release replenishment when inventory position reaches expected demand during lead time plus safety stock. Inventory position includes stock on hand plus stock on order minus backorders, so repeatedly ordering merely because on-hand stock is low can create excess replenishment.
With fixed lead time and independent daily demand, lead-time demand has mean equal to daily mean times lead-time days and standard deviation equal to daily standard deviation times the square root of days. A normal quantile then targets the probability of avoiding a stockout during a replenishment cycle. This cycle-service probability is not the same as the percentage of demand filled immediately. Variable lead time, intermittent demand, minimum-order quantities and perishability need adjusted policies.
The calculation
EOQ = sqrt(2 D K/h); safety_stock = z sigma_d sqrt(L); reorder_point = mean_d L + safety_stock.
Read the symbols
Symbol
Meaning
D, K, h
Annual demand, cost per replenishment order and annual holding cost per unit.
mean_d, sigma_d
Daily demand mean and standard deviation, estimated from relevant demand rather than censored sales alone.
L, z
Fixed lead time in days and standard normal quantile for the chosen cycle-service target.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative industrial consumable: demand is regular enough for an EOQ and normal lead-time approximation.
Inputs
12,000 units per year over 250 operating days; R200 per order and R20 annual holding cost per unit.
Daily mean 48 units; daily standard deviation 10 units; fixed lead time 5 operating days.
Chosen cycle-service target 95%, giving z = 1.644854.
Work through the numbers
EOQ = sqrt(2 × 12,000 × 200 / 20) = 489.897949 units, suggesting a feasible batch near 490.
Mean lead-time demand = 48 × 5 = 240 units.
Lead-time standard deviation = 10 × sqrt(5) = 22.360680 units.
Continuous reorder point = 276.780045 units; rounding upwards gives a whole-unit trigger of 277.
The illustrative policy is approximately 490 units per order with a reorder trigger near inventory position 277.
The values follow the entered cost horizon and demand model. They are not an assurance that 95% of all individual unit demand will be filled without delay.
Apply it at work
Collect uncensored demand, operating-day lead times, order costs, holding costs and physical ordering constraints.
Check whether demand is regular, lead time is stable and the EOQ cost structure is a reasonable approximation.
Choose a service metric, estimate the lead-time demand distribution and simulate feasible batch and trigger choices.
Pilot the policy and monitor stockouts, fill rate, cycle service, obsolete stock, cash tied up and ordering effort.
Check these assumptions
The EOQ illustration assumes steady known annual demand, instantaneous full replenishment and no quantity price discount.
Ordering and holding costs use a consistent annual horizon and represent relevant incremental costs.
The safety-stock calculation assumes fixed lead time, independent daily demand and a suitable normal approximation.
The service target is cycle service, and inventory position is accurately recorded.
Common mistakes and how to avoid them
Mixing monthly demand with annual holding cost produces an incorrect quantity even when the formula is entered correctly.
Sales during stockouts can understate true demand and make a low reorder point appear justified.
A normal fixed-lead-time formula can badly misrepresent intermittent demand or highly variable supplier delays.
How this can help the business
A stated cost-and-service policy can make replenishment decisions reviewable rather than dependent on arbitrary stock buffers.
Sensitivity to lead time and demand variability can reveal whether supplier reliability deserves attention alongside warehouse stock.
A decision rule to adapt
Choose feasible batch and trigger values that meet the explicitly chosen service measure at acceptable total inventory cost, then validate them on out-of-sample demand and actual lead times.
When to use another approach
Use empirical lead-time demand simulation, intermittent-demand methods or a newsvendor model for different demand, lead-time or single-period conditions.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import sqrt, ceil
from scipy.stats import norm
annual_demand, order_cost, annual_holding = 12000, 200, 20
eoq = sqrt(2*annual_demand*order_cost/annual_holding)
daily_mean, daily_sd, lead_days = 48, 10, 5
z = norm.ppf(0.95)
safety_stock = z*daily_sd*sqrt(lead_days)
reorder_point = daily_mean*lead_days+safety_stock
print("EOQ units:",round(eoq,3))
print("Safety stock units:",round(safety_stock,3))
print("Whole-unit reorder trigger:",ceil(reorder_point))
print("Target metric: 95% cycle service under the model")
Recorded output
EOQ units: 489.898
Safety stock units: 36.78
Whole-unit reorder trigger: 277
Target metric: 95% cycle service under the model
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 46 / Operations & risk
Product mix with resource and demand constraints
Product-mix optimisation is operations research rather than a statistical significance test. It translates a business objective and resource limits into an explicit model, then searches for the best feasible plan within those assumptions.
Which feasible product quantities produce the greatest contribution in the planning period?
Allocate scarce machine and labour time across products with different contribution and processing requirements.
Compare a capacity, demand or margin scenario before committing to a production plan.
How the method works
The objective sums the contribution from the selected quantities. Contribution is selling revenue less variable cost, before fixed costs; it is not net profit. Each resource adds a constraint linking resource use per unit or batch to available capacity. Demand limits prevent the model from creating an apparently profitable plan for quantities the business cannot sell.
A linear programme permits fractional decision variables. That may be appropriate for divisible material but is often wrong for whole batches. Integer restrictions change the feasible set and can change the best plan. The small illustration can be solved exactly by checking every feasible pair; larger models require a suitable integer-programming solver and attention to its feasibility and optimality diagnostics.
The answer is only as useful as the model boundary. Available hours should account for expected downtime and other commitments. Setup times, sequencing, minimum orders, working capital and uncertain demand can matter. Changing one input to find a new optimum is scenario analysis, not evidence that the assumed input will occur. Recheck the plan against real scheduling constraints before release.
The calculation
Maximise margin_A A + margin_B B subject to 2A+B ≤ machine_hours, A+2B ≤ labour_hours, 0 ≤ A ≤ demand_A, 0 ≤ B ≤ demand_B, with integer A and B.
Read the symbols
Symbol
Meaning
A, B
Whole batches of the two products in the same planning period.
margin_A, margin_B
Contribution per batch after variable costs, before fixed costs.
Resource coefficients
Machine and labour hours used per batch; different resources have separate constraints.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative workshop: two products compete for the same available machine and labour budgets.
Inputs
Product A: R300 contribution, 2 machine hours and 1 labour hour per batch; maximum demand 40.
Product B: R250 contribution, 1 machine hour and 2 labour hours per batch; maximum demand 50.
Available machine and labour budgets: 100 hours each.
Work through the numbers
A fractional intersection solves 2A+B = 100 and A+2B = 100, giving A = B = 33.333333.
The fractional contribution is R18,333.33, but thirds of a batch are not permitted.
Checking whole-number feasible plans gives A = 34 and B = 32.
Resource use is 2 × 34 + 32 = 100 machine hours and 34 + 2 × 32 = 98 labour hours.
Contribution is 34 × R300 + 32 × R250 = R18,200. The best single-product plan contributes max(40 × R300, 50 × R250) = R12,500.
An optimal integer plan is 34 A batches and 32 B batches, contributing R18,200 before fixed costs.
The R5,700 improvement over the best single-product plan is a model comparison. Its delivery depends on the specified times, margins, demand and omitted operational details.
Apply it at work
Define the planning horizon, objective and whether quantities are divisible, integer or subject to minimum batches.
Measure contributions, resource requirements, available capacity and credible sellable-demand limits.
Solve the model, inspect feasibility and compare it with a transparent baseline and sensitivity scenarios.
Translate the candidate into an executable schedule and verify quality, working capital, delivery and actual contribution.
Check these assumptions
Resource use and contribution per batch are constant over the illustrated planning range.
Available machine and labour hours are separate, accurate budgets for the same period.
Every selected batch can be sold within the stated demand limits.
The example excludes setups, sequencing, uncertain processing times, overtime and working-capital constraints.
Common mistakes and how to avoid them
Rounding a fractional solution independently can make a plan infeasible or miss a better integer plan.
Optimising revenue instead of contribution can favour products with large variable costs.
Ignoring demand ceilings or already committed capacity creates an optimum that the business cannot actually execute.
How this can help the business
Explicit constraints make product-selection trade-offs visible and allow reviewers to challenge the assumed bottleneck.
An exact small example teaches why a high margin alone does not determine the best use of several scarce resources.
A decision rule to adapt
Choose a feasible plan that meets all material operating constraints and improves the stated objective over the baseline; verify its executable schedule and sensitivity before committing.
When to use another approach
Use mixed-integer programming for setups and minimum quantities, robust or stochastic optimisation for uncertainty, and scheduling models for sequence-dependent operations.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
best_contribution = -1
best_a, best_b = 0, 0
for a in range(41):
for b in range(51):
if 2*a+b <= 100 and a+2*b <= 100:
contribution = 300*a+250*b
if contribution > best_contribution:
best_contribution = contribution
best_a, best_b = a, b
print("Optimal whole batches A and B:",best_a,best_b)
print("Machine hours:",2*best_a+best_b)
print("Labour hours:",best_a+2*best_b)
print("Contribution: R",best_contribution)
print("Improvement over best single product: R",best_contribution-12500)
Recorded output
Optimal whole batches A and B: 34 32
Machine hours: 100
Labour hours: 98
Contribution: R 18200
Improvement over best single product: R 5700
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 47 / Operations & risk
Monte Carlo simulation and decision risk
Monte Carlo simulation repeatedly samples uncertain inputs and calculates the resulting business outcomes. It exposes a distribution of results and decision trade-offs that a single average-input forecast can conceal.
How wide is the range of plausible outcomes under explicit uncertain inputs?
Explore the probability and size of an operating loss under a specified demand and cost model.
Compare competing policies using the same underlying demand scenarios to isolate their modelled differences.
How the method works
Start with a transparent business calculation and identify which inputs vary. Choose distributions, dependence and parameter values from defensible information, then generate many scenarios. For each scenario, apply the same accounting and operating logic. The collection can estimate an expected result, selected percentiles, probability of a loss and other decision measures under that model.
Simulation error is different from uncertainty about the real business. Increasing the number of replications reduces the random numerical error in estimated model averages; it does not repair an unrealistic demand distribution, biased parameter estimate or omitted response. For independent simulated outcomes, the estimated Monte Carlo standard error of a mean is sample standard deviation divided by the square root of replications.
Compare policies with common random numbers when the same underlying scenario meaningfully applies to both. Calculate each scenario’s paired policy difference, then estimate its mean and standard error. Reproducible random seeds make development and review easier. Scenario percentiles are conditional on modelling assumptions, not automatic confidence intervals for a real-world causal effect.
Policy B: variable cost R58 and fixed cost R210,000, with the same price and demand.
Demand is a normal draw with mean 5,000 and standard deviation 800, rounded to a non-negative whole number; use 100,000 draws and seed 42.
Work through the numbers
At exactly 5,000 units, Policy A profit is (100−60) × 5,000−200,000 = R0.
The scenario-level policy difference is 2 × demand−10,000, so it is also zero at 5,000 units.
Ignoring negligible lower-tail truncation and small rounding effects, Policy A profit standard deviation is 40 × 800 = R32,000.
With 100,000 independent scenarios, the expected scale of MCSE for Policy A’s mean is R32,000/sqrt(100,000) ≈ R101.19.
The paired-difference standard deviation is about 2 × 800 = R1,600, giving an MCSE near R5.06. The code calculates the seeded sample results directly.
The seeded 100,000-run sample gives Policy A mean −R135.50, loss probability 50.359% and mean MCSE R101.57. Its mean paired B−A difference is −R6.78 with MCSE R5.08; these are simulated sample estimates, not exact model expectations.
Both policies have approximately zero expected profit under the specified symmetric demand model, but their loss probabilities, spreads and paired differences remain visible.
The seeded results illustrate numerical sampling variation around approximately zero model expectations. A small policy difference may be numerical noise or assumption sensitivity. Neither policy is assumed to change demand, and that assumption is not established by the simulation.
Apply it at work
Write and validate the single-scenario business calculation before adding randomness.
Run reproducible scenarios, use paired comparisons where valid and report MC standard errors alongside risk measures.
Test alternative plausible assumptions and compare against data or a pilot before treating the simulation as decision evidence.
Check these assumptions
The scenario generator is a plausible representation of uncertainty for the question being asked.
Replications used in the simple MCSE calculation are independent across scenarios.
The two policies can meaningfully share the same demand draw in the paired comparison.
No unmodelled feedback, capacity cap or accounting inconsistency changes how the policies translate demand into profit.
Common mistakes and how to avoid them
One hundred thousand replications do not make invented input assumptions empirically true.
Independent policy runs can waste precision when a meaningful paired comparison is available.
A modelled loss percentile is not automatically a frequentist confidence bound for an actual company’s future loss.
How this can help the business
A risk distribution can reveal downside exposure and break-even sensitivity hidden by a favourable average scenario.
Reporting numerical precision helps a manager distinguish a stable simulated comparison from a result needing more runs or a better model.
A decision rule to adapt
Prefer a policy only when its modelled advantage is meaningful relative to numerical error, downside risk, implementation cost and uncertainty in the assumptions; seek external validation.
When to use another approach
Use deterministic scenarios for transparent early exploration, discrete-event simulation for process interactions, or robust optimisation when probabilities cannot be defended.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
rng = np.random.default_rng(42)
n = 100000
demand = np.maximum(0,np.rint(rng.normal(5000,800,n)))
profit_a = (100-60)*demand-200000
profit_b = (100-58)*demand-210000
difference = profit_b-profit_a
print("Policy A mean profit: R",round(profit_a.mean(),2))
print("Policy A loss probability %:",round(100*np.mean(profit_a<0),3))
print("Policy A profit 5th/95th percentiles:",np.round(np.quantile(profit_a,[0.05,0.95]),2).tolist())
print("Policy A mean MCSE: R",round(profit_a.std(ddof=1)/np.sqrt(n),2))
print("Mean paired B minus A: R",round(difference.mean(),2))
print("Paired-difference MCSE: R",round(difference.std(ddof=1)/np.sqrt(n),2))
Recorded output
Policy A mean profit: R -135.5
Policy A loss probability %: 50.359
Policy A profit 5th/95th percentiles: [-53080.0, 52680.0]
Policy A mean MCSE: R 101.57
Mean paired B minus A: R -6.78
Paired-difference MCSE: R 5.08
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 48 / Operations & risk
Sensitivity, scenario analysis and break-even assumptions
Sensitivity analysis varies a specified input while holding other inputs fixed. Scenario analysis changes a coherent set of inputs together. Both are quantitative decision tools that make model dependence visible without pretending that an unassigned scenario has a known probability.
Which assumptions could change the decision, and by how much?
Identify which demand, cost or service assumption most deserves better measurement.
Compare a base case, a plausible stress case and operational responses before approving a plan.
How the method works
A calculation can be arithmetically precise and commercially fragile. One-at-a-time sensitivity changes an input across a declared range, recalculates the outcome and ranks the resulting changes. The size of each range matters: a variable appears important partly because the analyst allowed it to move more. Use meaningful units and justify the ranges, rather than treating a standard ±10% convention as evidence.
A scenario joins assumptions that could occur together. Lower demand and higher input prices, for example, may expose a plan to a loss that separate one-variable views do not show. Scenario labels such as optimistic or adverse do not assign probability. If the assumptions are correlated, changing them independently may create combinations that are implausible or omit important stress combinations.
Break-even analysis can invert the business calculation to find the demand, margin or cost at which the decision changes. This is often more useful than asking whether the base case is positive. The resulting threshold should be compared with credible data and implementation flexibility. Where distributions can be defended, Monte Carlo can add probability estimates; where they cannot, transparent scenarios may be the more honest description.
The calculation
Modelled operating result = (P − V) × Q − F; demand break-even Q* = F/(P − V) when P > V; sensitivity change = outcome at changed input − base outcome.
Read the symbols
Symbol
Meaning
P, V
Selling price and variable cost per unit.
Q, F
Sold quantity and fixed operating cost over the same period.
Scenario
A specified joint set of input values, not an automatic probability forecast.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative product line: a manager tests whether the planned demand and input costs leave enough operating result.
Inputs
Base price R120, variable cost R70, quantity 5,000 and fixed operating cost R180,000.
Demand sensitivities: 4,000 and 6,000 units.
Variable-cost sensitivities: R63 and R77 per unit.
Combined stress: 4,000 units and R77 variable cost.
Work through the numbers
Base contribution = (120−70) × 5,000−180,000 = R70,000.
At 4,000 and 6,000 units with other inputs unchanged, results are R20,000 and R120,000.
At variable costs R63 and R77 with base demand, results are R105,000 and R35,000.
Base contribution per unit is R50, so demand break-even is 180,000/50 = 3,600 units.
The isolated sensitivities remain positive, but the combined stress produces an R8,000 modelled loss.
This demonstrates why joint assumptions matter. It says nothing about the probability of that stress without additional evidence and a probability model.
Apply it at work
Define the decision, accounting horizon, base inputs and threshold that would change the action.
Choose justified input ranges and explain which variables are held constant in each sensitivity.
Build coherent joint scenarios and calculate relevant break-even thresholds or switching values.
Prioritise better data, a limited commitment or an operational contingency where the decision is most assumption-sensitive.
Check these assumptions
The underlying business calculation includes the material costs and constraints for the chosen decision.
Input changes and any fixed variables are explicitly stated rather than silently mixed.
Scenario combinations are operationally possible and share the same accounting period.
No probability interpretation is attached unless a defensible probability model is added.
Common mistakes and how to avoid them
A tornado ranking is conditional on chosen input ranges, not a universal ranking of business importance.
Changing price while holding quantity fixed may be inappropriate where customer response is material.
A base case and a stress case alone do not estimate an expected outcome or confidence interval.
How this can help the business
Managers can direct investigation toward assumptions capable of reversing a decision rather than polishing immaterial details.
Joint stress cases can support a staged pilot, reserve capacity or cash contingency before a larger commitment.
A decision rule to adapt
Proceed when the plan remains acceptable across relevant assumptions or a credible response protects the downside; investigate assumptions near a decision-switching threshold.
When to use another approach
Use probabilistic simulation when distributions and dependence can be defended, or robust optimisation when a formal worst-case protection objective is appropriate.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
price, cost, quantity, fixed = 120,70,5000,180000
base = (price-cost)*quantity-fixed
print("Base operating result: R",base)
for q in [4000,6000]:
print("Demand",q,"contribution: R",(price-cost)*q-fixed)
for v in [63,77]:
print("Variable cost",v,"contribution: R",(price-v)*quantity-fixed)
print("Combined stress contribution: R",(price-77)*4000-fixed)
print("Base demand break-even:",fixed/(price-cost),"units")
Recorded output
Base operating result: R 70000
Demand 4000 contribution: R 20000
Demand 6000 contribution: R 120000
Variable cost 63 contribution: R 105000
Variable cost 77 contribution: R 35000
Combined stress contribution: R -8000
Base demand break-even: 3600.0 units
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 49 / Decision analytics
Difference-in-differences for business interventions
Difference-in-differences compares changes in an intervention group with changes in a suitable comparison group. It can support a causal interpretation only when the counterfactual assumptions and study design are credible.
Did a business change improve the outcome beyond the change that would otherwise have occurred?
Evaluate a phased training, scheduling or service-policy introduction across comparable sites.
Avoid attributing a general market improvement entirely to a local intervention.
How the method works
A before-and-after comparison mixes the intervention effect with everything else changing over time. DiD subtracts the comparison group’s change from the intervention group’s change. Persistent differences in starting levels are allowed in the simple additive setup; what matters is how the treated group would have changed without the intervention.
The central identifying assumption is parallel counterfactual trends: absent intervention, the treated and comparison groups would have had the same average change in the outcome under the chosen scale and conditioning. No anticipation, no relevant spillovers and a comparable measurement process also matter. Examine multiple pre-intervention periods and the business reasons for selection, but a non-significant pre-trend test does not prove the assumption.
The four-mean example teaches the point estimator only. It cannot supply a credible standard error, significance claim or causal proof from four aggregated numbers. A real panel study needs an appropriate uncertainty calculation, often clustered at the intervention-assignment level. Staggered adoption, changing composition and heterogeneous effects need suitable modern DiD methods rather than uncritical use of a single two-way fixed-effects coefficient.
The calculation
DiD = (mean_treated_after−mean_treated_before) − (mean_comparison_after−mean_comparison_before).
Read the symbols
Symbol
Meaning
Treated group
Business units exposed to the intervention in the study period.
Comparison group
Units used to represent the counterfactual change without the intervention.
Parallel counterfactual trends
An identifying assumption about what would have happened without treatment, not a directly observed post-treatment trend.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative service-policy evaluation: two branches report comparable accepted jobs per week before and after one changes its process.
Inputs
Treated branch mean: 80 before and 100 after.
Comparison branch mean: 70 before and 80 after.
These are illustrative aggregates; no underlying panel or assignment study is supplied.
Work through the numbers
Treated change = 100−80 = 20 jobs per week.
Comparison change = 80−70 = 10 jobs per week.
DiD point estimate = 20−10 = 10 jobs per week.
Under additive parallel trends, the treated branch’s no-intervention counterfactual would be 80+10 = 90.
The observed treated outcome 100 exceeds that counterfactual by 10. A naive before/after comparison attributes the full 20 to the intervention.
The illustrative DiD point estimate is an additional 10 accepted jobs per week.
This becomes a causal effect estimate only if the identifying assumptions are defended. Different demand, simultaneous equipment changes or selective staffing could explain the difference instead.
Apply it at work
Specify the outcome, treatment timing, assignment process and reasons the comparison units are credible.
Collect multiple periods before and after, with comparable definitions, unit identifiers and records of other changes.
Choose an estimator suited to adoption timing and heterogeneity; calculate uncertainty at a defensible assignment or dependence level.
Examine sensitivity to assumptions, pre-period patterns, spillovers and composition before translating the estimate into a rollout decision.
Check these assumptions
Parallel untreated trends are plausible under the stated design and outcome scale.
Treatment does not change outcomes before its defined introduction.
Comparison units are not materially affected by spillovers or treatment-related resource reallocations.
Measurement, composition and concurrent changes do not create an unexplained differential trend.
Common mistakes and how to avoid them
Failure to detect a pre-trend is not proof of parallel trends, especially with low statistical power.
Four summary means provide a point estimate but do not justify an invented p-value or confidence interval.
Conventional two-way fixed effects can be misleading with staggered adoption and heterogeneous treatment effects.
How this can help the business
A credible comparison can prevent general demand recovery from being mistaken for success of a management practice.
An explicit causal design supports better pilot placement and measurement before a costly company-wide rollout.
A decision rule to adapt
Consider expansion only when the effect is practically worthwhile, uncertainty and identifying assumptions are credible, and full costs and quality guardrails support the decision.
When to use another approach
Prefer a randomised phased rollout when feasible; consider interrupted time series, synthetic comparisons or other justified causal designs when DiD assumptions are weak.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
treated_before, treated_after = 80,100
comparison_before, comparison_after = 70,80
treated_change = treated_after-treated_before
comparison_change = comparison_after-comparison_before
did = treated_change-comparison_change
counterfactual = treated_before+comparison_change
print("Treated change:",treated_change,"jobs per week")
print("Comparison change:",comparison_change,"jobs per week")
print("DiD point estimate:",did,"jobs per week")
print("Assumed treated counterfactual:",counterfactual)
print("No p-value: four means do not supply valid uncertainty.")
Recorded output
Treated change: 20 jobs per week
Comparison change: 10 jobs per week
DiD point estimate: 10 jobs per week
Assumed treated counterfactual: 90
No p-value: four means do not supply valid uncertainty.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 50 / Decision analytics
Markov chains for customer and operating states
A Markov chain tracks movement among defined states using a transition matrix. It gives a structured scenario for retention, risk status or equipment condition while exposing its memory and transition-stability assumptions.
How might the numbers of customers or assets in different states evolve under stated transition probabilities?
Project a fixed customer cohort across active, at-risk and lost states.
Explore a policy scenario that changes a specific transition while recognising that the assumed transition change needs evidence.
How the method works
Choose mutually exclusive, collectively exhaustive states and a time interval. Each row of the transition matrix gives probabilities of moving from its current state to every possible next state and must sum to one. The Markov assumption says that, after conditioning on the current state, earlier history adds no predictive information for the next transition.
Multiply the current row vector of state counts by the matrix to obtain next-period expected counts. Repeated multiplication gives multi-period scenarios when the matrix is held constant. Fractional counts are expectations across possible cohorts, not literal fractional customers. New acquisitions need to be added explicitly rather than silently appearing in a fixed-cohort model.
An absorbing state cannot be left once entered. Making lost customers permanently lost changes long-run behaviour compared with a model allowing reactivation. Not every matrix has one meaningful, unique convergent steady state. Estimate transitions on suitable longitudinal data and validate them on later periods. Duration in state, seasonality or changed policies can invalidate a simple memoryless homogeneous chain.
The calculation
expected_counts_(t+1) = expected_counts_t P; expected_counts_t = expected_counts_0 P^t when P is constant.
Read the symbols
Symbol
Meaning
P_ij
Conditional probability of moving from current state i to next-period state j.
State-count vector
Expected numbers in each state, written as a row vector in this example.
Absorbing state
A state with probability one of remaining in itself once reached.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative customer cohort with active, at-risk and lost states and no new acquisitions during a two-month scenario.
Inputs
Initial counts: 800 active, 150 at risk and 50 lost.
Active transition row: 0.80, 0.15, 0.05. At-risk row: 0.30, 0.50, 0.20. Lost row: 0, 0, 1.
Illustrative monthly contributions: R100 per active customer, R40 per at-risk customer and zero per lost customer.
Work through the numbers
Month-1 active = 800 × 0.80 + 150 × 0.30 = 685.
Month-1 at risk = 800 × 0.15 + 150 × 0.50 = 195; lost = 40+30+50 = 120.
Month-2 active = 685 × 0.80 + 195 × 0.30 = 606.5.
Month-2 at risk = 685 × 0.15 + 195 × 0.50 = 200.25; lost = 193.25.
The fixed-cohort scenario moves from 800 active customers to an expected 606.5 active after two periods.
The path is conditional on the supplied matrix and absorbing lost state. It does not show that a company will follow this path or that an intervention can achieve different transitions.
Apply it at work
Define states, event timing and the observation interval using reliable customer or asset records.
Estimate transition rows from relevant longitudinal data and examine sparse states, duration and history effects.
Check row sums, compare multi-period scenarios and validate predictions on a later period.
Test proposed transition changes with a credible intervention study, including costs and possible side effects.
Check these assumptions
Current state captures the history relevant to the next transition for this approximation.
Transition probabilities remain sufficiently stable over the horizon or are explicitly time-varying.
All material states and acquisition, reactivation or exit mechanisms are represented.
Customers or assets have comparable transitions within states, or heterogeneity is modelled separately.
Common mistakes and how to avoid them
A cohort projection is not a full customer-base forecast when acquisition and reactivation are omitted.
Long-run interpretations require matrix-specific conditions; convergence cannot be assumed for every chain.
Descriptive transition probabilities do not identify the causal effect of a management intervention.
How this can help the business
The model exposes which deterioration or recovery transition drives the scenario and deserves better measurement.
State definitions can improve tracking and connect customer counts to contribution, workload or service demand.
A decision rule to adapt
Use a transition scenario when states and probabilities validate adequately for the horizon; base intervention decisions on evidence about achievable transition changes and their cost.
When to use another approach
Use survival or duration models when time in state matters, hidden-state models for imperfect observation, or simulation for more complex histories.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
import numpy as np
transition = np.array([[0.8,0.15,0.05],[0.3,0.5,0.2],[0,0,1]])
counts = np.array([800.0,150.0,50.0])
margin = np.array([100,40,0])
assert np.allclose(transition.sum(axis=1),1)
for month in [1,2]:
counts = counts @ transition
print("Month",month,"active/at-risk/lost:",np.round(counts,3).tolist())
print("Expected contribution: R",round(counts @ margin,2))
print("Lost is absorbing; this model includes no new customers.")
Recorded output
Month 1 active/at-risk/lost: [685.0, 195.0, 120.0]
Expected contribution: R 76300.0
Month 2 active/at-risk/lost: [606.5, 200.25, 193.25]
Expected contribution: R 68660.0
Lost is absorbing; this model includes no new customers.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 51 / Commercial analytics
Retention, cohorts and customer lifetime value
Customer lifetime value combines future relationship persistence with contribution and discounting. It supports an economic comparison of acquisition or retention proposals when margin, horizon, survival definition and cash timing are unambiguous.
What future contribution could a customer relationship support under explicit retention and timing assumptions?
Compare acquisition cost with a scenario for future contribution after variable service costs.
Examine how cohort retention patterns change the value case for customer-service or retention work.
How the method works
A cohort groups customers by a start event and follows their status using a consistent eligible denominator. Contractual retention usually means remaining active at renewal. In non-contractual purchasing, an absence of buying does not prove permanent churn. Different definitions can produce different-looking retention figures without a change in the underlying business performance.
The simplified model assumes a constant probability r of surviving each period and contribution m if active at its end. A customer active now contributes in future period t with probability r raised to t. Discount each expected contribution to the current time and sum over a stated finite horizon. This convention excludes immediate current-period contribution; different payment timing needs a different formula.
Subtract acquisition cost when evaluating a new acquisition, but do not subtract an already incurred cost again when valuing an existing relationship’s remaining contribution. One retention rate can hide heterogeneity and changing cohort survival. Retention spending itself changes costs and may not change behaviour. A customer likely to remain anyway is not automatically the best person to target with an expensive intervention.
The calculation
Future-horizon CLV = sum_(t=1)^T [m r^t /(1+d)^t] − CAC; period retention = retained eligible customers / eligible customers at period start.
Read the symbols
Symbol
Meaning
m
Contribution per active customer at a future period end, after relevant variable fulfilment costs.
r, d
Per-period retention probability and discount rate using the same time unit.
T, CAC
Finite future horizon and acquisition cost included for the stated current decision.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative annual subscription: a new acquisition is evaluated using future contribution only.
Inputs
R120 contribution per active customer at each future year end.
Continue through year 5 using the same survival and discount convention.
The five future discounted contributions total R254.891680.
Subtract R150 acquisition cost to obtain R104.891680. For an existing customer whose acquisition cost is sunk, remaining value under these assumptions is R254.891680.
The new-acquisition scenario has R104.89 in expected discounted contribution after the specified acquisition cost.
This is a finite-horizon model conditional on constant retention and margin, not realised customer value, revenue or a guarantee that retention spending will pay.
Apply it at work
Define active status, cohort entry, eligible denominators, contribution and cash timing.
Estimate cohort-specific retention and contribution from relevant histories and adequate follow-up.
Calculate a stated-horizon value with consistent discounting, then test alternative retention and margin assumptions.
Evaluate interventions on incremental behaviour, intervention cost, capacity and contribution rather than propensity alone.
Check these assumptions
The example has constant homogeneous retention and contribution for five future periods.
Retention and discount rates use the same annual unit and stated year-end cash convention.
Contribution excludes variable costs; acquisition cost is neither omitted nor double-counted.
Referrals, expansion, reactivation and intervention effects are omitted unless explicitly added.
Common mistakes and how to avoid them
Sales revenue instead of contribution overstates the amount available to acquire or retain customers.
A single average retention rate can misrepresent heterogeneous customers and later cohort survival.
High predicted loyalty does not establish high incremental response to an offer.
How this can help the business
A transparent CLV convention makes acquisition-cost limits and service economics comparable across proposals.
Cohort tracking reveals when broad averages hide different customer needs, service costs or persistence.
A decision rule to adapt
Choose a customer investment when credible incremental discounted contribution exceeds full incremental cost, considering sensitivity, capacity and the time needed to measure its effect.
When to use another approach
Use cohort-specific survival or contractual-duration models when retention changes over time; use transaction-based customer models for non-contractual purchasing.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
margin, retention, discount = 120,0.8,0.1
horizon, acquisition_cost = 5,150
present_values = []
for year in range(1,horizon+1):
value = margin*retention**year/(1+discount)**year
present_values.append(value)
future_value = sum(present_values)
print("Future annual present values:",[round(v,4) for v in present_values])
print("Future contribution before acquisition: R",round(future_value,2))
print("CLV after current acquisition cost: R",round(future_value-acquisition_cost,2))
print("Convention: future year-end margin only, no immediate current-period margin.")
Recorded output
Future annual present values: [87.2727, 63.4711, 46.1608, 33.5715, 24.4156]
Future contribution before acquisition: R 254.89
CLV after current acquisition cost: R 104.89
Convention: future year-end margin only, no immediate current-period margin.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 52 / Commercial analytics
Price elasticity, revenue and contribution
Price elasticity expresses quantity responsiveness relative to a price change. It helps structure a pricing analysis, but a descriptive price–sales comparison does not by itself establish the causal customer response to a proposed new price.
How sensitive is demand to price, and what does that mean for contribution rather than revenue alone?
Compare quantity, revenue and contribution implications of a carefully measured pricing change.
Identify where a price test needs stronger causal design, customer segmentation or a wider demand model.
How the method works
Elasticity uses percentage changes so price and quantity responsiveness can be compared across different unit scales. The midpoint or arc method divides each change by the average of its two endpoints. This gives the same arc elasticity when the comparison direction is reversed, unlike using the initial value as the percentage denominator.
The conventional demand elasticity is usually negative when quantity falls as price rises. Its magnitude distinguishes elastic, inelastic and unit-elastic response over the studied interval. This is a local description, not a constant applying to every future price. A positive observed price–sales association may reflect confounding or demand shifts rather than an upward-sloping causal demand curve.
Revenue is price times quantity, while contribution subtracts the variable cost of the units sold. Revenue can fall while contribution rises if the remaining unit margin increases enough. A pricing decision must also consider customer mix, capacity, competitor changes and longer-term relationships. Randomised or otherwise credible price variation and adequate follow-up are preferable to attributing a seasonal sales change entirely to price.
The calculation
Arc elasticity = [(Q2−Q1)/((Q1+Q2)/2)] / [(P2−P1)/((P1+P2)/2)]; revenue = P Q; contribution before fixed costs = (P−V) Q.
Read the symbols
Symbol
Meaning
P1, P2
Prices in two comparable conditions, with a nonzero price change.
Q1, Q2
Corresponding demand quantities over comparable periods and exposure.
V
Relevant variable cost per sold unit; it is constant only in this illustration.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative retail comparison: two prices are associated with different quantities, with no causal assignment information supplied.
Inputs
Condition 1: price R100 and quantity 1,000 units.
Condition 2: price R110 and quantity 850 units.
Variable cost R60 per unit in either condition; fixed costs excluded.
Work through the numbers
Midpoint quantity change = (850−1,000)/925 = −0.1621622, or −16.21622%.
Midpoint price change = (110−100)/105 = 0.0952381, or 9.52381%.
Revenue changes from R100,000 to R93,500, a decline of R6,500.
Contribution changes from (100−60) × 1,000 = R40,000 to (110−60) × 850 = R42,500, an increase of R2,500.
The pair has an elastic descriptive arc response with magnitude about 1.70, while its accounting contribution is higher at the second condition.
The example separates revenue from contribution. It neither proves that price caused the quantity change nor identifies the best price outside the two observations.
Apply it at work
Define the product, customer segment, price, comparable exposure period and relevant variable costs.
Collect credible price variation while documenting promotions, seasonality, competitor changes and stockouts.
Calculate elasticity and full contribution effects, with uncertainty and segment differences where data allow.
Use a controlled limited price test or a justified demand model before applying a broader pricing change.
Check these assumptions
The descriptive comparison uses positive prices and quantities with a nonzero price difference.
Quantities refer to comparable demand exposure rather than differently sized or stocked periods.
The contribution example holds variable cost per unit constant and excludes unchanged fixed costs.
A causal interpretation requires a suitable identification design beyond the two observed pairs.
Common mistakes and how to avoid them
Higher sales in a discount period may reflect promotion or customer composition as well as price.
An arc elasticity over one interval is not a global constant or a standalone profit-maximising formula.
Revenue maximisation and contribution maximisation are different objectives when variable costs matter.
How this can help the business
Showing both quantity and contribution can prevent a revenue-only pricing target from hiding a less attractive margin outcome.
A clear elasticity question can improve price-test design and reveal when segmentation or capacity limits deserve explicit analysis.
A decision rule to adapt
Consider a price change when credible demand-response evidence and full incremental contribution support it, with customer, capacity and quality guardrails and uncertainty made explicit.
When to use another approach
Use a regression demand model with a credible causal design, a controlled price experiment or scenario analysis when observational confounding prevents a reliable elasticity estimate.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
price_1, price_2 = 100,110
quantity_1, quantity_2 = 1000,850
variable_cost = 60
quantity_change = (quantity_2-quantity_1)/((quantity_1+quantity_2)/2)
price_change = (price_2-price_1)/((price_1+price_2)/2)
elasticity = quantity_change/price_change
print("Midpoint quantity change %:",round(100*quantity_change,4))
print("Midpoint price change %:",round(100*price_change,4))
print("Arc elasticity:",round(elasticity,6))
print("Revenue before and after: R",price_1*quantity_1,price_2*quantity_2)
print("Contribution before and after: R",(price_1-variable_cost)*quantity_1,(price_2-variable_cost)*quantity_2)
print("This pair alone does not identify a causal price effect.")
Recorded output
Midpoint quantity change %: -16.2162
Midpoint price change %: 9.5238
Arc elasticity: -1.702703
Revenue before and after: R 100000 93500
Contribution before and after: R 40000 42500
This pair alone does not identify a causal price effect.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 53 / Commercial analytics
Discounted cash flow, NPV and payback
Discounted cash-flow analysis translates future cash flows to a common present-time basis. Net present value and payback are quantitative financial decision measures, not statistical tests or guarantees about the project’s future performance.
Does a proposed business project cover its cost after allowing for cash timing and the stated required return?
Compare an equipment or process proposal with its upfront and continuing incremental cash requirements.
Make the effects of cash timing, discount rate and forecast assumptions visible before committing to a project.
How the method works
Cash arriving in different periods cannot be compared on a one-for-one present-value basis when money has a time value. Discount each future net cash flow using a rate consistent with its time period and risk convention. Sum those present values and subtract current outlays. Include incremental working capital, maintenance, disposal and tax effects where material to the actual decision.
A positive NPV means that the assumed cash-flow stream exceeds its modelled present cost at the stated discount rate. It does not show that the forecasts are correct, that funding is available or that the project is the best feasible use of limited capital. Forecast error, omitted operational risks and alternative opportunities can change the decision.
Simple payback asks how long undiscounted cash inflows take to recover the initial outlay. It is a liquidity-oriented supplementary measure and ignores later cash flows and the time value of money. Fractional-year payback assumes a distribution of cash within a period; the example states that approximation separately from its year-end NPV calculation. Use sensitivity and coherent scenarios instead of treating a single precise NPV as certain.
The calculation
NPV = −initial_outlay + sum_(t=1)^T cash_flow_t /(1+r)^t; simple fractional payback = full years before recovery + unrecovered outlay / next-year cash flow, under a uniform-within-year approximation.
Read the symbols
Symbol
Meaning
cash_flow_t
Incremental net cash flow at the stated period end, not accounting profit.
r
Discount rate per matching period, consistent with the cash-flow basis.
T
Explicit project horizon, including relevant terminal and working-capital cash flows if present.
A worked business example
ILLUSTRATIVE SCENARIO
Illustrative equipment proposal with a current outlay and three future annual net cash inflows.
Inputs
Initial outlay R100,000 at time 0.
Year-end incremental net cash inflows: R40,000, R45,000 and R50,000.
Annual discount rate 10%; no additional terminal, tax or working-capital flows are included in this simplified example.
Work through the numbers
Year-1 present value = R40,000/1.1 = R36,363.636364.
Year-2 present value = R45,000/1.1² = R37,190.082645.
Year-3 present value = R50,000/1.1³ = R37,565.740045.
Undiscounted recovery after year 2 leaves R15,000; assuming uniform inflow within year 3 gives simple payback 2 + 15,000/50,000 = 2.3 years.
The scenario has NPV R11,119.46 at 10%, with approximate simple payback of 2.3 years under the separate timing convention.
The positive modelled NPV supports consideration under these assumptions. It is not evidence that the equipment will achieve those cash flows or that the project automatically meets all business constraints.
Apply it at work
Define the business alternative, horizon and all incremental cash-flow effects, including implementation and working capital.
Choose a defensible discount convention and match nominal or real flows, rates and time units.
Calculate NPV and supplementary liquidity measures, then test material cash-flow and rate assumptions.
Compare feasible alternatives and implementation risks, and track actual cash outcomes against the approved case.
Check these assumptions
The example uses current initial expenditure and end-of-year future inflows.
The discount rate and cash flows use the same annual time unit and nominal/real convention.
Only relevant incremental cash flows belong in the project comparison; sunk costs are treated appropriately.
Forecast distributions, capital constraints and omitted tax or working-capital effects need separate treatment in an actual decision.
Common mistakes and how to avoid them
Accounting profit, including non-cash charges, is not automatically the project’s incremental cash flow.
Simple payback can favour a fast-recovery project while ignoring larger later value or downside.
A positive NPV based on optimistic inputs does not validate those inputs or ensure available funding.
How this can help the business
A common present-value convention makes competing proposals more comparable across different cash-flow timing.
Explicit sensitivity can reveal whether the proposal depends on an uncertain sales forecast, useful life or cost saving before funds are committed.
A decision rule to adapt
Consider a feasible project when its risk-consistent incremental NPV and relevant operating and liquidity constraints are acceptable across credible assumptions; compare alternatives before committing.
When to use another approach
Use scenario or Monte Carlo analysis for uncertain cash flows, capital-budget optimisation for scarce funds, and staged investment analysis when delaying or learning has material value.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
initial_outlay = 100000
cash_flows = [40000,45000,50000]
discount_rate = 0.10
present_values = []
for year, cash in enumerate(cash_flows,start=1):
present_values.append(cash/(1+discount_rate)**year)
npv = sum(present_values)-initial_outlay
print("Future cash-flow present values:",[round(v,2) for v in present_values])
print("NPV at 10%: R",round(npv,2))
payback = 2+(initial_outlay-cash_flows[0]-cash_flows[1])/cash_flows[2]
print("Approximate simple payback:",round(payback,2),"years")
print("Payback fraction assumes uniform year-3 inflow; NPV uses year-end cash flows.")
Recorded output
Future cash-flow present values: [36363.64, 37190.08, 37565.74]
NPV at 10%: R 11119.46
Approximate simple payback: 2.3 years
Payback fraction assumes uniform year-3 inflow; NPV uses year-end cash flows.
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
QUANTITATIVE MODULE 54 / Commercial analytics
Decision costs, contribution and break-even thresholds
Break-even and expected-cost calculations connect business decisions to contribution, fixed cost and uncertain consequences. They are decision-accounting tools that use statistical estimates as inputs; the arithmetic does not establish that demand or risk estimates are correct.
How much volume or risk reduction is needed for an action to cover its relevant cost?
Find the sales volume required to cover a stated fixed-cost structure.
Compare the expected consequence of acting or not acting when an action can prevent a specified loss.
How the method works
For a single product with a constant price and variable cost, every sold unit contributes price minus variable cost toward fixed cost. Dividing relevant fixed cost by that contribution gives a break-even quantity. Round upwards when units must be whole. With non-positive contribution and positive fixed cost, no positive sales volume reaches break-even under this model.
The relevant range matters. More volume may require another shift, change unit cost, trigger discounts or exceed sellable demand. Fixed and variable are modelling classifications over a defined decision and horizon, not permanent properties of every cost. Unused capacity and cash timing can matter even when an accounting calculation appears attractive.
Expected-cost comparisons add uncertainty explicitly. In the separate inspection illustration, skipping inspection exposes an item to a defect-related loss, while a perfect inspection avoids that loss for a fixed cost. Acting is favourable on a risk-neutral expected-cost basis when the expected avoided loss exceeds the action cost. In real applications, sensitivity, imperfect detection, false alarms, capacity and severe consequences can change that threshold.
The calculation
unit contribution = P−V; break-even quantity = F/(P−V) when P>V; expected net value of a perfect preventive inspection = p L−C; inspection switching probability = C/L for L>0.
Read the symbols
Symbol
Meaning
P, V, F
Selling price, variable cost per sold unit and relevant fixed cost in one period.
p, L
Probability of the preventable defect and its incremental loss if not prevented.
C
Incremental action cost; the simple inspection example assumes perfect detection and prevention.
A worked business example
ILLUSTRATIVE SCENARIO
Two separate illustrative checks show volume break-even and an inspection decision.
Separate inspection case: R80 inspection cost per item, defect probability 30% and R400 avoidable loss per defective item.
Inspection is assumed to detect and prevent all relevant loss, with no additional errors or costs.
Work through the numbers
Unit contribution = R150−R90 = R60.
Monthly break-even = R90,000/R60 = 1,500 sold units.
At 1,800 units, the modelled operating result after fixed cost = 1,800 × R60 − R90,000 = R18,000.
Without inspection, expected defect loss = 0.30 × R400 = R120 per item; perfect inspection costs R80, giving R40 expected net benefit.
The inspection switching probability is 80/400 = 0.20, or 20%. At exactly 20%, this simplified expected-cost comparison is indifferent.
The product case breaks even at 1,500 units. In the separate perfect-inspection case, a 30% defect risk exceeds the 20% switching threshold.
Neither threshold predicts volume or proves the defect probability. The decision changes if contribution, prevention effectiveness, capacity or consequence estimates differ.
Apply it at work
State the alternatives and the relevant incremental costs, consequences, units and accounting horizon.
Estimate contribution or risk inputs from suitable records, including uncertainty and likely operating-range changes.
Calculate break-even or switching thresholds and test values near the proposed decision.
Verify demand, capacity, cash requirements and quality consequences before implementing the chosen action.
Check these assumptions
The volume example has constant unit price and variable cost within its stated operating range.
Fixed costs and volumes share the same monthly horizon, and all counted units are sold.
The inspection example uses risk-neutral expected cost and a defensible defect probability.
The simple threshold assumes perfect prevention, no false-positive loss and no material capacity or other intervention cost.
Common mistakes and how to avoid them
A break-even volume above achievable demand or capacity is not a workable operating plan.
Predicted defect risk and preventable defect risk are not interchangeable if an action cannot prevent every defect.
Ignoring uncertainty or severe loss consequences can make a narrow expected-value advantage inadequate for the actual decision.
How this can help the business
A threshold converts a vague claim that a proposal is affordable into a quantity or risk requirement that can be checked.
Separating incremental from sunk or irrelevant cost can make competing actions more comparable and expose which estimate needs better measurement.
A decision rule to adapt
Select a feasible action when credible incremental benefit exceeds relevant incremental cost and consequence constraints; examine uncertainty around the threshold rather than treating it as a certainty.
When to use another approach
Use full expected-loss matrices for imperfect classifiers or inspections, product-mix optimisation for multiple constrained products, and cash-flow analysis for differing timing.
Reproduce the worked example in Python
The code is self-contained for this example. Dependencies and run instructions are included with the downloadable notebook.
Show executable code and recorded output
from math import ceil
price, variable_cost, fixed_cost = 150,90,90000
unit_contribution = price-variable_cost
break_even = ceil(fixed_cost/unit_contribution)
planned_units = 1800
print("Unit contribution: R",unit_contribution)
print("Whole-unit break-even:",break_even)
print("Operating result at 1800 units: R",planned_units*unit_contribution-fixed_cost)
defect_probability, avoided_loss, inspection_cost = 0.30,400,80
net_value = defect_probability*avoided_loss-inspection_cost
print("Separate perfect-inspection expected net benefit: R",net_value)
print("Perfect-inspection switching risk %:",100*inspection_cost/avoided_loss)
Recorded output
Unit contribution: R 60
Whole-unit break-even: 1500
Operating result at 1800 units: R 18000
Separate perfect-inspection expected net benefit: R 40.0
Perfect-inspection switching risk %: 20.0
Concepts are linked to primary teaching or technical sources. The business examples are illustrative applications, not reported client results.
STRATEGY PLAYBOOK 1 / Customer experience
The Ritz-Carlton approach
Ritz-Carlton Gold Standards and Employee Promise
The principle
Can the employee closest to a customer resolve the problem well?
Ritz-Carlton links personal, attentive service with employees owning guest problems, supported by shared standards and an Employee Promise that emphasises trust, respect and development. The transferable idea is a service system in which trained people understand the promise and have meaningful authority to fulfil it.
Why it matters to a business
A customer experiences one business, even when a problem crosses dispatch, accounts and technical service. Repeated transfers can make an ordinary error feel like indifference. Giving one person responsibility for the complete resolution can reduce the effort demanded of the customer and expose broken hand-offs.
Empowerment also changes management work. Instead of approving every small remedy, managers establish boundaries, teach judgement and investigate repeated causes. A recovery budget is useful only when paired with competence, consistent records and prevention. Extra spending by itself does not establish customer loyalty or commercial value.
How to put it into practice
Define the promise for a specific service: acknowledgement, a clear next step, an honest delivery commitment and confirmation that the issue is resolved. Ask staff and customers whether these behaviours solve the actual frustration.
List decisions a trained employee may take independently, the maximum resources available, and cases requiring escalation. Include non-financial remedies such as arranging a collection, providing an explanation or coordinating the next department.
Practise realistic cases with staff. Record the problem, decision, resources used and outcome without requiring a long form during a customer conversation. Make a knowledgeable colleague available when the decision is unfamiliar.
Review cases weekly to separate individual judgement from system failures. Recognise a thoughtful resolution and also fix the wrong catalogue entry, missing part or unreliable promise that caused the repeat complaint.
An illustrative application
Illustrative Durban repair business: customers receiving an incorrect spare part currently wait while a manager authorises each replacement delivery.
For one common part category, authorise trained technicians to arrange a replacement courier within an illustrative R150 limit and defined eligibility rules.
Give the case one owner, who records the delivery cost and checks with the customer after the correct part arrives.
Compare resolution times, repeat contacts and total contribution on similar cases before and during the pilot; investigate exceptions rather than treating every reimbursement as success.
The R150 boundary is an original pilot assumption, not a Ritz-Carlton policy. A faster resolution is useful when the service remains reliable and the cost is affordable.
Measure the result
Median and 90th-percentile resolution time
Repeat contacts per resolved complaint
Contribution after recovery costs
Recurring root causes
Collect a baseline for at least one representative operating cycle, then pilot one trained team for four weeks. Keep complaint type and severity visible when comparing periods. Continue a defined purchase-follow-up window if retention is an outcome; a short service trial cannot establish long-term loyalty.
Trade-offs and limits
Generous remedies may hide repeated process failures; track prevention and customer effort as well as compensation.
Employees need time, knowledge and fair review. A stated spending limit without practical support is weak authority.
A recovered customer is not automatically more loyal than a customer whose service was correct initially.
A first pilot to adapt
Test one written decision boundary, one complaint category and one escalation route. Ask staff where the boundary is unclear, and ask customers whether the issue was genuinely closed. Set an explicit total pilot budget before starting.
What would support the next decision?
Expand only if resolution improves without unacceptable repeat failures, unfair treatment or contribution loss, and staff can use the policy consistently.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 2 / Leadership & purpose
Start With WHY
Simon Sinek: the Golden Circle
The principle
Can customers and staff explain what useful difference the business exists to make?
Sinek’s Golden Circle organises an organisation’s message around WHY, HOW and WHAT: its purpose, how that purpose is expressed, and what it offers. It is a way to connect communication with a coherent reason for the work, rather than a formula guaranteeing sales.
Why it matters to a business
A list of products rarely tells a customer why the offer matters in their situation. A useful purpose connects an offering to an outcome people recognise, such as making an important process dependable. It can also give staff a consistent basis for decisions that a script cannot anticipate.
The practical test is whether the purpose appears in behaviour. A business promising dependable decisions needs clear measurements and honest limits, not simply a new slogan. Purpose can improve clarity while the price, service design and economics still require separate analysis.
How to put it into practice
Choose a customer and a meaningful outcome. Ask what improvement the organisation wants to make possible and why employees would take responsibility for delivering it. Keep the wording concrete enough to challenge actual decisions.
Define the HOW as a few observable practices. For example, a service business might explain its findings in plain language, keep commitments visible and give customers evidence that the agreed work was completed.
Connect the WHAT to those practices: the actual product, visit, report or subscription a customer can buy. Remove claims the delivery system cannot support and make any important limitations clear before purchase.
Test understanding with employees and real prospects. Ask them to describe the offer in their own words, then check whether the experience after purchase matches the explanation used to attract them.
An illustrative application
Illustrative instrumentation supplier: its catalogue leads with model numbers and technical features, while small factory customers mainly want confidence in their process readings.
Write a purpose-led introduction about helping the customer make dependable process decisions; make no unsupported accuracy or compliance claim.
Express the working practices as traceable calibration, a usable report and a clear explanation of uncertainty or limitations.
Compare the existing and revised explanation with similar qualified enquiries, holding price and follow-up practices constant where feasible.
An improvement in understanding is evidence about the message. A sales difference may also reflect customer mix or timing, so it needs an appropriate comparison before a causal conclusion.
Measure the result
Correct customer understanding of the offer
Qualified enquiry-to-sale conversion
Delivery against the promise
Contribution per completed job
Establish how current prospects interpret the offer using a consistent short question. Randomise comparable enquiries to alternative explanations if practical, define the conversion window in advance and track cancellations or disappointment after delivery. Size the trial for a meaningful difference rather than stopping after a few favourable reactions.
Trade-offs and limits
A compelling purpose cannot compensate indefinitely for poor delivery, unsuitable pricing or absent demand.
Employees may see a slogan as hollow when managers make conflicting operational decisions.
Changes in advertising audience can create an apparent wording effect even when the wording had little influence.
A first pilot to adapt
Trial one clear explanation for one service, with the delivery team checking each stated promise. Record customer understanding before pitching extra features, and review both accepted and declined enquiries with the same questions.
What would support the next decision?
Adopt the explanation when customers understand it better and commercial results remain viable without creating a promise the operation cannot fulfil.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 3 / Leadership & purpose
Build trusting teams
Simon Sinek: Circle of Safety and Leaders Eat Last
The principle
Will people raise a problem while the business can still act on it?
Sinek’s Circle of Safety describes leadership that supports trust and mutual care within a team. Applied carefully, the idea is to make asking for help, reporting mistakes and cooperating compatible with clear standards and accountability. It is a leadership framework, not a diagnostic measure of individual employees.
Why it matters to a business
Hidden problems can become expensive because the organisation loses time to respond. An operator who expects ridicule may delay reporting a drifting reading or an impossible schedule. A manager then sees only the final failure and may misinterpret a system problem as carelessness.
Trust becomes operational when leaders respond predictably, provide help and follow through. Staff need to see that reporting something honestly leads to investigation rather than automatic blame. Clear responsibility remains important; a supportive team can still examine repeated unsafe or careless behaviour fairly.
How to put it into practice
Ask staff which situations make it difficult to raise concerns. Use several routes, including private conversations, because a public meeting may feel uncomfortable. Explain how information will be used and who can see it.
Run a short obstacle discussion focused on completing good work. Ask what is unclear, unavailable or likely to fail today. Separate this from a meeting that ranks people or publicly compares their performance.
Assign an owner and a realistic follow-up time to each actionable concern. When a report reveals an error, first protect the customer or process and establish what happened before deciding what response is appropriate.
Close the loop visibly. Explain what changed, what cannot change yet and why. Review whether managers keep these commitments and whether employees can challenge an unclear instruction without suffering informal retaliation.
An illustrative application
Illustrative packing team: staff regularly discover label discrepancies but wait until the end of the shift to report them because earlier reports have been dismissed.
Introduce a brief start-of-shift obstacle huddle and a simple issue log with named owners and follow-up dates.
For reported label discrepancies, pause affected work, check the source record and explain the correction without publicly blaming the reporter.
Ask voluntary anonymous feedback on speaking up, and examine when discrepancies are detected compared with the number reaching dispatch.
More reports at first may indicate improved openness rather than declining quality. Compare reporting with severity, completed actions and escaped defects instead of rewarding silence.
Measure the result
Time from discovery to issue reporting
Share of issues receiving agreed follow-up
Escaped defects or avoidable rework
Voluntary team feedback on raising concerns
Observe reporting and outcomes across several comparable shifts before the pilot, then review four to eight weeks of follow-up. Keep employee feedback confidential and report aggregated patterns. Use qualitative accounts to understand the numbers; do not turn a small feedback score into a precise ranking of individuals.
Trade-offs and limits
A team can report more issues because trust improved or because conditions worsened; the count alone does not decide which.
Promises of openness lose credibility when managers fail to resolve obstacles or punish honest reporting indirectly.
Confidential feedback and personnel decisions require care; performance expectations still need a fair, explicit process.
A first pilot to adapt
Pilot one reliable issue-and-follow-up routine with a willing supervisor and team. Agree how urgent concerns are escalated, how reporters receive feedback and which recurring obstacles can be removed during the trial.
What would support the next decision?
Continue when concerns surface earlier, follow-up improves and avoidable harm falls, while staff describe the process as useful and standards remain clear.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 4 / Leadership & purpose
Think beyond the next target
Simon Sinek: The Infinite Game
The principle
Does the current decision preserve the capabilities needed to serve the next customer?
Sinek applies an infinite mindset to organisations operating without a final finish line. His framework emphasises a continuing cause, trusting teams, learning from worthy rivals, adaptability and leadership courage. It encourages leaders to consider enduring capability alongside immediate competitive results.
Why it matters to a business
A short-term measure can improve while the business becomes more fragile. Delaying maintenance, overselling capacity or reducing training may make a current target easier, while increasing future downtime or undermining the customer promise. The important issue is the consequence of the decision, not whether its label sounds long term.
Longer-term thinking also requires financial discipline. A company must be able to fund its commitments while developing future capability. The practical value is to bring future effects and uncertainty into the same decision record as the immediate saving, rather than treating them as an afterthought.
How to put it into practice
Define the customer or organisational purpose that should continue beyond this planning period. Translate it into capabilities such as reliable delivery, specialist knowledge, trusted relationships or a maintainable technology base.
For a proposed short-term saving, identify which capabilities it could weaken and over what horizon. Record the immediate cash effect separately from future risks that are uncertain or difficult to value.
Select one or two leading indicators alongside the financial target. Examples include maintenance completed, skill coverage or quality escape rates. Learn from a capable rival without copying a business model that serves different customers.
Review the decision at an agreed date using the full record. Adapt when the evidence changes, and explain the trade-off to affected staff. Preserve a willingness to change direction without presenting every reversal as failure.
An illustrative application
Illustrative workshop: management considers postponing all preventive maintenance to improve this month’s expense figure.
Estimate the immediate cash deferral and identify assets whose failure would interrupt committed orders.
Compare a full deferral with a targeted schedule that protects critical equipment, using plausible breakdown and repair scenarios rather than one certain forecast.
Review cash affordability together with unplanned downtime, delivery reliability and the maintenance backlog over subsequent months.
An attractive saving is incomplete if it transfers a larger risk into a later period. The comparison still needs evidence about failure likelihood and consequences, rather than an assumption that every maintenance expense pays back.
Measure the result
Contribution and cash commitments by period
Critical maintenance completed on schedule
Delivery reliability and repeat business
Skill coverage for essential work
Use historical performance to establish capability and financial baselines, then track decisions for at least a relevant operating or customer cycle. A 30-day pilot can show whether management uses the expanded review; longer horizons are needed to judge reliability, retention or resilience.
Trade-offs and limits
Future benefits are uncertain, so a long horizon does not justify any current expenditure.
A growing list of long-term indicators can distract from immediate customer obligations and cash constraints.
The framework should support explicit choices, not become a reason to avoid difficult performance conversations.
A first pilot to adapt
Add a capability review to one recurring cost decision for a month. Compare at least two affordable options and record the assumptions, immediate effects, possible delayed effects and review date before approving the choice.
What would support the next decision?
Keep the practice when decisions explicitly protect an important capability within affordable limits and later reviews can evaluate the assumptions honestly.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 5 / Operations & improvement
Make small improvements routine
Toyota: kaizen and the Toyota Production System
The principle
What repeated friction can the people doing the work remove?
Toyota describes daily incremental kaizen as part of its production system, supported by people developing better ways to work and identifying abnormalities. The useful principle is repeated, grounded improvement that makes work easier and supports quality and flow, rather than a one-off suggestion campaign.
Why it matters to a business
Small repeated losses can consume substantial capacity across a week: searching for tools, re-entering information, waiting for approval or correcting the same error. People carrying out a task often understand these obstacles in more detail than a manager reviewing monthly totals.
An improvement routine gives those observations somewhere to go. It links a specific problem to a manageable change and a check on what actually happened. The objective is useful accepted output and better work, not simply making each person appear busier or collecting the largest number of suggestions.
How to put it into practice
Observe a real task with the people doing it. Establish the customer requirement and record where time, effort or quality is lost. Ask staff to explain exceptions instead of treating the written procedure as a complete picture.
Choose one obstacle within the team’s control. State a simple prediction, such as less searching without harder replenishment. Agree the resources available and avoid changing several unrelated things at the same time.
Try the revised arrangement on a limited bench, shift or route. Record accepted output, effort and problems at the next step. Stop or adapt a change that makes one task faster by transferring work elsewhere.
When the evidence supports the change, update the working method and teach it to others. Keep a route for further suggestions because a good current standard is a basis for the next improvement, not an untouchable rule.
An illustrative application
Illustrative dispatch bench: packers repeatedly walk to shared storage for tape, labels and cutters, while urgent jobs accumulate nearby.
Observe several representative order types and record searching, walking and actual packing time separately.
Trial labelled storage at the point of use on one bench, with an explicit replenishment responsibility and safe locations for tools.
Compare time per accepted order and missing-item incidents with an unchanged bench or similar earlier shifts; include the replenishment effort.
Time recovered is potentially useful capacity. It becomes a commercial benefit only when it supports demand, reduces avoidable cost or improves delivery without a damaging trade-off.
Measure the result
Time per accepted order
Searching and walking time
First-pass quality
Operator workload and downstream waiting
Collect repeated observations across comparable task types before and during the trial. Review at least a full replenishment cycle and several shifts, rather than selecting the fastest demonstration. Use a run chart to check whether the gain persists after attention moves to another problem.
Trade-offs and limits
Local speed gains may worsen the overall flow; inspect downstream queues and the limiting resource.
Standardising too quickly can freeze an arrangement that only worked for one operator or product type.
Suggestions need time and management response; unpaid extra effort or constant changes can exhaust staff.
A first pilot to adapt
Let one team identify a recurring obstacle and test one low-cost change for two weeks. Give the team an owner, observation time and a clear quality guardrail, then review whether the method should be adopted, adapted or discarded.
What would support the next decision?
Adopt when the task is easier or more reliable and accepted end-to-end output or cost improves without worse quality, safety or workload elsewhere.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 6 / Operations & improvement
Improve the constraint first
Eliyahu Goldratt: Theory of Constraints
The principle
What currently limits the system’s useful output?
The Theory of Constraints’ focusing steps identify a system constraint, use its existing capacity effectively, align other activities around it, add capacity when justified and reassess when the constraint moves. The focus is overall system performance rather than every resource being maximally busy.
Why it matters to a business
Improving a non-limiting activity may create more unfinished work without increasing completed deliveries. A production supervisor can report a faster assembly step while customers still wait at final testing. The business has paid for local improvement but has not yet relieved the restriction that matters.
The constraint may also be demand, a skilled decision-maker, information or an operating policy. A queue is a clue, not sufficient proof. Tracing the full flow helps distinguish a genuine capacity restriction from preventable rework, inconsistent releases or a temporary interruption.
How to put it into practice
Define the system goal and the output to be improved, such as accepted paid deliveries per week. Map the main path and measure arrivals, completions, queues and interruptions over a representative period.
Find the resource or policy that limits that goal. Check actual useful work against lost time, quality issues, missing inputs and scheduling rules. Avoid assuming that the most visible or expensive machine is necessarily the constraint.
Protect useful capacity there and align upstream releases with what the system can complete. Prepare correct materials and information before the limiting step, while maintaining a justified buffer against interruptions.
Consider additional capacity only after using existing capacity well and assessing the economics. After improvement, repeat the diagnosis because a different step, market limit or policy may become the new restriction.
An illustrative application
Illustrative workshop: assembly can prepare 20 jobs daily, but the testing stage can accept only 12 while awaiting paperwork and setup changes.
Measure why testing loses useful time and distinguish equipment processing from missing records, setups and rework.
Prepare complete job packs before release to testing and trial a sensible setup sequence, without releasing extra unfinished assemblies.
Compare accepted deliveries, lead time and work in progress before and after the change. Investigate whether the limiting stage then moves.
The useful result is increased accepted flow or shorter customer lead time. A high utilisation number at every station is not by itself evidence of an improved system.
Measure the result
Accepted deliveries per period
End-to-end lead time
Work in progress by stage
Useful time at the current constraint
Use stage-level timestamps and accepted counts over representative demand and product mixes. Compare several cycles before and after the focused change, with documented interruptions. If demand is lower than capacity, assess delivery and cost instead of manufacturing output that cannot be sold.
Trade-offs and limits
The constraint can change over time, so yesterday’s bottleneck should not become a permanent assumption.
Buffers protect flow but consume space and cash; their size needs a reason tied to variability.
Expanding capacity may not pay when market demand, quality or another restriction limits accepted sales.
A first pilot to adapt
Select one order path and verify its current constraint using actual flow data. Remove one measured source of avoidable lost capacity there, pace releases accordingly and review the effect on completed customer work over several cycles.
What would support the next decision?
Expand the change when total useful flow or lead time improves within the cost limit, without a disproportionate rise in unfinished work or defects.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 7 / Operations & improvement
Learn before scaling the change
W. Edwards Deming: Plan–Do–Study–Act
The principle
What prediction will this trial help us evaluate?
PDSA is an iterative learning cycle: plan a change and a prediction, try it, study the observed result and use the learning to decide the next action. The Deming Institute distinguishes the emphasis on Study from treating Check in PDCA as a simple implementation pass or fail.
Why it matters to a business
An organisation can implement a change faithfully and still fail to improve the outcome. Installing reminder software, for example, does not show that missed appointments decreased because of the reminders. The business needs a prediction about the mechanism and observations that could support or challenge it.
A small planned trial can reveal operational details before a large commitment: incomplete contact details, an unexpected staff burden or customers misunderstanding the message. Learning includes discovering that an idea is unsuitable. The value is a better next decision, rather than collecting a success story for a change already chosen.
How to put it into practice
Plan: name the problem, the proposed mechanism and the predicted result. Define who is affected, what comparison is practical, the outcome and guardrail, and the time or budget available to learn.
Do: carry out a limited version of the change and record what actually happened. Note deviations, implementation effort and surprising responses instead of quietly modifying the intervention during the trial without a record.
Study: compare observations with the prediction and the baseline or comparison group. Examine uncertainty and alternative explanations, including volume, staffing and customer mix. A favourable average is not enough if serious exceptions increased.
Act: decide whether to adapt the idea, try it in another setting, stop it or expand cautiously. Record what was learned and what remains uncertain so the next cycle begins with a more informed prediction.
An illustrative application
Illustrative booking business: managers believe a clear appointment reminder will reduce missed visits without increasing complaints or administrative effort.
Define missed visits consistently and record the current rate and follow-up period; first check whether contact details are usable.
Trial a single reminder wording and timing with comparable bookings, randomising where feasible and recording the assignment before sending.
Study attendance, message delivery, staff time and complaints together; retain failed deliveries in the analysis relevant to the assignment policy.
The trial examines a specific reminder process in a specific context. It cannot establish that every reminder system or every future customer group will behave the same way.
Measure the result
Missed appointments per scheduled visit
Contact and delivery failure rate
Staff minutes per booking
Customer complaints or unwanted contact
Capture a baseline covering typical busy and quiet days. Choose a sample and follow-up window before starting, preserve a valid comparison and analyse the assigned groups consistently. Review after the planned window rather than stopping when a favourable result appears; extend learning when events are rare.
Trade-offs and limits
A short trial can be too small to detect a worthwhile effect; uncertainty should remain visible.
Changing the population, wording and timing together makes it difficult to understand why the result changed.
Improvement in the chosen outcome may hide higher costs or a worse experience elsewhere.
A first pilot to adapt
Write a one-page prediction and measurement plan for one low-risk change. Run it with a defined group, keep an implementation log and hold a review that explicitly permits the decisions to stop, adapt or expand.
What would support the next decision?
Move to the next scale only when the evidence and operating experience support the prediction and the important guardrails remain acceptable.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 8 / Operations & improvement
Prioritise the biggest measured losses
Pareto analysis: ASQ quality tools
The principle
Which problem category accounts for the largest relevant loss?
A Pareto chart orders problem categories by a chosen quantity, such as incidents, cost or lost time, often alongside a cumulative share. It helps prioritise investigation. The familiar 80/20 description is a heuristic, not a rule requiring the data to split into those percentages.
Why it matters to a business
Teams frequently choose the latest or loudest complaint as an improvement priority. A consistent record of losses can reveal that a less visible problem consumes more money or capacity. The ranking makes the chosen basis of priority explicit so people can challenge its relevance.
Frequency and impact answer different questions. A frequent paperwork issue may be cheap, while a rarer incorrect shipment creates substantial replacement cost. The business can make a better choice by examining both rankings and then considering severity, tractability and the current system constraint.
How to put it into practice
Define the loss and its observation period. Agree category meanings, the event unit and how duplicates or multi-cause cases are recorded. Include an honest unknown category instead of assigning uncertain causes to improve appearances.
Collect complete or representative records and choose the ranking quantity that matches the decision. If cost is important, use a consistent cost definition and document estimates rather than mixing revenue, expense and staff minutes.
Order categories from largest to smallest and calculate each share of the total. Inspect frequency and impact separately when they differ. Consider rare but severe events even if they are not prominent on the chart.
Investigate a leading actionable category to understand its causes, then test a remedy. Repeat the measurement using unchanged definitions and check total loss, because reclassification can make a selected category look better without improving the business.
An illustrative application
Illustrative dispatch records contain 40 late orders at R100 avoidable cost each, 20 wrong shipments at R250 each and 40 paperwork incidents at R25 each.
Calculate category losses: late orders R4,000; wrong shipments R5,000; paperwork R1,000. Total avoidable cost is R10,000.
Wrong shipments represent 20% of incidents but 50% of recorded cost. They become the first cost-based investigation despite not being the most frequent category.
Trial an address-and-item confirmation step, then compare wrong-shipment cost and total delay cost so the check does not merely trade one problem for another.
This example deliberately does not follow an exact 80/20 pattern. It demonstrates how the relevant measure can change the priority, without proving that the highest category has an easy solution.
Measure the result
Recorded loss by category
Total avoidable cost or time
Repeat incidents after intervention
Share of cases with an uncertain cause
Use the same data capture period, cost basis and category definitions before and after a trial. Review enough transactions for recurrent problems to be observed and stratify by order type where needed. Audit a sample of classifications and monitor total loss alongside the targeted category.
Trade-offs and limits
The largest category may contain several different mechanisms that require separate investigation.
Frequency rankings can hide low-frequency severe failures; severity needs an explicit place in the decision.
Incomplete records and shifting definitions can create a precise-looking but misleading ranking.
A first pilot to adapt
Categorise one month of a clearly defined avoidable loss, validate a sample of records and construct both count and impact rankings. Select one important, tractable category and document why it deserves attention before testing a remedy.
What would support the next decision?
Continue when the chosen cause’s loss and the total relevant loss decline without unacceptable severity, delay or reclassification effects.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 9 / Strategy & markets
Understand industry profit pressures
Michael Porter: Five Forces
The principle
What limits the value the business can retain in this industry?
Porter’s Five Forces examines rivalry, entry threats, substitutes, buyer power and supplier power. It is an industry-structure framework for understanding pressures on value and profitability, rather than a checklist of named competitors or a formula that predicts a firm’s financial return.
Why it matters to a business
A business may attract many customers while retaining little value because customers can switch easily, suppliers control an essential input or rivals repeatedly discount. Looking only at the closest competitor misses the relationships and alternatives that influence the business model’s economics.
The framework helps managers ask which pressure a proposed position can address. A service niche might reduce direct price comparison, while a credible second supplier could reduce dependence on one input. These are hypotheses to evaluate with actual switching behaviour, costs and customer willingness to pay.
How to put it into practice
Define the relevant industry and customer need carefully. Separate a geographic or service segment when its economics differ materially, and document which activities the business performs within the larger value system.
Examine buyers and suppliers: concentration, switching costs, dependence, alternatives and the share of cost or value controlled. Use contracts, purchase records and customer interviews rather than automatically calling a large firm powerful.
Assess rivalry, potential entry and substitutes. A substitute solves the underlying customer need differently, while a new entrant offers a competing industry service. Consider fixed costs, capacity, differentiation and credible barriers to entering.
Develop a few responses and test their economics: a focused segment, alternative supply, a different delivery model or stronger differentiation. Revisit the analysis as technology, market structure and rules change.
An illustrative application
Illustrative calibration provider: customers compare visit prices, a specialist parts supplier has few substitutes and some customers consider purchasing their own testing capability.
Treat in-house testing as a potential substitute rather than listing only rival service companies.
Examine which customers require support beyond the reading itself, such as traceable records and interpretation, and whether serving them changes delivery costs.
Compare a focused service bundle with the current general offer, including supplier dependence, sales-cycle effort and realistic contribution per account.
The exercise helps identify a defensible business question. It does not establish that the niche is attractive until customer demand, operating capability and economics are tested.
Measure the result
Contribution by service and customer segment
Customer and supplier concentration
Observed switching or lost-order reasons
Cost of serving the selected position
Use several recent sales and purchasing cycles as a baseline, supplemented with interviews and credible market records. Track the reasons for won and lost work and test one proposed response over a defined segment. Compare margins after the added service and selling costs, not just quoted prices.
Trade-offs and limits
An industry boundary chosen too broadly can mix businesses with very different economics.
Five subjective scores should not be averaged into a precise attractiveness number without a justified decision model.
The forces change, and firm-specific capability still influences whether a chosen position can work.
A first pilot to adapt
Analyse one industry segment with sales, purchasing and operations staff. For each force, record evidence, uncertainty and one implication. Select one affordable response to test with real customers and an explicit contribution hurdle.
What would support the next decision?
Pursue the response when evidence shows a relevant pressure can be addressed and the resulting position meets customer, capability and financial requirements.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 10 / Strategy & markets
Find value in the activity system
Michael Porter: the value chain
The principle
Which activities create the customer value and cost behind our position?
Porter’s value-chain analysis breaks a business into strategically relevant activities and examines how their configuration and links support advantage. It directs attention to how work creates customer value and cost, rather than treating every department as an isolated expense line.
Why it matters to a business
A low purchase price can be misleading if receiving, setup, inspection and support costs make the completed service expensive. Conversely, an activity that looks costly may support a customer outcome that makes the offering attractive. Analysis needs the complete delivery system and the selected customer promise.
The links between activities often matter as much as individual tasks. Better order information can improve scheduling and first-time completion downstream. A local cost cut can remove information or flexibility that another activity needs, leaving overall cost or the customer experience worse.
How to put it into practice
Choose a clear offer and customer segment, then map the activities from acquiring inputs through delivery and aftercare. Include supporting capabilities such as training, information systems and procurement that make the front-line work possible.
Attach evidence about time, expense, defects and customer value to the activities. Use a consistent job or account unit and distinguish avoidable costs from allocated overhead that will remain after a proposed change.
Trace links and trade-offs. Ask how choices about scheduling, information, stock, skill or service levels influence other activities. Identify which combination supports the intended position rather than seeking the lowest cost at every step.
Design an activity change and evaluate its system effect. Compare accepted output, total cost to serve and customer outcomes. Update the map when learning shows that work happens differently from the documented process.
An illustrative application
Illustrative technical-service company: managers consider shortening report preparation because it consumes staff time after each site visit.
Map preparation, travel, testing, reporting, customer questions and repeat visits rather than measuring reporting minutes alone.
Observe whether a clearer standard report reduces later clarification calls and repeat trips, while retaining the evidence customers actually need.
Trial a revised reporting template and compare total time and contribution per completed job, together with customer understanding and error corrections.
A report that takes slightly longer may reduce total service effort, while a shorter report may also be adequate. The comparison must reveal the entire job’s cost and useful outcome.
Measure the result
Total cost to serve a completed job
First-time completion
Customer clarification and repeat visits
Contribution by offer or segment
Select comparable jobs across a representative service cycle and record time at all relevant activities before the trial. Compare the revised workflow with similar jobs, including aftercare within the same follow-up window. Confirm which released time or expense can actually be reused or avoided.
Trade-offs and limits
Allocated overhead is not automatically a cash saving when an activity takes less time.
A map can become too detailed to guide strategic choices; focus on activities relevant to the position.
Outsourcing or automation can shift responsibility and risk to another activity, supplier or customer.
A first pilot to adapt
Map one offer with the staff who perform and support it, validate the map against recent jobs and trial one improved activity link. Keep a total-cost and customer-outcome view throughout the experiment.
What would support the next decision?
Adopt when the activity combination supports the customer promise more economically or distinctly, without transferring unacceptable costs or risks elsewhere.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 11 / Strategy & markets
Choose a position and its trade-offs
Michael Porter: strategic positioning and fit
The principle
Which customers and needs will the business organise itself to serve?
Porter’s strategy work emphasises a distinctive position supported by activities that fit together and meaningful trade-offs. Choosing a position involves deciding which needs to serve, how to serve them and what incompatible activities or promises the business will decline.
Why it matters to a business
Trying to satisfy every customer can create a service that is expensive and unclear. A company may promise the cheapest price, immediate availability and bespoke expert work while lacking the resources to provide all three consistently. The conflict often appears as staff overload and disappointing delivery.
A clear position helps coordinate decisions about skill, stock, marketing, scheduling and service boundaries. Trade-offs protect that coordination from exceptions that quietly create a different business. The position still needs demand and viable economics; saying no is useful only in support of a workable offer.
How to put it into practice
Define a specific customer group, an important set of needs and a price or cost logic the business can support. Identify the alternatives those customers consider and the evidence that the proposed difference matters.
List the activities needed to deliver the position reliably. Examine how they reinforce each other, such as planned scheduling supporting specialised preparation and predictable turnaround. Identify activities that create incompatible operating requirements.
Write explicit service boundaries and exception rules. Explain who the offer is suited to, what it includes and what needs a different provider, schedule or price. Check that sales incentives do not reward promises outside those boundaries.
Test the position with a defined segment and review results across the activity system. Distinguish a temporary learning exception from a permanent expansion of the offer, and revisit the position when evidence or market conditions change.
An illustrative application
Illustrative workshop: the owner wants dependable scheduled maintenance work but repeatedly accepts low-price emergency jobs that displace planned customers.
Define an offer for planned maintenance with agreed booking windows, prepared parts and clear service records.
Create a separate, honestly priced exception policy for genuinely available emergency capacity rather than promising immediate service to everyone.
Compare contribution, disruption and on-time completion for the planned work before expanding the positioning message.
The decision is about a coherent service system, not refusing difficult customers indiscriminately. A viable exception can be sensible when its true resource consequences are understood.
Measure the result
Contribution within the chosen segment
Delivery against the intended promise
Work accepted outside service boundaries
Customer understanding and loss reasons
Establish a baseline by segment and job type over several operating cycles. During the trial, record which work meets the position, which exceptions occur and how they affect promised customers. Review conversion and lost work with contribution and operational disruption rather than optimising revenue alone.
Trade-offs and limits
A narrow position can exclude worthwhile demand if its boundaries are based on assumptions rather than evidence.
Rigid consistency can prevent learning when a genuinely new customer need emerges.
Marketing a distinctive position before building its supporting capabilities can damage credibility.
A first pilot to adapt
Choose one offer and segment, document three supporting operating choices and two important boundaries, and pilot them for a representative cycle. Review sales promises and operating exceptions together with the team.
What would support the next decision?
Continue when target customers value the offer and its linked activities deliver acceptable economics and reliability within a clear, sustainable service boundary.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 12 / Strategy & markets
Turn SWOT observations into strategic options
SWOT analysis and Heinz Weihrich’s TOWS matrix
The principle
How can internal capabilities and external conditions combine into useful choices?
SWOT distinguishes internal strengths and weaknesses from external opportunities and threats. TOWS develops options by matching those factors: using strengths with opportunities, addressing weaknesses that block opportunities, using strengths against threats and reducing exposure where weaknesses meet threats.
Why it matters to a business
A four-box list can look like strategy while leaving every decision unchanged. Its practical use starts when each factor is evidenced, relevant to a defined objective and compared with realistic alternatives. A claimed strength matters only if it helps create value in the situation being considered.
The matching step encourages several routes rather than one favoured proposal. An opportunity may be pursued using existing strengths, approached with a partner to fill a weakness, or avoided because a threat makes it unaffordable. The resulting options still require choices about resources, timing and evidence.
How to put it into practice
Set a specific objective and boundary, such as whether to introduce a scheduled maintenance offer in one area. Gather customer, operational and market evidence from several perspectives rather than generating the factors entirely in a workshop.
Write a short set of internal and external factors, with an evidence source and uncertainty note for each. Avoid using vague labels such as good people or a bad economy without explaining the capability or mechanism relevant to the objective.
Build matched options across the four TOWS combinations. For each option, identify the factors it connects, the concrete action proposed, the resources needed and the assumption that could make it fail.
Compare a manageable shortlist using affordability, expected customer value, capability and risk. Assign an owner and a test for the most consequential assumption. Revisit the factors when the environment or the business changes.
An illustrative application
Illustrative local contractor: it has trusted technicians, limited scheduling support, interest in preventive maintenance and strong competition on emergency call-out prices.
A strength–opportunity option uses technical credibility to test a scheduled service package with existing clients.
A weakness–opportunity option trials shared booking support or a partner before promising more maintenance visits; a strength–threat option demonstrates dependable records rather than matching every discount.
A weakness–threat option limits poorly supported emergency commitments while the scheduling process is repaired. Compare these options rather than adopting all of them at once.
The matrix organises thinking but does not rank the options automatically. The next step is a real resource and evidence decision, including an option to defer investment.
Measure the result
Contribution and demand for the selected option
Capability gaps closed
Exposure to the identified threat
Evidence supporting critical assumptions
Date the factors and establish a baseline for the specific decision, such as current maintenance conversion and scheduling reliability. Test one shortlisted option with a defined customer group and horizon, then review whether the original factors still describe the situation. Do not score vague factors more precisely than the evidence allows.
Trade-offs and limits
Workshop opinion can be mistaken for evidence; involve people with different knowledge and record disagreement.
The same factor can be misclassified or described too generally to support a useful option.
Long lists and arbitrary weighted scores can hide the real trade-offs and resource constraints.
A first pilot to adapt
Run an evidence-led review of one decision, limit the factor list to the most material items and create at least two matched options. Select one reversible pilot and define what evidence would lead to a different choice.
What would support the next decision?
Proceed when a matched option addresses the objective with credible demand, workable capability and acceptable risk, and its key assumption survives an informative test.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 13 / Strategy & markets
Scan the external environment with PESTLE
PESTLE environmental analysis
The principle
Which external change could materially alter this business decision?
PESTLE organises an external scan into political, economic, social, technological, legal and environmental factors. Its purpose is to identify relevant changes and their possible implications. It supports preparation and scenario thinking; it does not forecast events simply because they appear under a heading.
Why it matters to a business
A plan can be internally coherent yet exposed to an outside change: a key input becomes expensive, customer working patterns shift or a technology changes how people solve the need. An organised scan can bring those dependencies into view before the business commits resources.
The useful output is a short list of implications, choices and monitoring triggers. Collecting headlines without connecting them to a decision creates research activity rather than preparedness. The business needs to know what would change, which assumption it affects and what action becomes worthwhile if the signal is observed.
How to put it into practice
Define the decision and horizon. A new outlet, an imported component order and a three-month staffing plan need different scans. Identify the external assumptions on which the proposal depends before collecting information.
Gather relevant evidence across the six headings from credible sources. Separate confirmed facts, proposed changes, projections and speculation, and record the date and source. Obtain appropriate expertise for legal or technical obligations rather than guessing their application.
Trace the business mechanism for each material factor: demand, input cost, delivery time, available skills or required capability. Construct a few coherent scenarios where the result is uncertain instead of treating every listed trend as inevitable.
Choose actions and triggers. Some responses can be tested now, while others should wait for a signal such as a supplier quote, customer behaviour or a confirmed requirement. Assign someone to monitor the trigger and a date to review the scan.
An illustrative application
Illustrative equipment-service SME: its proposed service package depends on imported parts, local technician availability and customers accepting a remote-support option.
Record current supplier quotes and lead-time ranges, and label exchange-rate and demand changes as scenarios rather than current facts.
Explore whether remote support changes customer convenience and service workload, while identifying what work still requires a site visit.
Compare the package under plausible input-cost and uptake scenarios, and define the margin or delivery trigger that would require repricing or a change in stock policy.
The scan makes exposure visible. It does not establish the probability of a scenario unless a separate, defensible probability model and data support that estimate.
Measure the result
Contribution under defined external scenarios
Lead-time and cost exposure
Customer response to the changed offer
Monitoring triggers reviewed on time
Document the starting quotes, demand assumptions and decision horizon. Review key signals at a frequency suited to the exposure, such as monthly for a planning trial, and update the analysis when a material event occurs. Compare predictions and actual signals to improve the next scan.
Trade-offs and limits
Lists can become very broad; retain factors with a clear path to the decision outcome.
News, announced proposals and enacted requirements are different evidence states and should not be merged.
External uncertainty cannot be removed by assigning unsupported likelihood scores or making a larger spreadsheet.
A first pilot to adapt
Build a one-page scan for one investment or operating decision, retaining the most consequential factors. For each, record its evidence, uncertainty, mechanism, possible response and review trigger, then test the most reversible useful response.
What would support the next decision?
Use the scan when it changes a resource choice or prepares an affordable response to a material exposure; revise it when assumptions or signals change.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 14 / Strategy & markets
Redesign the factors customers value
W. Chan Kim and Renée Mauborgne: Blue Ocean Strategy
The principle
Could a different mix of value and cost attract people poorly served by current offers?
Blue Ocean Strategy’s Four Actions Framework challenges an industry’s established offer by considering what to eliminate, reduce, raise and create. It is used to explore a different value proposition and cost structure, rather than relying only on matching competitors feature by feature.
Why it matters to a business
An industry may keep adding expensive features because competitors offer them, even when some customers find them unnecessary. Others may avoid buying because the process is inconvenient or the offer solves the wrong problem. Questioning the standard package can reveal a different way to serve a real need.
The commercial challenge is to improve relevant customer value while creating a workable delivery model. Novelty alone is not sufficient. A proposed change needs evidence of customer demand, the true cost of serving it and an understanding of which existing customers or capabilities it might displace.
How to put it into practice
Describe how current offers compete and which factors customers experience or pay for. Speak with customers and people who avoid the category, and distinguish their observed behaviour from assumptions made inside the business.
Consider which factors could be eliminated or reduced because they add cost without enough value for the chosen group. Check whether removal would impair quality, access, trust or another requirement that customers take for granted.
Consider which factors should be raised or created to solve important unmet needs. Explore the operating design at the same time, including preparation, delivery, customer effort and the capabilities needed to make the new promise credible.
Test a complete small offer rather than only a slogan. Estimate contribution at realistic volume, collect customer behaviour and compare the alternative with the existing offer. Adapt or stop if attractive features depend on uneconomic delivery.
An illustrative application
Illustrative small catering business: it competes through highly customised last-minute orders, but some office customers want an easy, predictable weekday meal arrangement.
Test a limited pre-order menu and collection window, reducing last-minute customisation and the uncertainty of ingredient purchasing.
Raise clarity about portions, ordering cut-offs and reliable collection; create a straightforward ordering arrangement for a defined office group.
Compare actual paid orders, food waste, preparation effort and customer convenience against comparable existing work before expanding the format.
This is a hypothesis about a better-fitting offer and cost structure. A simpler menu could reduce demand or move effort to customers, so those effects belong in the comparison.
Measure the result
Paid uptake among the chosen customer group
Contribution per order after all variable effort
Waste and delivery reliability
Customer effort or repeat ordering
Use customer interviews to identify candidate value factors, then run a paid pilot over several comparable ordering cycles. Keep prices, collection terms and customer group explicit. Measure repeat behaviour and contribution rather than interpreting interest, survey enthusiasm or social engagement as demand.
Trade-offs and limits
Removing a seemingly unnecessary feature may remove value for a customer group the team did not study.
A distinctive offer is still open to imitation, changing preferences and operating failure.
Benefits for one group may require sacrificing another opportunity or adding a capability the business cannot yet afford.
A first pilot to adapt
Choose a small group that currently finds the category inconvenient, design one alternative package and test paid demand with a limited operating budget. Record what was removed, added and operationally changed so the economics can be explained.
What would support the next decision?
Expand only when customers demonstrate useful demand and the redesigned activity system delivers an acceptable contribution without undermining essential service requirements.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 15 / Strategy & markets
Connect the business model’s moving parts
Alexander Osterwalder and Yves Pigneur: Business Model Canvas
The principle
How will this offer create, deliver and capture value as a coherent business?
The Business Model Canvas describes a business model through nine connected areas: customer segments, value propositions, channels, relationships, revenue streams, resources, activities, partners and costs. It provides a shared view of the model’s assumptions and dependencies, rather than replacing evidence or a financial plan.
Why it matters to a business
An idea can solve a customer problem yet struggle commercially because acquisition is expensive, delivery needs scarce staff or the revenue arrangement does not fund support. Looking at the connections helps uncover these conflicts before the organisation scales a partial solution.
The canvas is particularly useful for comparing alternatives. A once-off service visit and a subscription may serve similar needs but require different relationships, billing, capacity and risk management. Recording both models separately makes their assumptions easier to test than mixing them into one broad description of the company.
How to put it into practice
Choose one business model and a clear customer segment. Describe the useful outcome and the specific offer, then outline how customers will discover it, buy it, receive it and obtain ongoing help.
Identify the resources, activities and partners needed to deliver that promise. Include work that is often omitted from a product idea, such as customer acquisition, onboarding, maintenance, support, administration and replacing a key supplier.
Connect the revenue arrangement with the cost and capacity structure. Estimate contribution and cash timing at plausible volumes. Mark which assumptions are observed, which are inferred and which are simply proposals requiring a test.
Prioritise the assumptions most capable of invalidating the model. Use a small paid experiment, supplier quote or operational trial to address them, then date and revise the model when the evidence changes.
An illustrative application
Illustrative SME: a technician business considers a monthly monitoring service instead of selling only individual call-outs.
Describe the customer group, monitoring outcome, service boundaries, acquisition channel and the ongoing support relationship required by the subscription.
List staff time, equipment, connectivity, reporting, partner dependencies and billing effort, including what happens when customers stop paying or need extra visits.
Compare a small paid subscription pilot with comparable call-out work, tracking contribution, cash collection, service hours and retention rather than subscription revenue alone.
The model becomes credible when demand, delivery and economics fit together. The canvas remains a record of the current explanation, not proof that the subscription is viable.
Measure the result
Contribution after acquisition and service costs
Paid conversion and retention by cohort
Service capacity consumed per account
Cash collection and partner dependence
Begin with actual costs and behaviour from comparable existing work. Set a pilot cohort, acquisition budget and follow-up period long enough to observe service use and at least the relevant billing or renewal cycle. Track each model separately so averaging does not hide an uneconomic customer segment.
Trade-offs and limits
Filling all nine areas can create false confidence when the entries remain untested assumptions.
Different customer groups or pricing models may need separate models with different costs and service needs.
Revenue growth can conceal rising acquisition costs, cash strain or delivery capacity that will not scale.
A first pilot to adapt
Draft one candidate model with the team, mark the three most consequential unknowns and test the riskiest affordable one with a small group of real customers. Update the model with observed demand, service effort and cash outcomes.
What would support the next decision?
Commit further resources only when critical customer, delivery and contribution assumptions are supported and the remaining exposures fit the business’s capacity and funding.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 16 / Customer experience
Design and test a relevant value proposition
Strategyzer: Value Proposition Canvas
The principle
Which important customer job, pain or desired gain does the offer actually address?
The Value Proposition Canvas examines a customer profile of jobs, pains and gains alongside an offering and the value it aims to create. The central task is to test the proposed fit with evidence, instead of assuming that a feature is valuable because the business can provide it.
Why it matters to a business
Businesses often describe an offer from the inside: a larger report, a faster processor or an extra dashboard. A customer may care more about completing an important task, avoiding a costly interruption or being able to explain a decision to someone else. Understanding that context helps concentrate effort on a relevant benefit.
Fit requires more than agreement in a workshop. Customers may say they like an idea but keep using an alternative when time, price, habit or trust enters the decision. A useful value proposition therefore connects customer evidence with observable behaviour and an operating model able to deliver the promised benefit.
How to put it into practice
Select one customer segment and a specific situation. Record the task the customer is trying to complete, difficulties encountered and outcomes that would matter. Separate statements backed by interviews or observation from the team’s assumptions.
Rank the important needs using evidence about frequency, consequence and the customer’s current workaround. Avoid treating every request as equally important or combining distinct customer groups into one imaginary average customer.
Describe exactly how the offer addresses the selected needs. For each claimed benefit, identify the feature or service behaviour required, the cost to deliver it and the evidence that would show it works for the customer.
Test the most important fit assumptions with prototypes, observed use or a paid small offer. Compare with the real alternative, including doing nothing, and revise both the customer understanding and the offer when observations disagree.
An illustrative application
Illustrative reporting service: a factory manager receives a technically detailed monthly document but struggles to identify which issues need action before the next shift.
Interview managers about the decisions they use the document for, asking for recent examples and the workarounds used when information is unclear.
Test an action summary that links each finding to its evidence and next decision, while preserving the necessary detail for specialist review.
Observe whether managers can identify the appropriate action more reliably, and compare preparation time, clarification calls and willingness to pay for the revised service.
A shorter or more attractive report is not automatically better. The improvement is the relevant customer outcome, supported by dependable evidence and an affordable delivery process.
Measure the result
Customer task completion and correct understanding
Paid conversion for the specific offer
Clarification or support effort
Contribution after the added service work
Use observed tasks and recent customer accounts to define a baseline, then compare the proposed offer with the current alternative under similar conditions. Agree the follow-up period and outcome before testing. Capture declined offers and failed uses as carefully as favourable comments so fit is not judged only by supporters.
Trade-offs and limits
Customers’ stated preferences can differ from what they will use or pay for in practice.
An offer can relieve one pain while creating another, such as transferring setup work to the customer.
Overfitting to a small vocal group can make the offer less useful or less economical for the intended market.
A first pilot to adapt
Choose one customer situation, list the two most important fit assumptions and test one with a simple prototype or paid service variant. Watch the customer attempt the task and record both outcome and delivery effort.
What would support the next decision?
Keep the value proposition when customers demonstrate the intended benefit and the business can deliver it reliably at an acceptable contribution and effort level.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 17 / Customer experience
Understand the progress customers seek
Clayton Christensen and collaborators: Jobs to Be Done
The principle
What progress is the customer trying to make in this situation?
Jobs to Be Done examines the circumstances and functional, social and emotional dimensions behind a choice. It asks why a person or organisation adopts an offering as a way to make progress, rather than assuming that demographic similarities or product features fully explain the decision.
Why it matters to a business
Customers with similar profiles can choose differently because their situations differ. A workshop customer booking a repair before a long journey may value certainty differently from someone comparing non-urgent maintenance prices. The same service can therefore be selected for different reasons that affect the offer and experience required.
The approach can reveal competition outside the usual product category. A customer may postpone work, borrow equipment or tolerate a manual workaround. Understanding the change from the old solution to a new one can improve which problem the business addresses and what reassurance or convenience the customer needs.
How to put it into practice
Choose a meaningful decision event, such as a recent purchase, cancellation or switch. Recruit people who made different choices and reconstruct what happened before, during and after the decision rather than asking only what features they would like.
Identify the circumstances, desired progress, alternatives and forces encouraging or discouraging change. Ask for specific incidents and evidence, and distinguish the customer’s account from the interviewer’s interpretation or preferred product idea.
Look for patterns in the progress sought and the situation. Consider practical outcomes together with emotional or social concerns when customers describe them. Avoid turning a general aspiration into a job so broad that any product could claim to satisfy it.
Design an offer or experience around a well-supported pattern and test it with customers in that situation. Check whether the proposed change affects actual selection, use and delivery economics, then refine the understanding as new cases appear.
An illustrative application
Illustrative garage: several customers want maintenance completed without losing an unpredictable amount of time away from work.
Interview recent customers who booked, postponed or used another provider, reconstructing their scheduling constraints and the alternatives they considered.
Test clear booking windows, honest completion updates and a defined collection arrangement for a small group facing that situation.
Compare paid bookings, completion reliability and total service effort with the existing process rather than treating positive interview reactions as proof of demand.
The proposed job is reliable progress through a specific scheduling problem. The customer research and trial must show that this matters enough to influence behaviour and that the business can deliver it.
Measure the result
Choice and paid uptake in the defined situation
Completion of the customer’s intended task
Switching, postponement and cancellation reasons
Cost to deliver the supporting experience
Build an evidence record from several recent decision stories, deliberately including different outcomes. Use qualitative patterns to form a specific hypothesis, then trial a service variant over comparable booking cycles. Measure both selection and fulfilment; a small interview sample is not a market-size estimate or a causal effect study.
Trade-offs and limits
Interview stories are subject to memory and explanation biases; check specific events and contradictory cases.
A very broad job statement may provide little guidance about which offer or trade-off to choose.
Social or emotional interpretations should come from respectful evidence, not assumptions about a demographic group.
A first pilot to adapt
Reconstruct a small set of recent customer choices, identify one consistent progress-and-circumstance pattern and test a limited experience designed around it. Keep the alternative and the customer’s total effort explicit.
What would support the next decision?
Invest further when the pattern explains observed choices and a targeted offer produces useful customer behaviour at a viable cost, while contrary evidence is addressed.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 18 / Customer experience
Map the customer’s complete journey
Customer-journey mapping: Nielsen Norman Group
The principle
Where does the customer encounter unnecessary effort or uncertainty across the whole experience?
A customer-journey map represents a particular person’s or customer group’s actions and experience across a defined scenario and time period. It combines stages with evidence about goals, thoughts, difficulties and opportunities. A useful map distinguishes observed findings from assumptions about how the experience feels.
Why it matters to a business
Departments often optimise the part of the experience they own while the customer struggles between them. Enquiry handling may be quick, but quoting, scheduling and invoicing can require the customer to repeat information or chase an unclear commitment. A whole-journey view makes those hand-offs visible.
The map helps people agree which moment deserves attention and who will improve it. It also provides a way to connect qualitative accounts with event data. The point is an evidenced decision about the experience, rather than a polished poster or an emotion line drawn without research.
How to put it into practice
Choose one actor, scenario and goal, with clear beginning and end points. For example, distinguish a first-time emergency repair from a returning customer arranging routine maintenance because their needs and expectations may differ.
Gather the actual sequence through interviews, observation and relevant records. Include failed attempts, channel changes, waiting and work the customer does outside the business. Label any anticipated future experience as an assumption to be tested.
For each stage, connect actions with evidence about goals, difficulties and expectations. Identify moments where customers lose information, confidence or time, and check whether different customer groups experience the same stage differently.
Prioritise an important, actionable problem and assign ownership across departments. Test a change and update the map with the results. Link the customer-facing issue to a service blueprint when the internal cause or dependency needs investigation.
An illustrative application
Illustrative home-service firm: new customers move from a web enquiry to a call, quote, booking, visit, payment and possible follow-up.
Review several completed and abandoned enquiries and interview customers about where they had to repeat details or chase a response.
Identify an uncertain gap between quote acceptance and a confirmed visit, then trial a single confirmation containing the agreed scope and next step.
Compare booking completion, repeated contacts and delivery accuracy while checking that the confirmation remains correct when the schedule changes.
The customer map identifies where a problem is experienced. It does not, by itself, identify the internal root cause or prove that a proposed communication change will improve it.
Measure the result
Completion and abandonment by journey stage
Customer contacts needed to complete the goal
Time between important commitments
Errors and customer effort after the change
Link consistent stage timestamps to an evidence sample of customer experiences before the pilot. Compare similar scenarios and customer groups over the same completion window. Follow the entire journey after the change so reduced effort at booking does not conceal extra confusion at delivery or payment.
Trade-offs and limits
One map for all customers can combine incompatible needs and hide important differences.
An imagined journey or unsupported emotion curve can reinforce internal assumptions instead of challenging them.
A stage conversion improvement can shift problems downstream, so end-to-end completion must remain visible.
A first pilot to adapt
Map one recent customer scenario with evidence from both completed and failed attempts. Select one hand-off, name a cross-functional owner and test a small change with a clear outcome and downstream guardrail.
What would support the next decision?
Retain the change when customers can complete their intended goal with less avoidable effort or uncertainty and delivery quality and economics remain acceptable.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 19 / Customer experience
Connect the experience to the work behind it
Service blueprinting: Nielsen Norman Group
The principle
Which internal dependencies create the customer’s experience?
A service blueprint connects a particular customer journey with the visible interactions, behind-the-scenes activities and supporting people or systems required to deliver it. It makes relationships and hand-offs explicit so the business can investigate why a customer-facing problem occurs.
Why it matters to a business
A customer may experience an unclear booking or a long wait, while the cause sits in a stock record, approval rule or information hand-off. Changing the wording on the website will not reliably solve an internal dependency that remains broken. Blueprinting brings the relevant activities into one shared discussion.
The practical benefit is coordinated responsibility. Staff can see what a preceding activity must provide and what a later activity depends on, including exceptions. A blueprint also helps managers judge whether a proposed customer promise requires new information, training, capacity or support rather than simply asking employees to try harder.
How to put it into practice
Choose the customer scenario and the part of the journey to investigate. Start from the actual customer actions and touchpoints, using evidence from completed and unsuccessful cases rather than describing only the intended process.
Identify the front-stage actions the customer sees and the backstage work that supports each one. Add the systems, partners, records and other support activities needed, including where people wait for information or permission.
Trace hand-offs and failure points with the people responsible for the work. Record what must be complete, correct and available at each transition, who owns exceptions and how a failure becomes visible before affecting the customer.
Trial a change to one dependency and observe both the customer outcome and internal effort. Update responsibilities and working instructions only after confirming that the revised process handles normal variation and important exceptions.
An illustrative application
Illustrative technical-service team: the website confirms a visit before the parts store has checked whether the required item is available.
Map the customer confirmation alongside scheduling, parts identification, stock checking and technician preparation.
Define which part and scope details must be verified before a firm visit commitment, with a route for urgent exceptions.
Trial the revised hand-off and compare rescheduled visits, booking lead time and the staff effort needed to resolve exceptions.
The blueprint exposes the dependency; the test examines whether changing it helps. An additional check that prevents failed visits may still need redesign if it creates an excessive booking delay.
Measure the result
Commitments changed after confirmation
First-time visit completion
Waiting at the selected hand-off
Total effort across participating teams
Collect baseline timestamps and exceptions across a representative service cycle. Trial the revised dependency with comparable job types and follow them through completion, recording both delays prevented and extra checks introduced. Include exceptional cases in the review instead of judging the process only on straightforward work.
Trade-offs and limits
A blueprint can become a description of an ideal process unless checked against actual cases and workarounds.
Adding checks everywhere may slow delivery without addressing the important failure mechanism.
Cross-department responsibility needs an owner with authority to resolve conflicting local priorities.
A first pilot to adapt
Choose one unreliable promise, bring the customer-facing and support teams together and map its dependencies. Agree one specific hand-off rule, pilot it on a limited workflow and review exceptions before expanding it.
What would support the next decision?
Keep the change when the customer promise becomes more reliable and the total waiting, cost or effort across the service remains acceptable.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 20 / Strategy & markets
Test the riskiest business assumption early
Eric Ries: Lean Startup
The principle
What must we learn before investing in the full solution?
Lean Startup uses a build–measure–learn feedback loop to test business assumptions through a limited product or service and observable customer response. A minimum viable product is a vehicle for learning about a consequential assumption, rather than an excuse to ignore essential reliability or customer obligations.
Why it matters to a business
A team can spend months building features while the biggest uncertainty is whether customers care enough about the problem to change their behaviour. Testing a meaningful assumption early can reveal whether the offer, price or delivery approach deserves further investment before costly commitments accumulate.
The useful unit of progress is what the business has learned, including a result that argues against its preferred idea. An attractive demonstration or a growing sign-up list may not answer whether customers pay, receive value and can be served sustainably. The experiment must match the assumption.
How to put it into practice
Write the business model assumption that would most seriously undermine the proposal if false. Examples include willingness to pay, the ability to deliver the outcome with available staff or repeat use after the first demonstration.
Design the smallest honest test that can provide relevant evidence. It might be a manual service, prototype or limited paid trial. Clearly state the offer and limitations, and maintain the safety, privacy and reliability needed for that use.
Define the behavioural outcome and comparison before collecting results. Measure actual use, payment, completion or service effort as appropriate, along with a guardrail that detects customer harm or unsustainable delivery cost.
Review the result against the original assumption. Decide whether to persevere, change an important part of the model or stop. Explain what the evidence supports and what remains uncertain before committing to a larger version.
An illustrative application
Illustrative SME: a developer wants to build a full scheduling application for local maintenance contractors but has not tested whether contractors would use and pay for the proposed coordination service.
Recruit a small group for a clearly described, manually supported scheduling pilot with agreed service boundaries.
Track which jobs are actually coordinated, the manual effort required, the price customers accept and whether they return after initial help.
Use the observed process to decide what software could improve, rather than treating every manual step as a feature that must be automated.
A manual pilot can test demand and workflow without proving that a future automated system will scale or retain the same customers. Each important later assumption needs its own evidence.
Measure the result
Paid activation or completed use
Repeat behaviour within a defined cohort
Service effort per delivered outcome
Contribution after acquisition and support
Set the target segment, recruitment channel, experiment limit and follow-up period before launch. Preserve the denominator of all invited or assigned customers, not just active supporters. Compare cohorts consistently and separate one-time assisted use from behaviour that continues when normal support conditions apply.
Trade-offs and limits
A weak test can measure curiosity while leaving willingness to pay or delivery feasibility unanswered.
Changing several model assumptions after every response can prevent an interpretable comparison.
Learning quickly does not justify misleading customers or exposing them to an inadequately controlled service.
A first pilot to adapt
Choose one material unknown, define a limited test and a stopping budget, and collect a small but informative set of behavioural observations. Hold a review where abandoning the idea is a legitimate outcome and record the reason for the next step.
What would support the next decision?
Invest further when the test addresses the stated assumption with useful evidence, viable delivery and acceptable customer outcomes; otherwise adapt or stop deliberately.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 21 / Execution & change
Link financial results to their operating drivers
Robert Kaplan and David Norton: Balanced Scorecard
The principle
Are we tracking the capabilities and processes needed to deliver our strategy?
The Balanced Scorecard connects strategy with objectives and measures across financial results, customers, internal processes, and learning or organisational capacity. It encourages a connected view of performance. Relationships between the measures are strategic hypotheses to examine, not proof of causation.
Why it matters to a business
Financial results often appear after the decisions that caused them. A business can meet a current margin target while reliability, customer trust or specialist capacity deteriorates. A broader but selective measurement system can make those conditions visible while there is still time to respond.
The scorecard is most useful when its measures express the organisation’s actual strategy. A generic collection of dozens of indicators creates reporting effort and conflicting targets. Each selected measure should explain an important objective, an operating decision or a relationship management intends to learn about.
How to put it into practice
State the intended customer value and the financial or resource outcome that makes it sustainable. Identify the internal processes and capabilities needed, and write the hypothesised links between them in plain language.
Select a small set of measures with clear definitions, owners, data sources and review frequency. Distinguish lagging outcomes from leading signals and add balancing measures where a target could create a damaging incentive.
Agree the actions triggered by a meaningful change, considering normal variation and context. Avoid automatically averaging unlike measures into one score, because a severe quality problem should not disappear inside an otherwise favourable total.
Review the measures together in management decisions. Check whether supposed drivers actually precede relevant outcomes, learn from contradictions and remove measures that do not inform action or whose collection cost exceeds their value.
An illustrative application
Illustrative service workshop: its strategy is dependable specialist maintenance, but the existing monthly meeting examines revenue and payroll cost almost exclusively.
Add an objective for reliable first-time completion, supported by parts preparation and skill coverage alongside contribution and cash collection.
Define one relevant measure for each objective and a quality guardrail, with a responsible owner and an agreed data source.
Review whether better preparation and capability coincide with improved completion and customer outcomes over several operating cycles, allowing for changes in job mix.
The scorecard explains how management expects the business to work. Evidence may support or challenge that explanation; a dashboard alone cannot demonstrate that a capability programme caused improved profit.
Measure the result
Contribution and cash collection
Customer repeat business or delivery reliability
First-time completion
Coverage of essential skills and planned maintenance
Establish definitions and historical baselines before changing targets. Review operating signals at an appropriate frequency, then follow customer and financial outcomes over their natural lag. Use comparable segments and variation analysis rather than reacting to every monthly movement or claiming causation from a shared trend.
Trade-offs and limits
Too many indicators dilute attention and create measurement cost without better decisions.
Targets can be gamed when staff optimise the visible number at the expense of customer outcomes.
A single weighted total can conceal an unacceptable result on a critical quality or financial constraint.
A first pilot to adapt
For one strategic theme, choose four to six connected measures spanning outcomes, processes and capability. Use them in three management reviews, recording which decisions they changed and whether the hypothesised relationships remain plausible.
What would support the next decision?
Keep the scorecard when it informs specific decisions, reveals important trade-offs and supports sustained delivery without creating excessive reporting or harmful incentives.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 22 / Execution & change
Translate priorities into observable outcomes
Objectives and Key Results: Andy Grove and John Doerr
The principle
What specific outcome will show that this priority moved forward?
OKRs connect a qualitative objective with measurable key results over a defined period. They help make priorities and progress explicit. A key result should indicate a meaningful outcome or milestone relevant to the objective, rather than simply counting activity or replacing every operational control.
Why it matters to a business
Teams can finish many tasks while the business priority remains unchanged. Building a dashboard, attending training and holding meetings may be useful work, but completion does not establish better customer delivery. Outcome-focused results make the purpose of those activities easier to evaluate.
Clarity also helps teams negotiate dependencies and resource limits. A small number of shared priorities can expose when simultaneous promises are incompatible. The method works through discussion and review; a target imposed without understanding capacity or incentives may instead encourage concealment, low-quality work or avoidance of difficult customers.
How to put it into practice
Choose a small number of important objectives for a defined period. Explain the business problem and involve the people whose work and support are needed, so the objective describes a meaningful improvement rather than a slogan.
Define key results using clear baselines, targets, dates and measurement rules. Prefer outcomes connected to the objective, while distinguishing an exploratory learning result from a committed delivery promise and the activities intended to achieve it.
Check feasibility, dependencies and guardrails. Ask what could worsen if the team maximised each result, including quality, customer access, cash or workload. Make resource and cross-team commitments explicit before agreeing the plan.
Review progress regularly and use the conversation to unblock work and revise assumptions. At the end, assess outcomes and learning together. Do not treat one universal completion percentage as a reliable assessment of every team or individual.
An illustrative application
Illustrative dispatch team: the objective is to make delivery commitments more dependable during a quarter.
Set an illustrative key result to reduce late dispatch from a measured 12% baseline to 7%, with an agreed order definition and due-date rule.
Include a guardrail that wrong shipments and overtime do not rise beyond agreed limits, and name the support needed from stock control.
Treat a new preparation checklist as an intervention to test; track whether it changes late dispatch rather than declaring success because the checklist was introduced.
The five-percentage-point target is an illustrative management choice. The evidence needed to judge improvement depends on order counts, variation and the comparison, not on how attractive the target sounds.
Measure the result
Progress on the defined customer outcome
Quality or cost guardrails
Dependencies resolved on time
Actual resource use and workload
Use a representative baseline and keep measurement definitions stable for the whole period. Review a trend with denominators rather than isolated percentages, recording significant mix changes. Evaluate results at the agreed horizon with uncertainty and context; ongoing critical operating controls continue alongside the OKRs.
Trade-offs and limits
Activity counts can masquerade as outcomes and reward busy work without useful progress.
Stretch and committed goals need clear expectations; confusing them can create unfair judgements and risk-taking.
Linking every target directly to reward can encourage gaming or concealment of problems.
A first pilot to adapt
Trial one team objective with two or three key results, an explicit quality or cost guardrail and a short weekly dependency review. Record the interventions tried, the outcome trend and what the team learns about capacity.
What would support the next decision?
Continue when the system improves focus and outcome-oriented decisions without hiding critical operating needs, creating harmful incentives or demanding unrealistic resources.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 23 / Operations & improvement
Improve an existing process with DMAIC
Six Sigma: Define, Measure, Analyze, Improve, Control
The principle
Which verified process cause should we change, and how will the improvement be maintained?
DMAIC is a structured improvement approach for an existing process: define the problem, establish reliable measurement, analyse causes, improve the process and put controls in place to sustain the result. The phases connect evidence and implementation rather than jumping from an observed symptom to a preferred solution.
Why it matters to a business
Repeated defects or delays can generate many plausible explanations. A team may blame an operator, supplier or machine because that explanation is familiar, while inconsistent definitions or a shared upstream issue drive the pattern. A structured project can turn that disagreement into a testable investigation.
The business benefit is a more defensible choice of change and a plan to keep it working. The approach is particularly useful when the problem is material and its cause is uncertain. It does not mean every small improvement needs a large project, specialist jargon or a collection of statistical tests.
How to put it into practice
Define the customer requirement, process boundary, problem magnitude and project owner. State the gap using actual performance rather than embedding the proposed solution in the problem statement, and agree the commercial reason to address it.
Measure: define the event or characteristic consistently, check the measurement system and establish performance across relevant products, shifts or conditions. Record denominator and sampling information so apparent differences can be interpreted correctly.
Analyze: use the process knowledge and data to examine possible causes, including interactions and alternative explanations. Distinguish association from cause and select an informative experiment or comparison when observations alone cannot establish the mechanism.
Improve and Control: pilot a change aimed at the supported cause, evaluate outcome and guardrails, then define ownership, standard work, monitoring and a response to recurrence. Verify performance persists after the initial project attention fades.
An illustrative application
Illustrative packing line: the proportion of leaking packs has risen, and staff disagree about whether film, settings or shift practices are responsible.
Agree what counts as a leak, validate the inspection method and collect results with product, film batch, settings and operating conditions.
Use the baseline to choose a focused investigation or a controlled, appropriately designed settings trial rather than testing every recorded variable without a plan.
After a justified change, monitor accepted output and leak rate using suitable denominators, with a named owner and an action plan if the process signals a new problem.
A lower defect rate during a demonstration is not the complete result. The process needs reliable measurement, an interpretable change and evidence that performance remains useful during ordinary work.
Measure the result
Defect or rework rate with its denominator
Customer-critical process outcome
Cost of poor quality
Persistence of performance after the pilot
Establish a representative baseline with a capable measurement method, then define the comparison and analysis before the improvement trial. Use appropriate control charts for ongoing monitoring, distinguishing control limits from customer specifications. Confirm persistence across enough ordinary operating cycles to expose relevant variation and exceptions.
Trade-offs and limits
A large project can be disproportionate for a simple, obvious problem that needs a small controlled improvement.
Many exploratory tests increase false discoveries; analysis should follow the process question and an agreed plan.
A statistical association or a significant p-value does not establish that the selected change will be commercially worthwhile.
A first pilot to adapt
Charter one material recurring problem, validate its measurement and investigate a limited set of plausible causes. Run a focused improvement trial, then maintain an agreed monitoring and response routine beyond project completion.
What would support the next decision?
Standardise when the change improves the customer-critical outcome at acceptable cost, its mechanism is credible and ordinary process monitoring supports sustained performance.
This is an independent practical adaptation. A framework is a starting point for learning, not a guaranteed effect on growth.
STRATEGY PLAYBOOK 24 / Execution & change
Make organisational change workable with people
John Kotter: leading change, adapted to a practical pilot
The principle
Can the people affected understand, shape and carry out the change?
Kotter’s change framework addresses a shared reason for change, a guiding coalition, a clear direction, participation, removal of barriers, early progress and reinforcement. Applied locally, it is a way to organise genuine involvement and sustained adoption, rather than treating communication as a substitute for workable conditions.
Why it matters to a business
A technically sound system can fail in everyday use because people lack time, access, training or confidence that the new process will help. Resistance may contain useful information about a broken assumption or an unfair burden. Understanding that information can improve the change itself.
Change is also a coordination problem. Different teams may need to alter records, responsibilities or incentives together. A sequence of announcements rarely resolves those dependencies. The business needs credible participation, practical support and a feedback route that remains open after the initial launch.
How to put it into practice
Explain the problem and the reason to act using evidence people recognise. Involve affected employees and credible representatives from the start, including those who understand exceptions and those likely to carry additional work.
Agree the desired future working pattern and practical responsibilities. Identify what people will do differently, what support they need and what concerns are still unresolved. Make space for changes to the proposal rather than presenting consultation as a completed decision.
Remove barriers and pilot with a supported group. Provide access, realistic training, time and help. Look for meaningful early outcomes and verify that they improve customer or operational results instead of celebrating usage counts alone.
Use the learning to adapt and widen the change carefully. Update responsibilities, working instructions and management routines, recognise useful contributions and continue monitoring whether benefits and burdens remain fairly understood and sustainable.
An illustrative application
Illustrative service company: a new digital job-record system is intended to reduce missing information between technicians and accounts.
Ask technicians and accounts staff to walk through real recent jobs, including poor connectivity, corrections and urgent work, before fixing the new workflow.
Pilot with a willing group that receives training, suitable devices, time to learn and an accessible help contact; retain a defined route for essential exceptions.
Compare missing records, billing delay, duplicate entry and staff workload, and revise the process before expecting everyone to adopt it.
High login counts do not establish useful adoption. The change is working when people can complete the real task and the intended operating outcome improves without an unacceptable burden or loss of voice.
Measure the result
Successful completion of the changed task
Missing information and downstream delay
Help requests and unresolved barriers
Staff workload and customer delivery guardrails
Collect a baseline on current work and involve a range of affected roles in defining the measures. Follow the pilot through complete job and billing cycles, using comparable cases where feasible. Review outcomes and qualitative feedback together, and continue checking after the launch support is reduced.
Trade-offs and limits
A supportive pilot group may not represent the conditions, skills or concerns across the whole organisation.
Artificial urgency, selective success stories or superficial consultation can undermine trust and hide problems.
Adoption can fade when old incentives, workload or unsupported exceptions conflict with the new routine.
A first pilot to adapt
Choose one cross-team workflow, involve affected roles in designing a small change and pilot it with practical support. Publish what was learned, which concerns changed the design and what must be resolved before wider adoption.
What would support the next decision?
Expand when ordinary users can perform the changed work reliably, the intended outcome improves and remaining barriers, costs and workload are acceptable and owned.