Business Intelligence

Chapter 11
Predictive, Prescriptive and AI-Enabled BI

Bachelors Program in Business Analytics
Business Intelligence   •   Bachelor

Predictive, Prescriptive and AI-Enabled BI

Introduction and Context

Business intelligence (BI) originally focused on reporting what had happened: sales dashboards, financial statements, operational scorecards, and descriptive summaries. Contemporary BI increasingly addresses three further questions:

  1. What is likely to happen? — predictive analytics.
  2. What should the organisation do? — prescriptive analytics.
  3. How can people and intelligent systems make better decisions together? — AI-enabled BI and human-in-the-loop decision support.

This progression does not mean that descriptive reporting has become unimportant. Reliable prediction and optimisation depend on trustworthy historical data, clearly defined measures, sound data governance, and an understanding of business context. A sophisticated model built on inaccurate or biased data may produce more misleading decisions than a simple report.

Predictive, prescriptive, and AI-enabled BI connect statistics, machine learning, operations research, simulation, optimisation, and human judgement. Their value is realised only when analytical outputs are translated into decisions, actions, and measurable outcomes.

Learning Objectives

By the end of this chapter, students should be able to:

  • distinguish descriptive, predictive, and prescriptive analytics;
  • explain forecasting, classification, clustering, optimisation, simulation, and recommendation methods;
  • select appropriate methods for common business problems;
  • interpret model accuracy, uncertainty, constraints, and business value;
  • evaluate augmented analytics, natural-language querying, and generative AI;
  • design human-in-the-loop decision support with suitable controls;
  • identify ethical, governance, privacy, security, and regulatory risks.

1. From Descriptive BI to Decision Intelligence

A useful analytical hierarchy is:

LayerCentral questionTypical output
DescriptiveWhat happened?Reports, dashboards, KPIs
DiagnosticWhy did it happen?Drill-downs, variance analysis
PredictiveWhat may happen?Forecasts, probabilities, risk scores
PrescriptiveWhat action is preferable?Optimised plans, recommendations
Decision intelligenceHow should action be governed and learned?Human-machine decision processes

The layers are related but not interchangeable. A forecast estimates future demand; it does not automatically determine the best inventory order. A recommendation may rank products but does not prove that a customer will buy one. A dashboard may reveal declining retention but does not establish whether the cause is price, service quality, or a competitor's offer.

A business problem should therefore be framed through four elements:

  • Decision: what choice must be made?
  • Decision-maker: who owns the choice?
  • Evidence: what data and assumptions are available?
  • Objective and constraints: what counts as success, and what limits action?

This framing prevents the common error of selecting an algorithm before defining the decision.

2. Forecasting: Estimating Future Values

Forecasting estimates an unknown future quantity using historical observations, explanatory variables, or both. Common applications include demand, revenue, cash flow, staffing, energy consumption, and customer contacts.

2.1 Time-series components

A time series may contain:

  • Level: the underlying average magnitude;
  • Trend: persistent upward or downward movement;
  • Seasonality: a repeating pattern with a known period;
  • Cycle: longer, often less regular movements;
  • Noise: unpredictable variation.

For an additive decomposition, a series can be represented conceptually as:

yt = Tt + St + Rt

where yt is the observed value at time t, Tt is trend, St is seasonal effect, and Rt is the residual. This form is suitable when seasonal fluctuations have approximately constant absolute size. A multiplicative form, yt = Tt × St × Rt, is more suitable when seasonal variation grows with the level. These are modelling assumptions, not universal laws.

2.2 Smoothing methods

A simple moving average of window length k is:

Ft+1 = (yt + yt-1 + … + yt-k+1) ÷ k

Here Ft+1 is the forecast for the next period. It treats the selected observations equally and is most useful when there is no strong trend or seasonality.

Exponential smoothing gives greater weight to recent observations:

Ft+1 = αyt + (1 − α)Ft

where 0 ≤ α ≤ 1. A high α responds rapidly to changes but may be sensitive to noise; a low value produces a smoother forecast. More advanced forms, such as Holt's method, model level and trend, while seasonal exponential-smoothing models also estimate seasonality.

