Aller au contenu
Londres, Royaume-Uni · Fondé en 1994
Français

Unit 5: Predictive Analytics and Data-Driven Decisions

How forecasting, regression and classification models work, how to judge whether a prediction is good enough, and how to combine analytics with judgement, ethics and governance to make better decisions.

Unit 5 of 5 · about 54 minutes

5.1 Forecasting and regression basics

Predictive analytics uses patterns in historical data to estimate what is likely to happen in the future or in cases not yet observed. Two of the most widely used approaches in business are forecasting, which predicts values over time, and regression, which estimates how an outcome relates to one or more factors. You do not need to build these models yourself to use them well, but you do need to understand what they assume and how far to trust them.

Patterns in time series

A time series is a sequence of values recorded at regular intervals, such as weekly sales or monthly website visits. Most business time series combine several components:

  • Trend: the long-term direction, upwards, downwards or flat.
  • Seasonality: regular patterns that repeat over a fixed period, such as higher retail sales before public holidays or lower office supply orders in summer.
  • Cycles: longer, less regular fluctuations linked to economic conditions.
  • Irregular variation: random noise and one-off events.

Plotting the data as a line chart is the essential first step, because it shows which components are present.

Simple forecasting methods

Simple methods are often surprisingly effective and provide a benchmark against which more complex models can be judged.

  • A naive forecast assumes the next period will equal the last one.
  • A seasonal naive forecast assumes each period will equal the same period last year, which works well for strongly seasonal businesses.
  • A moving average uses the average of recent periods. If the last three months' sales were 120, 135 and 150 units, a three-month moving average forecast is 135. Notice that it lags behind a rising trend, because it averages older, lower values.
  • Exponential smoothing gives more weight to recent observations, and extended versions can capture trend and seasonality.

More advanced methods, including statistical time series models and machine learning, can incorporate many influencing factors, but they are not always more accurate, especially with limited data.

Regression

Linear regression estimates the relationship between an outcome, called the dependent variable, and one or more explanatory variables. Suppose a courier analyses past deliveries and finds that delivery time in minutes is approximately 15 + 2.5 x distance in kilometres. The 15 represents fixed time, such as loading and parking, and 2.5 is the extra time per kilometre. A 10-kilometre delivery is predicted to take 15 + 25 = 40 minutes.

Regression output usually includes a measure called R-squared, the proportion of variation in the outcome explained by the model. An R-squared of 0.7 means the model explains about 70 per cent of the variation in delivery times; the rest is due to factors not included, such as traffic. Multiple regression can include several variables at once, such as distance, time of day and parcel size.

Remember: A regression shows association, not necessarily cause. It is also reliable only within the range of data used to build it: predicting a 200-kilometre delivery from a model built on local deliveries is extrapolation and may be badly wrong.

Measuring forecast accuracy

Forecasts should be tested by comparing them with what actually happened. Common measures include the mean absolute error (the average size of errors, in the original units) and the mean absolute percentage error (the average error as a percentage of actual values). Check also for bias: forecasts that are consistently too high or too low indicate a systematic problem, often linked to optimism or targets influencing the forecast.

It is good practice to separate the forecast, which is an honest estimate of what is likely to happen, from the target, which is what the organisation hopes to achieve. When the two are merged, forecasts tend to drift towards targets, and the organisation loses early warning of shortfalls.

Presenting forecasts

Every forecast is uncertain, so present a range rather than a single number where possible, such as "between 4,200 and 4,800 units, with 4,500 most likely". Explain the main assumptions and what could change the outcome, such as a competitor's promotion or supply constraints.

In practice

For a metric you forecast or plan, such as monthly demand or staffing needs, try comparing last year's forecasts with actual results. Calculate the average error and check whether forecasts were biased. Then test a simple seasonal naive forecast over the same period. If the simple method performs as well as the current approach, that is valuable information: it may free up effort, and it gives a clear benchmark for any future improvements.

5.2 Classification models and evaluating predictions

Many business predictions are not about quantities but about categories: will this customer cancel or stay, is this transaction fraudulent or genuine, will this invoice be paid late or on time? Models that predict categories are called classification models. They are widely used in marketing, finance, risk and operations, and understanding how they are evaluated helps you judge whether to rely on them.

How classification models learn

A classification model is trained on historical examples where the outcome is known. For a customer cancellation model, each example might include the customer's tenure, usage, complaints and payment history, plus whether they cancelled. The model learns patterns linking these features to the outcome, then produces a score or probability for new customers. Common techniques include logistic regression, decision trees and ensembles of many trees, but the principles of evaluation apply to all.

