300 suppliers, six risk characteristics, and a single question: Which suppliers are truly similar? Cluster analysis attempts to reveal hidden structures in multidimensional data—without predetermining which groups should exist. This is particularly appealing in risk management: Instead of assigning a traffic light rating to each metric in isolation, entire risk profiles can be identified. However, for mathematical proximity to translate into a reliable management statement, the distance measure, scaling, number of clusters, and validation must be selected methodologically sound.
Why a traffic light system is often insufficient
Risk reports are often structured one-dimensionally: Poor creditworthiness—red. Weak delivery reliability—red. High single-source dependency—also red. This logic is simple, but it breaks down a multidimensional risk profile into individual warning lights. Two suppliers can have the same credit rating and yet be critically different: One supplies a standard part from within the country that can be easily replaced, while the other supplies a custom component with a nine-month lead time from a geopolitically exposed region.
Cluster analysis takes a different approach. It does not first ask whether a single data point exceeds a threshold, but rather which observations are similar across multiple characteristics. In statistics, it is classified as a method of exploratory multivariate analysis; in machine learning, it is usually categorized as unsupervised learning. Thus, there is no predefined target variable—such as "failure yes/no"—that the model is supposed to learn. The groups emerge from the structure of the data itself.
This makes the method well-suited for diagnostic analytics: it helps to understand patterns and structure in complex data. However, it does not yet provide a causal diagnosis. A cluster initially states: "These objects are similar according to the chosen mathematical definition." Why they are similar and what actions should follow from this remains a task for domain-expert interpretation. [cf. Romeike / Wieczorek 2026]
What is a cluster, mathematically speaking?
Let's represent each supplier as a point in a multidimensional feature space. With six risk features, each supplier has six coordinates. A clustering method then searches for groups in which the distances between the points are small and the distances to other groups are as large as possible. What "small" means depends on the distance metric.
For metric data, the Euclidean distance is often used. After standardizing the features, it is defined for two suppliers i and l as:
d(i,l) = √[ Σⱼ (zᵢⱼ - zₗⱼ)² ]
The formula appears straightforward, but it contains a key modeling decision: It assumes that differences across all considered variables can be meaningfully combined. This is precisely why data preparation is not a secondary step, but rather an integral part of the method.
Step 1: First, make the scales comparable
A failure probability ranging from 0 to 10 percent, a delivery time variation ranging from 0 to 30 days, and a cyber exposure score ranging from 0 to 100 exist on completely different scales. If raw values were directly used in a Euclidean distance calculation, variables with large numerical ranges could dominate the grouping—regardless of their business significance.
A standard solution is z-standardization. For each value, the mean of the variable is subtracted, and the result is then divided by its standard deviation:
zᵢⱼ = (xᵢⱼ - x̄ⱼ) / sⱼ
Accordingly, a z-score of +1 roughly means: one standard deviation above the mean. This makes the variables more comparable in mathematical terms. At the same time, an important governance issue arises: If three nearly identical financial metrics, but only one cybersecurity metric, are included in the analysis, the "finance" category effectively receives greater weight. Feature selection is therefore always a form of risk modeling as well.
Step 2: Choose a method that fits the data structure
K-means is one of the best-known clustering methods. MacQueen described the approach in 1967 as an efficient method for dividing observations into k groups [see Romeike / Wieczorek 2026, p. 151]. In simple terms, the algorithm searches for k centers and assigns each point to the nearest center. The centers are then recalculated. This process is repeated until the solution hardly changes at all. The sum of the squared distances within the clusters is optimized:
min Σc Σᵢ∈C_c || zᵢ - μ_c ||²
This makes K-means fast and easy to interpret, but not universally applicable. The method tends to favor compact, roughly spherical clusters and is sensitive to outliers. Furthermore, k must be specified in advance. For groups that vary greatly in size or are non-convex, other methods may be more suitable.
A classic alternative is hierarchical cluster analysis. In the agglomerative approach, each observation starts as its own cluster; subsequently, those groups that best match according to a chosen criterion are merged step by step. The Ward method minimizes the additional loss of homogeneity within the groups at each merger [see Ward 1963]. The result can be represented as a dendrogram—a "family tree" of similarities (see Fig. 01).
Fig. 01: Dendrogram of hierarchical cluster analysis—step-by-step merging of similar objects using the Ward method [Source: Author's own figure based on illustrative data]
If the data includes categories in addition to metric variables—such as region, certification status, or procurement type—a simple Euclidean distance is often no longer appropriate. In such cases, methods such as Gower distances in combination with hierarchical procedures or Partitioning Around Medoids may be considered [see Romeike / Wieczorek, p. 169]. The methodological rule of thumb is: Do not force the algorithm onto the data; instead, adapt the data type to the algorithm.
Step 3: How many clusters are "correct"?
The uncomfortable answer is: Most of the time, there isn't a single objectively "correct" number. A clustering solution is a model of the data structure. Different levels of granularity can all be meaningful at the same time—much like a map shows different details depending on the scale.
Nevertheless, there are quantitative guidelines. The elbow method examines how much the variance within the clusters decreases as k is increased. Rousseeuw's silhouette method compares, for each observation, its proximity to its own cluster with its proximity to the nearest foreign cluster. The silhouette value ranges from -1 to +1; high positive values indicate a well-separated assignment. The gap statistic developed by Tibshirani, Walther, and Hastie compares the observed cluster structure with a suitable reference distribution that lacks distinct clusters [see Tibshirani / Walther / Hastie 2001].
The key point is this: No single metric should be the sole deciding factor. A good clustering solution should be statistically plausible, robust to small changes in the data, interpretable in a domain-specific context, and usable for decision-making. Four mathematically sound clusters that no one in the company can explain or treat differently are analytically interesting—but operationally worthless.
Methodological Guide for Practice
1. Define the research question and the unit of observation.
2. Select variables based on business needs and check data quality.
3. Scale/transform the data and specify a suitable distance metric.
4. Test multiple clustering methods and multiple k-values.
5. Compare internal quality measures, stability, and subject-matter plausibility.
6. Only then name the clusters and derive actions.
Practical Example: 300 Suppliers, Six Risk Dimensions
Let's consider an industrial company with 300 active suppliers. Six risk dimensions are tracked for each supplier: estimated probability of default, delivery time volatility, single-source dependency, geopolitical exposure, quality deviation rate, and cyber exposure. All variables are coded such that higher values indicate higher risk or exposure. The following figures are deliberately synthetic and serve solely for illustrative purposes; they are neither empirical benchmarks nor data from the book by Romeike and Wieczorek.
After data cleaning, the six characteristics are z-standardized. K-means clustering is then performed for several values of k. In the artificially generated sample, k = 4 yields a mean silhouette value of 0.62. By comparison, k = 3 yields 0.53 and k = 5 yields approximately 0.54. This is not proof that four clusters are "true," but it is a quantitative argument for examining this solution more closely.
For visualization, the six standardized dimensions are projected onto two axes using principal component analysis (PCA). In this example, the first two components explain approximately 76 percent of the variance. Important: PCA does not generate the clusters here. It serves only to visualize the six-dimensional space in a two-dimensional representation.
Fig. 02: Two-dimensional PCA projection of the four K-means clusters. The clustering itself took place in the six-dimensional standardized feature space [Source: Author's own figure based on illustrative data]
Points Become Risk Types
The four groups are initially labeled only with the neutral numbers 1 through 4. Only the analysis of the cluster centers allows for a substantive interpretation. It is precisely this step that is crucial for use in risk management: The algorithm does not recognize terms such as "strategic" or "critical." These terms emerge only through the comparison of feature profiles.
| Cluster | Default % | Delivery Time (days) | Single-Source % | Geo-Exposure | Quality Deviation % | Cyber-Exposure |
| A Robust Standard Suppliers | 1.2 | 3.0 | 18 | 19 | 0.7 | 21 |
| B Strategic bottleneck suppliers | 1.9 | 9.4 | 82 | 43 | 1.2 | 34 |
| C Operational and financial irregularities | 6.5 | 13.2 | 49 | 38 | 4.3 | 44 |
| D Geopolitical/cyber exposure | 2.4 | 8.4 | 41 | 83 | 1.6 | 78 |
Table 01: Rounded cluster centers on the original scale [Source: Author's own table based on illustrative data]
Cluster A has below-average exposure in nearly all dimensions. These suppliers would be candidates for a streamlined standard process. Cluster B, on the other hand, does not stand out due to poor creditworthiness or quality issues, but rather due to very high single-source dependency and increased lead time volatility. This is precisely where the added value over a simple risk sum becomes apparent: An economically sound supplier can still be a strategic bottleneck.
Cluster C combines an increased probability of default with high delivery time volatility and quality deviations. A standardized set of measures here could combine closer credit monitoring, quality reviews, and alternative procurement options. Cluster D is comparatively unremarkable from a financial standpoint but exhibits very high geopolitical and cyber exposures. Other tools would be appropriate here: location and sanctions monitoring, cyber assessments, alternative logistics routes, and business continuity scenarios.
Fig. 03: Standardized risk profiles of the four clusters. Positive z-scores indicate above-average characteristics, while negative z-scores indicate below-average characteristics [Source: Author's own figure based on illustrative data]
A single supplier in the model
What would a specific observation look like? Let's take supplier L-184 with a 6.8 percent estimated probability of default, 14 days of lead time volatility, 52 percent single-source dependency, a geopolitical exposure of 36/100, 4.5 percent quality deviations, and a cyber exposure of 47/100. After standardization, this profile lies close to the center of Cluster C. The model would therefore not simply label the supplier as "red," but rather assign it to a specific pattern: operationally and financially concerning. This allows for a more targeted set of measures than would be derived from six isolated traffic-light indicators.
However, the order remains important: first cluster mathematically, then label based on subject matter. Anyone who already has the desired typology in mind and then keeps adjusting variables, scaling, or k until the expected groups appear is no longer conducting exploratory analysis but is merely confirming their preconceptions.
Clusters are hypotheses, not laws of nature
The biggest errors in cluster analysis often arise not from the algorithm itself, but from its interpretation. A cluster is not an objectively existing category in reality. It is the result of a specific combination of data, variable selection, scaling, distance measure, and algorithm. Even a different scaling or the addition of a highly correlated variable can shift the boundaries.
Therefore, a robust analysis should include at least three types of testing:
- Internal validation: How compact and distinct are the clusters? Silhouette, within-cluster sum of squares, and gap statistics provide clues.
- Stability test: Do the groups remain similar when samples are slightly altered, outliers are removed, or initial values are changed? A solution that collapses with minor changes should not be used as the basis for control logic.
- Substantive validation: Are the clusters plausible in terms of content, reasonably stable over time, and linkable to different metrics? Without this test, the solution remains a mathematical pattern with no management value.
Practical experience shows that cluster analysis can be effectively applied, for example, to analyze risks in the context of supply chain processes. Hallikas et al., for instance, used cluster analysis for the risk-based classification of supplier relationships and linked the resulting types to different forms of risk management and organizational learning [see Hallikas / Puumalainen / Vesterinen / Virolainen 2005]. This does not mean that a modern company should adopt their specific typology—but it does mean that the basic idea of data-driven segmentation is scientifically sound and applicable in practice.
The Underestimated Question: What Does "Similar" Mean?
In risk management, similarity is never purely technical. If all six variables are weighted equally in the distance calculation after standardization, the implicit assumption is that one standard deviation more in cyber exposure is just as significant for the similarity calculation as one standard deviation more in probability of failure. This may make sense—but it does not have to.
Therefore, weights should not be introduced lightly, but their absence is also a weighting decision. Anyone who uses three variables for delivery performance and only one for cyber risk indirectly assigns greater weight to delivery performance. A rigorous modeling process therefore documents which risk dimensions are represented, which variables are redundant, and whether transformations were performed.
Another problem is the so-called "curse of dimensionality." With many dimensions, distances tend to become less discriminatory, and irrelevant variables can mask genuine structure. More data fields therefore do not automatically mean more insight. Often, a smaller, well-justified set of features is better than a data lake haphazardly thrown together.
From Diagnostic to Predictive Analytics
Cluster analysis itself primarily answers the question: "What structures and risk types can we find in the available data?" It is therefore not yet a forecasting method. The transition to predictive analytics begins only when future target variables are modeled—for example, delivery failures within the next twelve months, the amount of damage, or the duration of a production interruption.
Clusters can still be useful in this context. One can examine whether the identified groups exhibit different future failure rates. Cluster membership can be incorporated into a predictive model as an additional explanatory variable. Alternatively, separate predictive models can be developed for structurally distinct supplier groups. From a methodological standpoint, it is important to separate training and testing: scaling and cluster centers must be learned exclusively from the training data; test data is then assigned using the same transformations and centers. Otherwise, data leakage creeps into the forecast.
This is precisely where the logic of data analytics in risk management becomes clear: descriptive analytics describes, diagnostic analytics structures and explains patterns, and predictive analytics focuses on future developments. These methods are not isolated islands but building blocks of an analytical chain. That is why we have structured our book "Data Analytics in Risk Management" accordingly, progressing from descriptive through diagnostic to predictive analysis.
Conclusion: Good clusters don't emerge at the push of a button
Cluster analysis can transform a complex risk landscape into a manageable typology. Its true value lies not in neatly color-coding 300 data points, but in identifying different patterns that require different management responses. A strategic bottleneck is different from a financially unstable supplier—even if both would be classified as "red" in a traditional traffic-light system.
However, the method requires discipline. Data must be selected and scaled appropriately, the distance and method must be justified, the number of clusters must be verified, and the solution must be tested for stability and business plausibility. Only then can mathematical groups be transformed into business risk types.
Perhaps this is the most important message: Cluster analysis does not relieve the risk manager of the need to think. It shifts the focus to where it belongs—away from sorting individual risk indicators and toward the question of what risk patterns actually lie behind the data.
Bibliography and Further Reading
- Hallikas, Jukka / Puumalainen, Kaisu / Vesterinen, Toni / Virolainen, Veli-Matti (2005): Risk-based classification of supplier relationships. Journal of Purchasing and Supply Management, 11(2-3), pp. 72–82. DOI: 10.1016/j.pursup.2005.10.005.
- MacQueen, James B. (1967): Some Methods for Classification and Analysis of Multivariate Observations. Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, Vol. 1, pp. 281–297.
- Romeike, Frank / Wieczorek, Gabriele (2026): Data Analytics in Risk Management—Descriptive Analytics—Diagnostic Analytics—Predictive Analytics. Springer Gabler, Wiesbaden. Cluster Analysis: pp. 151–235. DOI: 10.1007/978-3-658-48843-7.
- Rousseeuw, Peter J. (1987): Silhouettes: A graphical aid to the interpretation and validation of cluster analysis. Journal of Computational and Applied Mathematics, 20, pp. 53–65. DOI: 10.1016/0377-0427(87)90125-7.
- Tibshirani, Robert / Walther, Guenther / Hastie, Trevor (2001): Estimating the Number of Clusters in a Data Set Via the Gap Statistic. Journal of the Royal Statistical Society: Series B, 63(2), pp. 411–423. DOI: 10.1111/1467-9868.00293.
- Ward, Joe H. Jr. (1963): Hierarchical Grouping to Optimize an Objective Function. Journal of the American Statistical Association, 58(301), pp. 236–244. DOI: 10.1080/01621459.1963.10500845.
Cluster analysis comprises unsupervised methods that group observations by feature similarity. Unlike supervised classification, it requires no predefined target labels for training. Similarity depends on the selected variables, scaling and distance or similarity measure.
Methods
k-Means minimises squared distances to k centres and is suited mainly to compact groups. Hierarchical methods form nested groupings; DBSCAN finds dense regions and can label points as noise. Different methods can reveal different structures in the same data.
Assessment
Standardisation can prevent measurement units from dominating distances but is not universally appropriate. Assess parameters, cluster number, stability, internal measures and practical usefulness together. Applications include risk segmentation and exploratory pattern discovery. Clusters are model-dependent structures, not automatically natural categories or causal explanations.
Enlarge graphicFictional data for illustration.Technical reference: Methodological background
Risk management comprises processes and behaviors aimed at directing an organization with regard to risks.
Risk management identifies, analyzes and assesses potential risks that could threaten a company's net assets, financial position and earnings over the medium and long term.
The aim is to ensure a company's continued existence, safeguard corporate objectives against disruptive events and increase enterprise value.
Definition of risk management based on ISO 31000:
- Risk management creates value: Risk management contributes to the demonstrable achievement of objectives and improvement of, for example, human health and safety, compliance with legal and regulatory requirements, public acceptance, environmental protection, financial performance, product quality, effectiveness of operational activities, good corporate governance and reputation.
- Risk management is an integral part of organizational processes: Risk management is part of management's responsibility and an integral part of organizational processes, as well as all projects and change processes. Risk management is not a stand-alone activity separate from the organization's main activities and core processes.
- Risk management is part of decision-making: Risk management helps risk owners make informed choices. Risk management can help prioritize activities and distinguish between alternative courses of action. Ultimately, risk management can contribute to decisions about whether a risk is unacceptable and whether risk treatment is appropriate and effective.
- Risk management explicitly addresses uncertainty: Risk management addresses the aspects of decisions that are uncertain, the nature of that uncertainty and how it can be addressed.
- Risk management is systematic, structured and timely: A systematic, timely and structured approach to risk management contributes to efficiency and consistent, comparable and reliable results.
- Risk management is based on the best available information: Inputs to the risk management process are based on information sources such as experience, feedback, observation, forecasts and expert judgment. Nevertheless, decision-makers should be informed about, and take into account, the limitations of data sets or models used. They must also consider differences of opinion among experts.
- Risk management is tailored: Risk management is tailored to the organization's external and internal context and aligned with its risk profile.
- Risk management takes human and cultural factors into account: Risk management considers the capabilities, perceptions and intentions of external and internal people that can facilitate or hinder the achievement of the organization's objectives.
- Risk management is transparent and inclusive: Appropriate and timely involvement of stakeholders, particularly decision-makers at all levels of the organization, ensures that risk management remains relevant and up to date. Stakeholder involvement also enables them to feel appropriately represented and their views to be considered when risk criteria are established.
- Risk management is dynamic, iterative and responsive to change: As internal or external events occur and context and knowledge change, risks are monitored and reviewed; new risks emerge, some change and others disappear. The organization should therefore ensure that risk management continually identifies and responds to change.
- Risk management facilitates continual improvement of the organization: Organizations should develop and implement strategies to improve the maturity of their risk management across all aspects of their organization.
Machine learning is an umbrella term for the artificial generation of knowledge from experience. An artificial system learns from examples and can generalise after training. Algorithms build a statistical model based on training data. Rather than merely memorising examples, the system identifies patterns and regularities in the data. It can then assess previously unseen data through learning transfer; overfitting can prevent successful generalisation. Applications include speech recognition on mobile phones and spam filters.
Machine learning is implemented through algorithms. These can broadly be divided into supervised and unsupervised learning.
Diagnostic analytics investigates factors that might explain observed outcomes. Its guiding question is: why did it happen? Analysts break down data, compare periods and groups, decompose contributions and test hypotheses informed by domain knowledge.
Approach
Increasing losses can be examined by business line, loss type and exposure. Higher totals may reflect business growth, greater frequency, severity or changed recording practices. Segment comparisons, regression and an Ishikawa diagram can support this investigation.
Causality
An association or large explanatory contribution is not proof of a cause. Consider confounding, selection, timing and alternative explanations. Claims about intervention effects require a credible causal design, such as a controlled experiment or a justified quasi-experimental strategy.
Enlarge graphicFictional data for illustration.Technical reference: Methodological background
Probability is a classification of statements and judgments according to their degree of certainty. Within mathematics, probability theory has developed as a separate field describing probabilities as mathematical objects.
Probabilities are described mathematically by numbers between 0 and 1, with zero and one being permissible values. An impossible event is assigned probability 0, and a certain event probability 1. However, the converse applies only if the number of all events is at most countably infinite. In "uncountably infinite" probability spaces, an event with probability 0 can occur and is then called almost impossible; an event with probability 1 need not occur and is then called almost certain.
In practice, different concepts of probability are distinguished, including:
- Classical concept of probability according to Laplace (symmetry principle): The probability of an event is the ratio of favorable outcomes to the total set of outcomes. For example, the probability of rolling an odd number with a six-sided die is 0,5. This corresponds to a relative frequency of 50 percent, since there are six possible outcomes (1, 2, 3, 4, 5, or 6), three of which have the stated property (1, 3, 5). This classical definition was developed by Christiaan Huygens and Jacob I Bernoulli and formulated by Laplace. The classical concept of probability provides the basis for classical probability theory.
- Subjectivist concept of probability: For one-off random events, the probability of occurrence can only be estimated, not calculated. Estimates are generally based on expert knowledge, experience and intuition. This is therefore called the subjectivist or Bayesian concept of probability, interpreting probability as a personal degree of belief.
- Frequentist concept of probability: A random experiment is repeated as often as possible. The relative frequencies of the respective elementary events are then determined. The probability of an event results from the limit of its relative frequency over a theoretically infinite number of repetitions. The law of large numbers plays a central role here. This requires the experiment to be repeatable without limit. Individual trials must also be independent of one another.
A mean summarizes values according to a specified calculation rule. Without qualification, “mean” often denotes the arithmetic mean. Geometric and harmonic means are different summaries with different conditions of use.
Arithmetic mean
x̄ = (1/n) ∑i=1n xi, n ≥ 1
For n numerical observations, x̄ is their sum divided by their count, with equal weight for each observation. Replacing one value by a value Δ higher increases x̄ by exactly Δ/n. Extreme values can therefore substantially affect the mean.
Distinction from expectation
μ = E[X], provided E[|X|] < ∞
x̄ describes observed data; μ belongs to an assumed probability model. For independent, identically distributed observations with finite E[|X|], the law of large numbers gives convergence of the sample mean to μ as the sample grows. It does not guarantee the accuracy of any single estimate.
For the empirical distribution assigning weight 1/n to each observed value, its expectation already equals x̄ exactly. It is therefore misleading to describe that empirical expectation as a different value reached only in the limit.
Enlarge graphicConstructed example: 6 is replaced by 26 and n stays 5. The mean increases by 20/5 = 4.For skewed observations the median may answer a different, more suitable question about location. Neither statistic alone describes dispersion, extreme losses or the complete distribution.
Technical reference: NIST: Measures of location. Status checked: 14 November 2026.
Standard deviation measures dispersion of a random variable or dataset around its mean. It is the nonnegative square root of variance and retains the unit of the measured variable. It counts deviations in both directions, rather than measuring adverse outcomes alone.
Population standard deviation
μ = E[X]; σ = √Var(X) = √E[(X − μ)2]
A finite standard deviation requires E[X²] < ∞. σ = 0 exactly when X is constant with probability one. For constants a and b, σ(a + bX) = |b|σ(X): shifts leave dispersion unchanged, while scaling changes it proportionally. Variance, unlike standard deviation, has squared units.
Sample estimation
x̄ = (1/n)∑i=1nxi; s = √[(1/(n − 1))∑i=1n(xi − x̄)2], n > 1
s is the usual corrected sample standard deviation. For independent, identically distributed observations with finite variance, s² is unbiased for σ²; s itself is generally not unbiased for σ. When describing a finite dataset as the entire population of interest, division by n is common instead. State the convention and population.
Same mean, different spread
The illustration uses normal distributions with μ = 10 and σ = 2 or 4. The second is more dispersed; variance 16 is four times variance 4. The intervals μ ± σ are [8,12] and [6,14]. Under the normal model, they each contain about 68.27% of probability; μ ± 2σ contains about 95.45%. These percentages do not hold for arbitrary distributions and do not guarantee bounds for individual observations.
Distinction from standard error
Standard deviation describes individual-value dispersion. The standard error of a sample mean describes variability of that estimator over repeated samples. For independent, identically distributed observations with finite variance, SE(x̄) = σ/√n, commonly estimated by s/√n. Dependence, weighting or complex sampling can invalidate this simple expression. Smaller standard error does not mean the underlying process has become less variable.
Risk management
Standard deviation supports dispersion and volatility comparisons on consistent units and time bases. It is sensitive to extremes and does not fully describe skewness or extreme loss severity. Distribution assessment, quantiles, Expected Shortfall and scenarios provide complementary information; robust scale measures may help with other questions.
Enlarge graphicFictional normal models: μ = 10, σ = 2 and σ = 4. Density excerpt; no empirical observations.Sources and literature: NIST: Measures of Scale; NIST: Normal Distribution.
An algorithm is a clearly defined set of instructions for solving a problem or class of problems, such as a calculation consisting of a finite number of well-defined steps. It is a precise, finite processing procedure that specifies how instances of a class of problems are solved. An algorithm defines a function that determines how an output can be obtained from a valid input.
Algorithms can be implemented in computer programs using a programming language, but they can also be expressed in ordinary language. They play a central role in mathematics and computer science as well as many everyday activities. Search engines use algorithms to select results, navigation devices use them to find the shortest route, and risk management uses them to aggregate portfolio risks through simulation. Instruction manuals and cooking or baking recipes also contain clear algorithmic instructions.
The term is derived from the Persian mathematician and astronomer Abu Jaʿfar Muhammad ibn Musa al-Khwarizmi. In the first half of the ninth century, he wrote al-Kitāb al-mukhtaṣar fī ḥisāb al-jabr wa-l-muqābala, the compendious book on calculation by completion and balancing. The word "algebra" later developed from "al-jabr" in the title. The term "algorithm", by contrast, arose from the Latinised form of his name.
Variance measures the dispersion of a random variable or empirical distribution. It is the average squared deviation from the relevant mean. Squaring gives greater influence to large deviations and treats positive and negative deviations equally.
Variance of a random variable
For a real-valued random variable X with finite second moment E[X²] < ∞ and expectation μ = E[X], finite variance is defined by:
Var(X) = σ² = E[(X − μ)²] = E[X²] − μ²
For a discrete distribution this is a probability-weighted sum of squared deviations. A continuous distribution uses the corresponding integral against its density. No normal-distribution assumption is required.
Discrete: Var(X) = ∑j pj(xj − μ)²
Variance is nonnegative and equals zero exactly when X is constant almost surely. Its units are squared: a quantity measured in euros has variance in euros². Standard deviation is its nonnegative square root and has the original units:
σ = √Var(X)
Empirical and corrected sample variance
For n observations with arithmetic mean x̄, division by n gives the variance of the observed values’ empirical distribution:
vn = (1/n) ∑i=1n(xi − x̄)², n ≥ 1
When estimating an unknown population variance from a sample, a common choice is corrected sample variance:
s² = (1/(n − 1)) ∑i=1n(xi − x̄)², n > 1
For independent, identically distributed observations with finite variance, s² is unbiased for population variance. Division by n − 1 accounts for estimating the mean from the same observations. vn and s² answer different questions, so the denominator must be specified.
Enlarge graphicOwn numerical example. Deviations and their squares are shown separately. The two result fields distinguish a specified probability distribution from variance estimation using a sample.The example values 2, 4 and 6 have center 4 and squared deviations 4, 0 and 4. A specified distribution assigning probability 1/3 to each value therefore has variance 8/3. If those same values are instead a sample from an unknown distribution, the corrected estimate is s² = 8/2 = 4. This second value is an estimate, not the variance of the first specified distribution.
Transformation and aggregation
Var(aX + b) = a² Var(X)
A constant shift b leaves variance unchanged; scaling by a multiplies it by a². For variables with finite second moments:
Var(∑iXi) = ∑iVar(Xi) + 2∑i<jCov(Xi, Xj)
Aggregation must therefore account for dependence. Independence makes the covariance terms vanish. Variance measures favourable and adverse deviations alike; it is not exclusively a downside-risk measure and does not alone describe extreme losses or the full distribution.
Technical references: NIST: Measures of Scale · Newcastle University: Variance and Standard Deviation. Example and chart: own calculation. Status checked: 14 November 2026.
Data quality is the fitness of data for a particular purpose. Dimensions include accuracy, completeness, consistency, timeliness, uniqueness and validity. Quality is contextual and cannot be reduced to one universal score.
In analytics
Checks cover permissible ranges, unique keys, temporal plausibility and reconciliation across sources. Document ownership, provenance and transformations. A missing value is not automatically zero; the mechanism producing missingness may bias results.
Risk relevance
Omitted large claims or inconsistent currencies can distort loss estimates. Cleaning requires domain judgement: an extreme observation may be an error or precisely the risk event of interest. Monitor quality controls and their effects on decisions over time.
Technical reference: Methodological background
The term quality can be traced to the Latin qualitas (= nature, characteristic, property, state) and has two core meanings:
- Neutral: the sum of all properties of an object, system or process;
- Evaluative: the excellence of all properties of an object, system or process.
Quality denotes a perceptible state of systems and their characteristics, defined over a particular period by specified properties of the system in that state.
Under ISO 9000:2014 (3.5.2), quality is the degree to which a set of inherent characteristics (3.65) of an object (3.36) fulfills requirements (3.3).
- Note 1 to entry: The term "quality" can be used with adjectives such as poor, good or excellent.
- Note 2 to entry: "Inherent", as opposed to "assigned", means "existing in an object (3.36)".
Probability of Default (PD) is the probability that a borrower defaults within a specified horizon under a clearly defined default criterion. A one-year PD conditions on the borrower not having defaulted at the start. Estimation can use rating grades, historical default frequencies, financial variables and forward-looking information. Horizon, population and calibration must be stated.
Mathematical formulation
PD(T) = P(τ ≤ T | τ > 0)
p̂D(T) = dT / n0
PD(T) = 1 − ∏t=1T (1 − qt)
EL ≈ PD · LGD · EAD
τ is default time and T the horizon. In a fully observed cohort, n₀ is the number of performing borrowers at the start and dT the number defaulting by the end. Example: 10 defaults among 1,000 borrowers give an observed one-year default rate of 1%. This estimates PD; it is not an exactly known probability. Apply a consistent default definition and count each borrower once. Incomplete observation, entries or exits require appropriate cohort or survival methods. In the multi-period equation, T is an integer number of periods and qt is period t’s conditional default probability given survival to its start. Period independence is not required. Regulatory long-run PDs are not automatically equal to the default rate of one cohort. PD lies between 0 and 1. LGD is the loss fraction upon default; EAD is exposure at default. Their product is a common one-period approximation of expected credit loss EL using consistent inputs. With random or dependent loss fractions and exposures, the general quantity is E[1{τ≤T} · LGD · EAD]. An observed default rate is a sample statistic, not automatically a borrower’s true PD. Example: 1% PD, 40% LGD and EUR 100,000 EAD give approximately EUR 400 expected loss.
Sources and literature: Technical background
A measure of the variability of fluctuations in general, and of security prices, interest rates and exchange rates in particular. A common way to measure the volatility of a security is to calculate the standard deviation of relative price changes.
Enlarge graphicMathematical formulation
rt = ln(Pt / Pt−1)
sr = √[(1 / (n − 1)) ∑t=1n (rt − r̄)2]
σJahr ≈ √m · sr
Pt is a positive price consistently adjusted for distributions and corporate actions; rt is the log return. n > 1 returns give the sample estimate sr. Annualisation using m periods per year assumes uncorrelated returns of equal variance; it is not generally valid with serial dependence.
Technical reference: Chalmers: Financial Risk
Classification is supervised learning that assigns observations to discrete target classes, using labelled training examples. Binary classification has two classes; multiclass classification has more than two. Multilabel tasks allow multiple labels per observation.
Decision example
A transaction model may flag suspicious activity. It often estimates a score or probability before a threshold determines the class. Threshold choice should reflect error costs, review capacity and base rates.
Validation
A confusion matrix separates correct and incorrect decisions. For rare events, accuracy alone is insufficient; precision, recall, precision–recall curves and calibration provide complementary information. Unlike clustering, supervised classification uses target labels during training. Prediction does not establish causal explanation.
Technical reference: Methodological background
- Theft of confidential information, product data and development work, extending to systematic espionage;
- Theft of intellectual property, manipulation of trading transactions, misappropriation of assets,
- Financial fraud, credit card misuse, forgery and misuse of identities
Predictive analytics uses statistical models and machine learning to estimate unknown or future outcomes from available information. Outputs may be point forecasts, classes, probabilities or predictive distributions.
Applications
Examples include default probabilities, claim frequency and liquidity needs. Methods include regression, time-series models, decision trees and neural networks. Performance must be measured on information unavailable during model fitting and selection.
Validation and uncertainty
Separate training, selection and final evaluation; temporal data require time-respecting validation. Prediction intervals and calibrated probabilities express uncertainty. Environmental or distributional changes can reduce reliability. A forecast depends on its assumptions, establishes no causal effect and does not itself select an optimal intervention.
Enlarge graphicFictional data for illustration.Technical reference: Methodological background
Data leakage occurs when model development or evaluation uses information unavailable at the intended prediction time. It can make evaluation appear substantially better than deployment performance.
Examples
Feature selection before splitting, scaling on the full dataset, the same person in training and test, or a field recorded after the outcome can all leak information. Repeated model changes based on a final test set turn it into part of model selection.
Prevention
Define splits and availability times in advance. Keep learned preprocessing inside the training pipeline and every validation fold. Separate dependent entities appropriately and verify each feature's provenance and calculation time against the real decision process.
Technical reference: Methodological background
Data analytics is the systematic examination of data to describe events, investigate relationships, predict outcomes and support decisions. It includes acquisition, quality checks, preparation, statistical analysis, modelling, visualisation and interpretation in context.
Four perspectives
Descriptive analytics summarises what happened. Diagnostic analytics investigates possible explanations. Predictive analytics estimates unknown or future outcomes. Prescriptive analytics evaluates actions against objectives, constraints and uncertainty. These perspectives complement each other; they need not form a fixed technical sequence.
Risk management application
An analysis may connect loss reporting, unusual segments, loss forecasts and prevention decisions. Document the data, horizon, assumptions and uncertainty. Statistical association does not prove causation. Greater predictive accuracy is valuable when it improves a relevant decision, rather than merely a benchmark score.
Technical reference: Methodological background
Descriptive analytics summarises historical and current data: what happened, how often and to what extent? Tools include frequency tables, measures of location and dispersion, time series, distribution plots and dashboards.
Example
Risk reporting may compare loss counts, severity and loss rates by period, site or risk category. Quarterly losses of €40k, €65k, €30k and €55k total €190k and average €47.5k. This summary does not explain the second-quarter increase.
Limits
Comparisons need consistent definitions, time windows and exposure measures. Averages can conceal skewness and extreme losses. Missing reports, changed recording rules and aggregation may distort results. Description alone establishes neither causality nor future performance.
Enlarge graphicFictional data for illustration.Technical reference: Methodological background
- Integrate risk management into corporate management and policy and understand risk in the overall context of the organization's objectives and strategies and external requirements and expectations,
- Define and delimit the scope of risk management,
- Define risk management methods (assessment methods, aggregation methods, etc.),
- Identify risk or cause-and-effect scenarios together with the risk owners,
- Carry out risk estimation together with the risk owners,
- Aggregate risks while taking possible dependencies into account and relate them to risk-bearing capacity (risk aggregation),
- Define measures together with risk owners and analyze their business rationale (for example, using sensitivity analysis),
- Present the costs and benefits of risk management quantitatively,
- Identify risk tolerance limits and ranges and perform a benefit-risk analysis (balancing of interests) together with the risk owners,
- Document risk management and the results of risk assessment,
- Position the risk management process within the organization's process landscape,
- Describe the applications of risk management with reference to the other processes and identify and document interactions between the risk management process and the process concerned,
- Maintain and continuously improve the risk management system and all its elements.