2.3 Regression forecasting

Regression uses explanatory variables. A multiple linear model can be written as:

yi = β0 + β1xi1 + β2xi2 + … + βpxip + εi

where yi is the outcome, xij are predictors, βj are coefficients, and εi is the error term. The model assumes that the conditional mean is adequately represented by the specified relationship and that errors are appropriately treated for the purpose of inference or prediction. Forecasting with causal language requires stronger evidence than forecasting alone.

2.4 Measuring forecast performance

Common measures include:

MAE = (1 ÷ n) ∑|yi − ŷi|
RMSE = √[(1 ÷ n) ∑(yi − ŷi)2]
MAPE = (100 ÷ n) ∑ |(yi − ŷi) ÷ yi|

Here yi is the actual value, ŷi is the forecast, and n is the number of observations. MAE has the same units as the target. RMSE also has those units but penalises large errors more heavily. MAPE is undefined when yi = 0 and can be unstable for values near zero; it should not be used automatically. Evaluation should use time-ordered validation rather than random splitting when future information must not enter the training data.

Forecast uncertainty matters. A point forecast such as 10,000 units should normally be accompanied by an interval or scenario range. A forecast interval represents uncertainty about a future observation under the model and its assumptions; it is not a guarantee.

3. Classification: Predicting Categories or Probabilities

Classification assigns an observation to a category, such as churn/no churn, fraudulent/not fraudulent, or approved/referred. Many classifiers first estimate a probability and then apply a decision threshold.

Logistic regression models the probability of a binary outcome:

P(Y = 1 | x) = 1 ÷ [1 + e−(β0 + β1x1 + … + βpxp)]

The output lies between 0 and 1. A threshold, often 0.5 but not necessarily so, converts probability into a class. The threshold should reflect the relative costs of false positives and false negatives.

A confusion matrix contains true positives, true negatives, false positives, and false negatives. Important measures are:

Precision = TP ÷ (TP + FP)
Recall = TP ÷ (TP + FN)
Accuracy = (TP + TN) ÷ (TP + TN + FP + FN)

Precision asks, “Among predicted positives, how many were correct?” Recall asks, “Among actual positives, how many were detected?” Accuracy can be misleading with imbalanced classes. For example, a fraud model in a population with very little fraud may achieve high accuracy by predicting no fraud at all.

Other methods include decision trees, random forests, gradient-boosted trees, support-vector machines, and neural networks. Method selection should consider data volume, interpretability, latency, maintenance, calibration, and consequences of error—not merely benchmark accuracy.

4. Clustering: Discovering Groups Without Labels

Clustering is an unsupervised method that groups observations according to similarity. It is useful for customer segmentation, store profiling, product grouping, and anomaly exploration. It does not discover objectively “true” categories; results depend on variables, scaling, distance measure, algorithm, and chosen number of clusters.

In k-means clustering, observations are assigned to one of k clusters and centroids are updated to minimise within-cluster squared distance:

J = ∑j=1k ∑xi ∈ Cj ||xi − μj||²

Here Cj is cluster j, μj is its centroid, and J is the objective. The method generally assumes that centroid-based, reasonably compact groups are meaningful and is sensitive to scale and outliers. Standardising variables may be necessary when units differ. Hierarchical clustering, density-based methods, and model-based clustering address different structures.

Cluster quality should combine quantitative diagnostics, such as silhouette scores, with managerial interpretability and stability over time. A cluster that cannot support a different action is often not useful for BI.

5. Optimisation: Choosing the Best Feasible Action

Prescriptive analytics often uses optimisation. An optimisation model has:

  1. decision variables;
  2. an objective function;
  3. constraints;
  4. parameters and assumptions.

A generic maximisation problem is:

Maximise f(x)
subject to gr(x) ≤ br, r = 1,…,m
x ∈ X

Here x represents decisions, f(x) is the objective, gr(x) are constraint functions, br are resource limits, and X defines allowable decisions. A solution is feasible if it satisfies every constraint; it is optimal if no other feasible solution gives a better objective under the model.