Training, testing and overfitting

A model must be tested on data it has not seen during training. Otherwise, it may simply memorise the training examples, including their noise, and perform poorly on new cases. This is called overfitting. The usual approach is to hold back a portion of the data as a test set, or to test on a later time period, which better reflects how the model will be used in practice.

The confusion matrix

Suppose a model is tested on 1,000 customers, of whom 100 actually cancelled. The model flags 150 customers as likely to cancel.

Predicted to cancelPredicted to stayTotal
Actually cancelled70 (true positives)30 (false negatives)100
Actually stayed80 (false positives)820 (true negatives)900
Total1508501,000

From this table, several measures can be calculated:

  • Accuracy, the share of all predictions that were correct: (70 + 820) / 1,000 = 89 per cent.
  • Precision, the share of flagged customers who actually cancelled: 70 / 150, about 47 per cent.
  • Recall, the share of actual cancellations the model caught: 70 / 100 = 70 per cent.

Why accuracy can mislead

The model's accuracy of 89 per cent sounds impressive, but a model that simply predicted that nobody would cancel would be correct for 900 out of 1,000 customers, an accuracy of 90 per cent, while being useless for retention. When the outcome of interest is rare, as with fraud, cancellations or equipment failures, precision and recall are far more informative than accuracy. Always compare a model with a simple baseline.

In the example, the model's real value lies in its recall and precision. Without it, a retention team calling 150 random customers would expect to reach about 15 who were going to cancel, since one in ten customers cancels. Using the model, the same 150 calls reach 70. That difference, not the accuracy figure, is what makes the model worth considering.

Tip: Ask what each type of error costs. If contacting a customer is cheap and losing one is expensive, high recall matters more than precision. If each intervention is costly, precision becomes more important.

Thresholds and trade-offs

Most models produce a score, and the organisation chooses a threshold above which cases are flagged. Lowering the threshold catches more true cases, increasing recall, but also flags more false alarms, reducing precision. The right threshold is a business decision, based on costs, benefits and capacity. A retention team that can call only 100 customers a week might set the threshold so that the model flags roughly that number, prioritising those with the highest scores.

Monitoring models over time

Models are trained on the past, and the world changes. New products, pricing changes, economic conditions or changes in customer behaviour can make a model less accurate over time, a problem often called drift. Models in use should be monitored regularly, comparing predictions with actual outcomes, and retrained or retired when performance falls.

In practice

If your organisation uses predictive scores, such as lead scores, risk ratings or demand forecasts, ask how the model was tested, how it compares with a simple baseline, what its precision and recall are at the current threshold and when it was last reviewed. You do not need to understand the algorithm to ask these questions, and the answers will tell you how much weight to give the model's outputs in your decisions.

5.3 Making data-driven decisions responsibly

The ultimate purpose of business analytics is better decisions. Yet organisations with plenty of data and capable analysts still make poor decisions when evidence is ignored, misread or used selectively. This final lesson brings together the course by looking at how evidence, judgement, ethics and governance combine in practice.

Data-informed, not data-dictated

Good decision-making combines analytical evidence with experience, context and values. Data is strongest at revealing patterns, testing assumptions and measuring results. Human judgement is needed to frame the question, interpret results in context, weigh factors that are hard to quantify and take responsibility for the decision. Many practitioners prefer the term data-informed to emphasise this balance.

Common decision biases

Data can help counter well-known cognitive biases, but only if people are aware of them:

  • Confirmation bias: seeking or accepting evidence that supports an existing belief while discounting evidence against it.
  • Anchoring: relying too heavily on the first number seen, such as last year's budget or an initial estimate.
  • Survivorship bias: drawing conclusions only from cases that "survived", such as studying successful products while ignoring those that were withdrawn.
  • Overconfidence: underestimating uncertainty and the range of possible outcomes.
  • Availability bias: giving too much weight to recent or memorable events, such as one dramatic complaint.

Practical safeguards include agreeing success criteria before seeing results, inviting someone to argue the opposite case, presenting ranges rather than single figures and reviewing decisions after the event to learn from them.

Ethics and fairness

