Business Intelligence and Analytical MethodsIntroduction and ContextBusiness intelligence (BI) is the organised use of data, technology, analytical methods and managerial processes to improve decisions. It converts operational records—such as transactions, customer interactions, inventory movements and financial entries—into information that managers can interpret and act upon. In a big-data environment, BI extends beyond periodic reports. It includes automated data pipelines, interactive dashboards, statistical analysis, machine-learning models and optimisation systems. Analytics is commonly classified into four questions: | Type of analytics | Central question | Typical output |
|---|
| Descriptive | What happened? | Reports, scorecards, dashboards | | Diagnostic | Why did it happen? | Drill-down analysis, variance analysis | | Predictive | What is likely to happen? | Forecasts, probabilities, risk scores | | Prescriptive | What should be done? | Recommendations, scenarios, optimisation |
These categories form a progression, but they are not isolated stages. A reliable prescriptive recommendation depends on accurate descriptive data, credible diagnostic reasoning and a suitably validated predictive model. The objective is not to produce more charts or sophisticated algorithms; it is to improve the quality, speed and accountability of business decisions. Learning ObjectivesBy the end of this chapter, students should be able to: - distinguish descriptive, diagnostic, predictive and prescriptive analytics;
- design meaningful key performance indicators (KPIs) and dashboards;
- explain data warehouses, OLAP and dimensional analysis;
- apply statistical reasoning to business questions;
- calculate and interpret forecasts and forecast errors;
- use segmentation to support differentiated decisions;
- formulate basic optimisation problems;
- evaluate analytical results critically, ethically and operationally.
From Data to DecisionsA useful BI architecture connects five activities: - Data generation: transactions, sensors, web events, enterprise systems and external sources create raw observations.
- Data integration: extraction, transformation and loading (ETL), or extract, load and transformation (ELT), combine data from different systems.
- Data storage: data warehouses typically store structured, governed data for reporting; data lakes may store large volumes of structured, semi-structured and unstructured data.
- Analysis and presentation: SQL, OLAP, statistical software, dashboards and machine-learning tools reveal patterns.
- Decision and feedback: managers act, outcomes are measured and the results improve future analysis.
A technically accurate report can still be strategically useless if its measures do not correspond to decisions. Every analytical product should therefore identify its audience, decision, time horizon, data owner, refresh frequency and acceptable level of uncertainty. Business intelligence and business analyticsBI traditionally emphasises governed reporting, multidimensional analysis and monitoring. Business analytics adds statistical and computational methods that explain relationships, predict outcomes and recommend actions. The boundary is not absolute: a modern BI platform may contain both dashboards and predictive models. OLTP, data warehouses and OLAPOnline transaction processing (OLTP) systems are designed to record operational events efficiently and consistently. A retail point-of-sale system, for example, must record a sale accurately. A data warehouse is designed for integrated historical analysis. It commonly uses a star schema, consisting of a central fact table and surrounding dimension tables. A sales fact table might contain quantity, revenue, discount and cost, linked to dimensions such as date, product, store and customer. A measure is a numerical value analysed in a report. A dimension provides a perspective for grouping or filtering. OLAP operations include: - slice: select one value of a dimension, such as one region;
- dice: select several dimension values, such as two products and three regions;
- drill-down: move from summary to detail, such as year to quarter to month;
- roll-up: aggregate detail, such as store sales to regional sales;
- pivot: rotate dimensions to obtain another view.
OLAP supports reasoning about where, when and for whom performance differs. It does not by itself establish causation. Descriptive and Diagnostic AnalyticsDescriptive analyticsDescriptive analytics summarises observed data. Common summaries include totals, averages, medians, percentages, rates, distributions and trends. A mean is calculated as: x̄ = (1/n) ∑ᵢ₌₁ⁿ xᵢ Here, xᵢ is observation i, n is the number of observations, and x̄ is the sample mean. The observations must be measured on a meaningful numerical scale. The mean is sensitive to extreme values; the median may better represent a highly skewed distribution. A business metric should be defined precisely. “Customer retention” might mean the proportion of customers active at the beginning of a period who remain active at its end. If 8,000 customers were active at the beginning and 7,200 remained active, retention is: Retention rate = (7,200 ÷ 8,000) × 100 = 90% The denominator is essential. A percentage without a clearly defined population and period can mislead. Diagnostic analyticsDiagnostic analytics investigates reasons for observed outcomes. Useful methods include: - comparison with a baseline, target or prior period;
- variance analysis;
- drill-down by product, location, channel or customer group;
- cohort analysis;
- correlation and regression;
- process analysis and root-cause investigation;
- controlled experiments.
A decline in total sales may be caused by fewer customers, lower purchase frequency, smaller basket size, price changes or stock-outs. A decomposition is often more informative than a single total. For a simple retail business: Revenue = Number of customers × Purchase frequency × Average transaction value This identity is useful only when the quantities are defined consistently. It is a decomposition for diagnosis, not proof that one factor caused the change. Correlation measures linear association, not causation. Confounding variables, reverse causality, selection bias and common time trends can produce misleading relationships. Strong diagnostic practice combines statistical evidence with process knowledge and, where feasible, experimental or quasi-experimental designs. KPIs, Metrics and DashboardsA metric is a quantifiable measure. A KPI is a metric selected because it is directly linked to a strategic or operational objective. An organisation may track thousands of metrics but should assign KPI status selectively. A well-designed KPI has: - a precise definition and formula;
- a named owner;
- a target and tolerance range;
- a time period and population;
- a data source and refresh schedule;
- a stated action when performance is outside tolerance.
For example, order fulfilment rate can be defined as: Fulfilment rate = (Orders delivered in full and on time ÷ Total eligible orders) × 100 The terms “in full,” “on time” and “eligible” must be specified. Otherwise, departments may report incompatible values. Dashboard design principlesA dashboard should answer a defined managerial question. Good practice includes: - show a limited set of decision-relevant KPIs;
- display actual performance against target and prior period;
- use consistent scales, labels and units;
- provide filters and drill-down without hiding definitions;
- distinguish counts, rates, percentages and currency;
- display data freshness and uncertainty where relevant;
- use colour sparingly and never rely on colour alone;
- provide accessible text, contrast and alternative descriptions.
A dashboard can create false confidence through truncated axes, inappropriate aggregation, cherry-picked periods or decorative visual complexity. Visual design is therefore part of analytical governance, not merely presentation. Statistical Reasoning for BusinessStatistical reasoning concerns variation, uncertainty and evidence. A sample is used to learn about a population, but conclusions depend on sampling quality and measurement validity. Variability and standard deviationFor a sample, the sample variance is: s² = [∑ᵢ₌₁ⁿ (xᵢ − x̄)²] ÷ (n − 1) The sample standard deviation is: s = √s² The denominator n − 1 provides an unbiased estimate of population variance under common random-sampling assumptions. Standard deviation has the same units as the observations. It describes dispersion, not business importance or causation. Confidence intervalsFor a sample mean with a sufficiently appropriate model, a confidence interval can be expressed as: x̄ ± t* (s ÷ √n) Here, t* is a critical value determined by the chosen confidence level and degrees of freedom, s is sample standard deviation and n is sample size. The interval reflects sampling uncertainty under the assumptions of the method. It does not mean that there is a probability equal to the confidence level that a fixed population parameter lies inside this particular calculated interval. Large samples do not automatically remove bias. A very large sample from a poorly defined or systematically excluded population can produce a very precise but wrong estimate. Hypothesis testing and practical significanceA statistical test compares data with a null model. A small p-value indicates that the observed data would be relatively unusual under the null hypothesis and assumptions of the test. It does not measure the probability that the null hypothesis is true, nor does it establish managerial importance. Analysts should report effect size, uncertainty, data quality and operational consequences, not p-values alone. Multiple testing, selective reporting and repeated examination of results increase the chance of false discoveries. Pre-specified hypotheses, transparent reporting and validation on new data reduce these risks. Predictive Analytics and ForecastingPredictive analytics estimates unknown or future outcomes. Models may predict a numerical value, a class, a probability or a time-to-event. Common methods include linear regression, logistic regression, decision trees, random forests, gradient boosting and time-series models. A simple linear regression model is: yᵢ = β₀ + β₁xᵢ + εᵢ Here, yᵢ is the outcome, xᵢ is a predictor, β₀ is the intercept, β₁ is the expected change in outcome for a one-unit change in the predictor under the model, and εᵢ is an error term. Interpretation requires appropriate functional form, relevant variables, independent or suitably modelled errors, and attention to confounding and extrapolation. Prediction and explanation differ. A variable can improve prediction without representing a causal driver. Conversely, a causally important variable may be difficult to measure and therefore contribute little to predictive accuracy. Forecasting methodsA naïve forecast uses the latest observed value: Fₜ₊₁ = Aₜ where Aₜ is the actual value at time t and Fₜ₊₁ is the forecast for the next period. It is a useful baseline. A moving-average forecast with window k is: Fₜ₊₁ = (Aₜ + Aₜ₋₁ + … + Aₜ₋ₖ₊₁) ÷ k This smooths short-term noise but may react slowly to changes. Forecasting methods must respect time order; randomly splitting time-series observations can allow future information to leak into training. Forecast accuracy can be measured using mean absolute error (MAE): MAE = (1/n) ∑ₜ₌₁ⁿ |Aₜ − Fₜ| MAE is expressed in the units of the target and treats errors linearly. Mean squared error is: MSE = (1/n) ∑ₜ₌₁ⁿ (Aₜ − Fₜ)² MSE gives greater weight to large errors and has squared units. Mean absolute percentage error is: MAPE = [100 ÷ n] ∑ₜ₌₁ⁿ |(Aₜ − Fₜ) ÷ Aₜ| MAPE is undefined when Aₜ = 0 and can behave poorly when actual values are close to zero. No single metric is universally best. Worked forecasting exampleSuppose weekly demand is 100, 120 and 110 units. A three-period moving-average forecast for week 4 is: F₄ = (100 + 120 + 110) ÷ 3 = 110 units If actual demand in week 4 is 118 units, the absolute error is 8 units. The forecast is not “wrong” merely because it differs from actual demand; all forecasts contain uncertainty. Its quality should be evaluated against an appropriate baseline over many periods. Segmentation and Customer AnalysisSegmentation divides a population into groups that are internally similar and meaningfully different for a business decision. It may use demographic, geographic, behavioural, value-based or needs-based variables. A common behavioural approach is RFM analysis: - Recency: how recently a customer purchased;
- Frequency: how often the customer purchased;
- Monetary value: how much the customer spent.
Variables should be transformed or standardised when scales differ. Clustering methods, such as k-means, group observations according to a distance measure. K-means minimises within-cluster squared Euclidean distance: ∑ⱼ₌₁ᵏ ∑ₓ∈Cⱼ ||x − μⱼ||² Here, k is the number of clusters, Cⱼ is cluster j, x is an observation and μⱼ is the mean vector of cluster j. The method assumes that the chosen variables and distance measure represent meaningful similarity. Results depend on scaling, initialisation and the selected number of clusters. Segments should be profiled, validated for stability and connected to actions. A cluster with no different treatment, offer or service implication may be analytically interesting but commercially unnecessary. Sensitive characteristics require particular caution because segmentation can reproduce discrimination or unequal access. Prescriptive Analytics and OptimisationPrescriptive analytics evaluates alternative actions subject to objectives and constraints. A general optimisation problem is: Maximise or minimise: f(x) Subject to: gᵢ(x) ≤ bᵢ, for i = 1, …, m x ∈ X Here, x represents decision variables, f(x) is the objective function, gᵢ(x) are constraint functions, bᵢ are resource limits and X defines feasible values, such as non-negative or integer decisions. For example, a firm chooses quantities of products A and B. If profit per unit is 30 and 20, respectively, the objective is: Maximise P = 30xₐ + 20xᵦ If each A uses 2 labour hours, each B uses 1 hour and 100 hours are available: 2xₐ + xᵦ ≤ 100 If material usage is 1 unit for A, 2 units for B and 80 units are available: xₐ + 2xᵦ ≤ 80 with xₐ ≥ 0 and xᵦ ≥ 0. Linear programming can identify the best feasible combination when relationships are linear and parameters are sufficiently reliable. In practice, scenario analysis and sensitivity analysis are necessary because prices, demand and capacities are uncertain. Prescriptive systems should expose trade-offs rather than present recommendations as unquestionable commands. A recommendation that maximises profit may worsen service, resilience, emissions or fairness unless these factors are included as constraints or objectives. Integrated Case: Illustrative Retail Inventory DecisionBackgroundConsider Northstar Apparel, an illustrative online retailer selling seasonal jackets. The company experiences stock-outs for popular sizes while holding excess inventory in slower-moving items. Its existing dashboard reports monthly revenue but does not connect demand forecasts, customer segments and replenishment decisions. ProblemManagement must decide how many jackets to order for the next month while balancing expected demand, limited warehouse capacity and the risk of unsold seasonal inventory. AnalysisThe BI team integrates sales, returns, promotions, inventory and web-search data. OLAP analysis identifies that stock-outs are concentrated in two sizes and that demand differs substantially between urban and rural delivery regions. Diagnostic analysis also shows that the apparent regional difference partly reflects different promotional calendars. A time-ordered validation procedure compares a naïve forecast with a moving-average model. The moving average performs better in stable categories but worse immediately after promotions. The team therefore adds promotion status as an explanatory variable and reports forecast intervals rather than a single number. RFM segmentation identifies three useful groups: frequent full-price customers, promotion-sensitive customers and occasional customers. The segmentation is used to tailor communication, but protected characteristics are excluded from targeting decisions and the team checks whether service quality differs unfairly across regions. Approach and solutionThe inventory model treats order quantities as decision variables. It maximises expected contribution margin while imposing warehouse-capacity, budget and minimum-service constraints. Several demand scenarios—low, central and high—are tested. The final recommendation is not the solution to only one forecast; it is a robust order policy that remains acceptable across scenarios. The dashboard is redesigned to show forecast demand, forecast error, stock-out rate, inventory age, contribution margin and service level. Each KPI includes a definition, owner and refresh time. Alerts distinguish data-quality failures from genuine operational exceptions. OutcomeIn the illustrative case, the retailer reduces stock-outs in priority sizes and lowers aged inventory after two planning cycles. The result is attributed not to a single algorithm but to integrated data definitions, forecast evaluation, segmentation, optimisation and managerial review. The organisation continues monitoring model drift because seasonal behaviour changes over time. Learning points- A dashboard becomes valuable when it supports a specific decision.
- Diagnosis requires decomposition and process understanding.
- Forecast accuracy must be measured against a baseline and evaluated using time-appropriate validation.
- Optimisation is only as credible as its objective, constraints and assumptions.
- Human oversight is necessary when consequences, uncertainty and fairness matter.
Governance, Ethics and Contemporary DevelopmentsAnalytical systems create risks involving privacy, security, discrimination, opacity and accountability. Organisations should apply data minimisation, purpose limitation, access control, retention rules and documented data lineage. Personal data should be processed lawfully and transparently under applicable data-protection legislation. Sensitive attributes may require exclusion, controlled use for fairness auditing or both, depending on the context and law. Important governance practices include: - a data dictionary and common KPI definitions;
- quality checks for completeness, accuracy, timeliness and consistency;
- role-based access and audit logs;
- model documentation, version control and approval thresholds;
- monitoring for drift, bias and unexpected performance;
- human review for high-impact decisions;
- clear communication of uncertainty and limitations.
Artificial intelligence and machine learning can automate anomaly detection, natural-language querying, forecasting and recommendations. However, automation can amplify historical bias, create feedback loops and encourage overreliance on opaque scores. Generative AI may assist with dashboard narration or SQL generation, but outputs require validation because plausible language is not evidence of correctness. Contemporary BI is increasingly real-time, cloud-based and self-service. These developments improve access but can increase the number of inconsistent reports and uncontrolled calculations. A balanced operating model combines governed semantic layers with flexible exploration. Data mesh and data-fabric approaches seek to improve distributed ownership and integration, but they do not eliminate the need for standards, stewardship and accountability. Best-Practice WorkflowA practical analytical workflow is: - define the decision and success criterion;
- specify the population, unit of analysis and time period;
- inspect data quality and document limitations;
- establish a simple baseline;
- select a method appropriate to the question and data;
- separate training, validation and test information where applicable;
- examine sensitivity, uncertainty and possible bias;
- communicate assumptions, results and recommended actions;
- implement with ownership and monitoring;
- review outcomes and update the analytical process.
The central professional skill is not choosing the most complex model. It is matching method, evidence and decision while preserving interpretability, reliability and responsible use. Chapter SummaryBusiness intelligence transforms governed data into decision support. Descriptive analytics summarises what happened; diagnostic analytics investigates why; predictive analytics estimates future or unknown outcomes; and prescriptive analytics evaluates actions under objectives and constraints. KPIs require precise definitions, denominators, ownership and links to decisions. Dashboards and OLAP make performance visible, but visualisation does not prove causation. Statistical reasoning requires attention to sampling, variability, uncertainty, effect size and bias. Forecasts should be compared with baselines using suitable error measures and time-aware validation. Segmentation is useful only when groups are stable, interpretable and connected to differentiated action. Optimisation formalises trade-offs but depends on valid objectives, constraints and assumptions. Across all methods, data quality, privacy, fairness, explainability and monitoring are essential. Effective analytics is therefore a socio-technical capability combining technology, quantitative reasoning, domain knowledge and accountable management. Key TermsBusiness intelligence: The use of data, technology and processes to support business decisions. Descriptive analytics: Analysis that summarises observed events and performance. Diagnostic analytics: Analysis that investigates likely reasons for observed outcomes. Predictive analytics: Analysis that estimates future or unknown outcomes. Prescriptive analytics: Analysis that recommends actions under objectives and constraints. KPI: A metric selected because it is linked to an important objective. Dashboard: An interactive display of decision-relevant measures and trends. OLAP: Multidimensional analysis supporting operations such as drill-down and roll-up. Fact table: A table containing measurable business events or values. Dimension: A descriptive perspective used to group, filter or analyse facts. Mean: The arithmetic average of observations. Standard deviation: A measure of dispersion around the mean. Confidence interval: An interval procedure expressing sampling uncertainty under stated assumptions. Forecast: An estimate of a future value. MAE: Mean absolute error, the average absolute difference between actual and forecast values. Segmentation: Division of a population into meaningful groups. Clustering: An unsupervised method for grouping similar observations. Optimisation: Selection of the best feasible decision according to an objective. Data drift: Change over time in data characteristics or relationships affecting a model. Data lineage: Documentation of data origins, transformations and destinations. Review QuestionsShort Answer Questions- Distinguish descriptive analytics from diagnostic analytics.
- What is the difference between a metric and a KPI?
- Name three common OLAP operations.
- Why can correlation not by itself establish causation?
- State one limitation of MAPE.
Long Answer Questions- Explain how a data warehouse and OLAP support managerial decision-making.
- Discuss the principles of effective KPI and dashboard design.
- Explain the importance of baselines and time-ordered validation in forecasting.
- Compare segmentation using RFM analysis with clustering methods.
- Explain why governance and human oversight are necessary in prescriptive analytics.
Analytical / Application Questions- A retailer’s revenue has fallen by 8%, while customer numbers rose and average transaction value fell. Construct a diagnostic analysis using a suitable revenue decomposition and identify additional data required.
- A company must allocate a limited advertising budget across three channels. Formulate decision variables, an objective and at least three constraints for a prescriptive model. State assumptions that would need testing.
- A forecast has low average error but performs poorly during promotions. Recommend a validation and modelling approach, and explain how the business should communicate the resulting uncertainty.
Multiple Choice Questions with AnswersQuestion 1Which question is primarily addressed by diagnostic analytics? A. What happened? B. Why did it happen? C. What is likely to happen? D. What action maximises the objective? Correct Answer: B. Why did it happen? Question 2In a star schema, a dimension usually provides what function? A. A descriptive perspective for grouping or filtering B. A cryptographic key for encrypting all data C. A replacement for the fact table D. A forecast error measure Correct Answer: A. A descriptive perspective for grouping or filtering Question 3A business has 8,000 beginning-of-period customers and 7,200 remaining customers. What is the retention rate? A. 8% B. 10% C. 90% D. 111.1% Correct Answer: C. 90% Question 4What is a major limitation of MAPE? A. It cannot compare forecasts over time B. It is undefined when actual values are zero C. It always overweights large errors D. It is measured in squared units Correct Answer: B. It is undefined when actual values are zero Question 5Why should time-series data generally not be randomly split before validation? A. Random splitting removes all seasonality B. It can allow future information to leak into model training C. It makes the sample size exactly zero D. It guarantees a biased forecast Correct Answer: B. It can allow future information to leak into model training Question 6What does a k-means clustering algorithm primarily seek to minimise? A. Between-cluster squared distance only B. Within-cluster squared distance C. Forecast percentage error only D. The number of observations Correct Answer: B. Within-cluster squared distance Question 7Which statement about correlation is correct? A. Correlation always proves causation B. Correlation measures only ethical risk C. Correlation can reflect confounding or common trends D. Correlation cannot be calculated for numerical data Correct Answer: C. Correlation can reflect confounding or common trends Question 8In an optimisation model, what does a constraint represent? A. A required limit or condition on feasible decisions B. The name of the dashboard C. A random sampling error D. A dimension in an OLAP cube Correct Answer: A. A required limit or condition on feasible decisions Question 9Which feature most clearly makes a metric a KPI? A. It is displayed in a bright colour B. It is linked to an important objective and assigned ownership C. It contains at least ten decimal places D. It is calculated by artificial intelligence Correct Answer: B. It is linked to an important objective and assigned ownership Question 10A three-period moving-average forecast uses demands of 100, 120 and 110 units. What is the forecast for the next period? A. 100 units B. 105 units C. 110 units D. 120 units Correct Answer: C. 110 units
|