For a simple product-mix problem, let x1 and x2 be units of products A and B. If contribution margins are £30 and £20, respectively, the objective is:

Maximise 30x1 + 20x2

If labour availability is 2 hours for A, 1 hour for B, and 100 hours are available, while material use is 1 unit for A, 2 units for B, with 80 material units available:

2x1 + x2 ≤ 100
x1 + 2x2 ≤ 80
x1, x2 ≥ 0

The model is a linear programme because both objective and constraints are linear. Real decisions may require integer variables, nonlinear relationships, multiple objectives, uncertainty, or fairness constraints. An optimiser cannot correct an invalid objective: maximising short-term sales may reduce long-term customer value if retention is omitted.

Sensitivity analysis examines how the solution changes when costs, demand, capacities, or constraints change. This is essential because an apparently precise optimum may be fragile.

6. Simulation: Exploring Uncertainty and Scenarios

Simulation represents the operation of a system and experiments with possible conditions. It is especially useful when analytical optimisation is difficult or when managers need to compare policies under uncertainty.

Types include:

  • Discrete-event simulation: models events such as arrivals, queues, and service completion;
  • Monte Carlo simulation: repeatedly samples uncertain inputs to estimate outcome distributions;
  • System dynamics: represents stocks, flows, feedback, and delays over time;
  • Agent-based simulation: models interacting individuals or entities.

A Monte Carlo model might sample demand D and lead time L, calculate profit for each trial, and summarise the resulting distribution. It can estimate probability of stockout, expected profit, or a service-level range. Its output is conditional on the input distributions and relationships. “Garbage in, garbage out” applies to simulation as strongly as to prediction.

Simulation and optimisation can be combined: simulation evaluates candidate policies, while optimisation searches for promising policies. Repeated simulation should use reproducible random seeds for development and should report uncertainty in estimated results.

7. Recommendation Systems

Recommendation systems rank items, actions, or content for a user or business. They are used in retail, media, banking, recruitment, and maintenance.

  • Content-based methods recommend items similar to those previously preferred.
  • Collaborative filtering uses patterns across users and items.
  • Knowledge-based methods use explicit rules, requirements, and constraints.
  • Hybrid systems combine several sources.

A basic collaborative-filtering approach may estimate a user–item score from a global mean, user effect, item effect, and interaction patterns. In matrix factorisation, a rating is often approximated by:

r̂ui = μ + bu + bi + puᵀqi

where r̂ui is predicted preference, μ is the global mean, bu and bi are user and item biases, and pu and qi are latent vectors. This is an approximation, not evidence that latent factors have a direct business interpretation.

Recommendation evaluation should include ranking metrics such as precision at k, recall at k, and mean reciprocal rank, together with business and social measures: conversion, margin, diversity, novelty, user satisfaction, exposure fairness, and long-term retention. A system that recommends only popular products may maximise short-term clicks while suppressing new or less visible products.

8. Augmented Analytics and Natural-Language Querying

Augmented analytics uses machine learning, automation, and language technologies to assist data preparation, pattern discovery, explanation, and communication. Examples include automated anomaly detection, suggested measures, forecast generation, driver analysis, and narrative summaries.

Natural-language querying (NLQ) allows a user to ask questions such as “What were regional sales last quarter?” The system translates language into a query against a semantic model or data source. Its reliability depends on:

  • a governed metric catalogue;
  • clear definitions of dimensions and time periods;
  • access controls;
  • query logging;
  • handling of ambiguity;
  • visible source data and calculation logic.

“Revenue” might mean invoiced sales, recognised revenue, or gross sales before returns. A fluent answer can therefore be wrong if the semantic layer is weak. Good systems show the interpreted question, filters, data source, and calculation where practical, and ask clarifying questions rather than silently guessing.

Augmentation should reduce technical barriers without removing analytical responsibility. Users still need statistical literacy, domain knowledge, and the ability to challenge results.

9. Generative AI in BI