Analytics can affect people's opportunities and treatment, especially when used to target offers, set prices, screen applicants or assess risk. Key ethical questions include:

  1. Purpose: is the use of data legitimate, proportionate and something people would reasonably expect?
  2. Fairness: could the analysis or model disadvantage particular groups, for example because historical data reflects past discrimination?
  3. Transparency: can the organisation explain how decisions are made, especially to those affected?
  4. Privacy and security: is personal data minimised, protected and used lawfully?
  5. Accountability: who is responsible if something goes wrong, and how can people challenge a decision?

Data protection laws in many countries address some of these questions directly. For example, the GDPR gives individuals rights in relation to decisions based solely on automated processing that produce legal or similarly significant effects. Specific rules on the use of AI, such as the EU AI Act, are also being introduced in some jurisdictions. Organisations should involve their data protection and legal specialists when designing analytics that affect individuals.

Remember: Just because something can be predicted or measured does not mean it should be. Ask whether the people affected would consider the use of their data fair and reasonable.

Data governance and culture

Data governance sets out who is responsible for data, how quality is maintained, how definitions are agreed and how access is controlled. Without it, different teams produce conflicting figures, trust erodes and meetings are spent arguing about numbers rather than decisions. A healthy data culture also depends on leadership behaviour: leaders who ask for evidence, accept uncomfortable findings and reward learning from failed experiments encourage better use of analytics throughout the organisation.

Building analytics capability

Organisations rarely become data-driven through a single large project. Progress more often comes from small, well-chosen initiatives that deliver visible value, such as a reliable weekly dashboard or a successful pricing test, combined with investment in data quality, skills and governance. Individuals can contribute by improving their own data literacy, documenting their work and sharing good practice.

Useful early steps include agreeing a single definition for each key metric, appointing owners for important datasets, creating a shared glossary and setting up a simple process for requesting analysis, so that work is prioritised by the value of the decisions it supports.

In practice

Choose a recent decision in your team and review it using the ideas in this course. Was the question clearly framed? Was the data reliable and fit for purpose? Were uncertainty and alternative explanations considered? Were there ethical or privacy issues? What happened after the decision, and was the outcome measured? Writing a short reflection like this, and sharing it with colleagues, is one of the most effective ways to build better decision-making habits across a team.

Case study: Introducing a late-payment prediction model

Northgate Wholesale, a fictional supplier of catering equipment, wanted to reduce overdue invoices. A data analyst built a model that scored each new invoice for the likelihood of late payment, using customers' payment history, order size and account age.

On test data from the most recent six months, the model flagged invoices that included about two-thirds of the invoices later paid late, with roughly half of flagged invoices turning out to be late. The credit control team could make about 60 extra reminder calls a week, so the threshold was set to flag that number. Before full rollout, the team ran a trial: flagged invoices were randomly split, with half receiving a courtesy call before the due date.

The called group paid late noticeably less often. The finance director approved the approach, but asked for safeguards: the score would only prompt a friendly reminder, never a change in credit terms without human review, and performance would be checked quarterly. When a new customer segment was added a year later, monitoring showed reduced accuracy, and the model was retrained.

Activity

A model predicts which job applicants are most likely to succeed, based on data about past employees. Identify three risks or ethical concerns with using this model, and explain how each could be addressed. Then state what evidence you would want before allowing the model to influence real hiring decisions.

Compare with a model answer

A good answer identifies risks such as historical bias, where past hiring and promotion favoured certain groups, so the model learns and repeats that pattern; proxy discrimination, where variables such as postcode or career gaps stand in for protected characteristics; and a lack of transparency, so applicants cannot understand or challenge outcomes.

Mitigations include testing outcomes across groups for unfair differences, removing or reviewing problematic variables, keeping a human decision-maker responsible, explaining the process to applicants and consulting data protection and legal specialists. Before use, the answer would want evidence of performance on recent test data compared with a simple baseline, a fairness assessment, a clear and lawful purpose, and a monitoring plan. The strongest answers suggest starting with a limited, advisory role.

Key takeaways

  • Forecasts combine trend, seasonality and noise; simple methods provide strong benchmarks, and forecasts should be presented as ranges and tested against actual results.
  • Regression estimates relationships between variables, but shows association rather than proven cause and should not be used far outside its data range.
  • Classification models must be tested on unseen data and judged by precision, recall and comparison with a baseline, not accuracy alone.
  • Choose model thresholds based on the costs of different errors and the capacity to act, and monitor models for drift.
  • Responsible, data-informed decisions combine evidence with judgement, guard against bias and address fairness, privacy, transparency and accountability.

Unit check

Create a free account to answer the check, save your progress and receive your free certificate.

Create a free account Log in
← Unit 4
WhatsApp