Generative AI can produce text, SQL, dashboard descriptions, code, scenario narratives, and explanations. In BI it may support:

  • drafting queries and calculated fields;
  • summarising trends;
  • translating technical results for different audiences;
  • generating documentation;
  • creating synthetic test data under controlled conditions;
  • assisting analysts with exploratory analysis.

Generative systems can hallucinate facts, misinterpret measures, expose confidential information, reproduce bias, or generate insecure code. They should therefore be connected to approved data sources through controlled retrieval and tool permissions rather than treated as authoritative databases.

A useful control pattern is:

  1. define the question and authorised data;
  2. generate a candidate query or explanation;
  3. validate syntax, joins, filters, units, and totals;
  4. compare outputs with trusted reports or tests;
  5. require human approval for consequential decisions;
  6. record the prompt, data context, output, reviewer, and final action.

Generative AI should distinguish facts, estimates, assumptions, and recommendations. Confidence in wording is not statistical confidence.

10. Human-in-the-Loop Decision Support

Human-in-the-loop (HITL) design assigns explicit responsibilities between people and systems. Possible patterns include:

  • Human-in-the-loop: the system proposes; a person approves or rejects.
  • Human-on-the-loop: the system acts within boundaries; a person monitors and can intervene.
  • Human-in-command: people define objectives, policies, and escalation rules while systems perform delegated tasks.

The appropriate pattern depends on risk, reversibility, speed, expertise, and legal requirements. A low-risk product suggestion may be automated, whereas a credit, employment, medical, or safety decision may require stronger review and explanation.

Effective HITL is not achieved by placing an approval button after an opaque model. Reviewers need sufficient time, relevant evidence, training, authority to override, and protection from automation bias. Override decisions should be logged and analysed. If humans routinely accept every output, the process is effectively automated and should be governed accordingly.

Illustrative Case: Regional Retail Replenishment

Background

This illustrative case concerns Northstar Retail, a fictional supermarket chain with 80 stores. It frequently experiences stockouts for popular products and excess inventory for slow-moving seasonal items.

Problem

The existing process uses last year's sales and manager judgement. It does not account consistently for promotions, local weather, supplier lead times, or uncertainty. The company wants to improve availability without materially increasing waste.

Analysis

The BI team first defines the decision: weekly order quantities by store and product. It audits sales, returns, promotions, inventory balances, deliveries, and stockout indicators. It discovers that observed sales understate true demand when shelves were empty; this creates biased training data. The team also identifies inconsistent product and store codes.

A forecasting model estimates demand using recent sales, seasonality, promotions, and weather variables. Time-based validation compares a seasonal baseline, exponential smoothing, and a tree-based model. Forecast error is reported separately for high-volume and intermittent-demand products. Prediction intervals are retained for scenario analysis rather than reporting only a point estimate.

Approach and solution

A constrained replenishment model recommends orders. Its constraints include shelf capacity, supplier minimum order quantities, delivery schedules, budget, and safety-stock policies. A simulation tests the policy under high-demand, delayed-delivery, and promotion scenarios. Store managers review unusual recommendations, such as orders affected by a local event, and can override them with a recorded reason.

A governed dashboard displays forecast, interval, recommended order, expected service level, waste risk, and override history. A natural-language assistant can answer approved questions, but it cannot change orders. Generative AI drafts explanations from validated metrics; a planner approves communications.

Outcome

In a pilot, Northstar evaluates stockout rate, waste, gross margin, forecast error, planner time, and override patterns against a comparable control group. The company does not declare success from forecast accuracy alone. It also checks whether benefits are distributed across stores and whether the system creates new workload or unfairly penalises stores with poorer data.

Learning points

The case demonstrates that predictive accuracy is only one component of BI value. Data quality, objective definition, constraints, simulation, human review, governance, and outcome measurement are equally important. The best solution is a decision process rather than a model in isolation.

11. Governance, Ethics, and Responsible Implementation

Predictive and AI-enabled BI can affect privacy, opportunity, prices, employment, credit, and access to services. Governance should address:

  • Purpose limitation: collect and use data for legitimate, defined purposes.
  • Data minimisation: avoid unnecessary personal information.
  • Security: protect data, credentials, models, prompts, and outputs.
  • Fairness: test performance and error patterns across relevant groups.
  • Transparency: explain data sources, assumptions, limitations, and decision roles.
  • Accountability: identify owners for models, data, approvals, and incidents.
  • Human rights and legal compliance: meet applicable privacy, equality, consumer-protection, employment, and AI regulations.
  • Monitoring: detect drift, performance deterioration, changing behaviour, and unintended effects.

Fairness has no single universal definition. Equal error rates, equal selection rates, calibration, and individual consistency may conflict. Organisations must select measures appropriate to the context and document the rationale. Removing protected attributes does not guarantee fairness because proxy variables may remain.

Model risk management should include inventory, version control, independent validation, access controls, documentation, stress tests, approval gates, retirement criteria, and incident response. Data leakage—using information unavailable at decision time—is a particularly serious predictive-model risk.

12. Best Practices for Professional BI Projects

A robust project generally follows these practices:

  1. Start with a decision and measurable outcome, not an algorithm.
  2. Establish a governed semantic layer and data dictionary.
  3. Separate training, validation, and genuinely future test information.
  4. Compare complex models with transparent baselines.
  5. Evaluate calibration, uncertainty, subgroup performance, and business cost.
  6. Include constraints and operational feasibility in prescriptive models.
  7. Use scenario and sensitivity analysis rather than presenting one “optimal” answer.
  8. Design explanations for the actual decision-maker.
  9. Keep humans accountable for consequential decisions.
  10. Monitor both model metrics and real-world outcomes after deployment.
  11. Log model versions, data versions, prompts, overrides, and decisions.
  12. Reassess objectives when incentives or market conditions change.

Chapter Summary

Predictive BI estimates likely future outcomes through forecasting and classification. Forecasting methods range from moving averages and exponential smoothing to regression and machine learning; performance must be assessed with appropriate, time-aware validation and uncertainty measures. Classification requires attention to thresholds, class imbalance, precision, recall, and the costs of errors. Clustering discovers useful patterns without labels but depends heavily on representation, scaling, and interpretation.

Prescriptive BI uses optimisation, simulation, and recommendation systems to support action. Optimisation formalises objectives and constraints, while simulation explores uncertainty and policy consequences. Recommendation systems rank alternatives but should be assessed for relevance, diversity, fairness, and long-term effects.

Augmented analytics, natural-language querying, and generative AI can make BI more accessible and productive, but fluent outputs may be inaccurate. Human-in-the-loop design assigns clear authority, review, escalation, and accountability. Responsible implementation requires data governance, privacy, security, fairness evaluation, documentation, monitoring, and outcome-based assessment. Ultimately, advanced BI is a governed decision capability, not merely a collection of algorithms.

Key Terms

Predictive analytics: Analysis that estimates future or unknown outcomes.

Prescriptive analytics: Analysis that recommends actions under objectives and constraints.

Forecasting: Estimating future values using historical or explanatory information.

Time series: Ordered observations recorded over time.

Seasonality: A repeating pattern associated with a calendar or fixed period.

Classification: Assigning observations to categories or estimating class probabilities.

Confusion matrix: A table of actual and predicted classification outcomes.

Precision: The proportion of predicted positives that are correct.

Recall: The proportion of actual positives that are detected.

Clustering: Grouping observations by similarity without predefined labels.

Centroid: The representative mean point of a cluster.

Optimisation: Selecting the best feasible decision under a stated objective.

Constraint: A condition limiting allowable decisions.

Simulation: Experimental representation of a system under alternative conditions.

Recommendation system: A system that ranks items or actions for a user or context.

Augmented analytics: Use of automation and AI to assist analytical work.

Natural-language querying: Asking questions of data using ordinary language.

Generative AI: AI that produces new text, code, queries, or other content.

Human-in-the-loop: Decision design in which people review, approve, or govern system outputs.

Model drift: Deterioration or change in model behaviour as data or conditions change.

Review Questions

Short Answer Questions

  1. Distinguish predictive analytics from prescriptive analytics.
  2. Why can accuracy be misleading for an imbalanced classification problem?
  3. State two assumptions or limitations of k-means clustering.
  4. What is the purpose of a constraint in an optimisation model?
  5. Give two controls that should be applied to generative AI in BI.

Long Answer Questions

  1. Explain the main forecasting approaches in this chapter and compare their advantages and limitations.
  2. Discuss how precision, recall, thresholds, and business costs should influence classification decisions.
  3. Explain how optimisation and simulation can be combined in prescriptive analytics.
  4. Evaluate the benefits and risks of natural-language querying in an organisation with multiple definitions of revenue.
  5. Design a human-in-the-loop governance process for a high-impact predictive decision.

Analytical / Application Questions

  1. A retailer has highly seasonal demand, frequent stockouts, and promotional campaigns. Propose a forecasting and replenishment approach, including validation, constraints, and performance measures.
  2. A fraud classifier has 98% accuracy but detects only 20% of fraudulent transactions. Analyse why this may occur and recommend more appropriate evaluation and threshold practices.
  3. An AI assistant recommends employee candidates using historical hiring data. Identify potential sources of bias, governance controls, human-review requirements, and outcome measures before deployment.

Multiple Choice Questions with Answers

Question 1

Which question is primarily addressed by prescriptive analytics?

A. What happened last quarter?

B. Why did sales decline?

C. What action is preferable under stated constraints?

D. How many transactions were recorded?

Correct Answer: C. What action is preferable under stated constraints?

Question 2

In exponential smoothing, what does a high value of α generally do?

A. Makes the forecast respond more rapidly to recent observations

B. Removes all seasonal variation

C. Guarantees a lower forecast error

D. Makes every historical observation equally weighted

Correct Answer: A. Makes the forecast respond more rapidly to recent observations

Question 3

Which measure is especially concerned with the proportion of predicted positives that are correct?

A. Recall

B. Precision

C. Accuracy

D. RMSE

Correct Answer: B. Precision

Question 4

Why can accuracy be inappropriate for a highly imbalanced fraud dataset?

A. Accuracy cannot be calculated for classification

B. A model predicting the majority class can appear accurate while missing fraud

C. Accuracy measures only false positives

D. Accuracy requires continuous outcomes

Correct Answer: B. A model predicting the majority class can appear accurate while missing fraud

Question 5

What is the primary purpose of clustering?

A. To discover groups based on similarity without predefined labels

B. To prove a causal relationship

C. To calculate an optimal production schedule

D. To replace all supervised learning

Correct Answer: A. To discover groups based on similarity without predefined labels

Question 6

Which feature makes a model a linear programme?

A. It uses only historical data

B. Its objective and constraints are linear functions of the decision variables

C. It always contains integer decisions

D. It must use a neural network

Correct Answer: B. Its objective and constraints are linear functions of the decision variables

Question 7

What does simulation mainly allow analysts to do?

A. Guarantee the future outcome

B. Explore system outcomes under alternative conditions and uncertainty

C. Eliminate the need for assumptions

D. Convert every qualitative variable into a label

Correct Answer: B. Explore system outcomes under alternative conditions and uncertainty

Question 8

Which statement best describes natural-language querying in BI?

A. It removes the need for a governed semantic model

B. It translates ordinary-language questions into data queries or analytical requests

C. It guarantees that every answer is factually correct

D. It is limited to numerical calculations without filters

Correct Answer: B. It translates ordinary-language questions into data queries or analytical requests

Question 9

Which is a significant risk of generative AI in BI?

A. It cannot produce text

B. It may generate fluent but unsupported or incorrect outputs

C. It always exposes the training dataset

D. It cannot assist with SQL drafting

Correct Answer: B. It may generate fluent but unsupported or incorrect outputs

Question 10

What is a central requirement of effective human-in-the-loop decision support?

A. Humans must accept every model recommendation

B. The model must never be monitored after deployment

C. Reviewers need authority, evidence, training, and a meaningful ability to intervene

D. All decisions must be made manually without analytics

Correct Answer: C. Reviewers need authority, evidence, training, and a meaningful ability to intervene

Business Intelligence
Chapter 11 of 15