Manuscript Offprint
arXiv:2610.29418Inconsistency in the analytic hierarchy process under data uncertainties
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
In this paper, we study the inconsistency of matrices in multicriteria group decision making under the assumption of uncertainty in their entries. The study binds together an -dimensional probabilistic product measure and the Koczkodaj indicator of order used in pairwise comparisons. In the case of greater than 3, it starts with a new definition of based on the Steiner triple system of order . It is of interest that the new indicator requires only evaluations, while the old one . Our study results in analytic formulae for the probabilities of events corresponding to uniform, exponential, and normal distribution functions, whenever the remainder of divided by 6 equals 1 or 3. For the remaining values of , we present analytic formulae for their strict bounds. The formulae lead to much more efficient algorithms when compared with Monte Carlo simulations. This unexpected feature is illustrated by a few numerical experiments.
Keywords: multiple criteria analysis, random reciprocal matrices, inconsistency index, Steiner covering, pairwise comparisons
1. Introduction and preliminaries
Pairwise comparisons is the most important and fundamental method in multicriteria group decision making. It emerged in the year 1977 as an essential part of the Analytic Hierarchy Process (AHP), attributed to Saaty (1977). The aim of this process is to derive a vector of priorities ranking the alternatives under consideration by importance. These priorities are obtained from relative preferences made by human experts (or other actors like responders, knowledge suppliers, voters) who compare each pair of alternatives and subjectively tell how many times one alternative is more important than the second. The numerical assessments given by an individual expert are collected in a square PC matrix of order equal to the number of all alternatives.
The ideal situation in pairwise comparisons occurs when an expert makes perfectly coherent judgements about the alternatives. Then a PC matrix of assessments is said to be consistent and can be represented in terms of a priority vector whose length equals the number of alternatives. However, most human assessments deviate from such perfect consistency, especially when they are made for many alternatives. Therefore, during a decision making process, the consistency of
*Corresponding author
Email addresses: przemysław.rutka@mimuw.edu.pl (Przemysław Rutka), ryszard.smarzewski@wat.edu.pl (Ryszard Smarzewski) every provided PC matrix has to be verified, and those that are not sufficiently consistent, i.e., meaningless and unreliable for a decision maker, should be repaired by the expert or excluded from the process.
The most popular methods for measuring the inconsistency of a PC matrix use indicators proposed by Saaty (1977) and Koczkodaj (1993). These are eigenvalue- and distance-based indicators, respectively. The eigenvalue-based indicator was criticized by Koczkodaj & Szwarc (2014), who argued that its soundness must be questioned. They substantiated this claim using well-crafted counterexamples.
According to Koczkodaj & Szwarc (2014), the long history of measuring inconsistency in pairwise comparisons includes important contributions by Kendall & Babington-Smith (1940), Saaty (1977), Van Laarhoven & Pedrycz (1983), Kulakowski et al. (2019), and Szybowski et al. (2020). Moreover, it is summarized by Brunelli (2016, 2018); Brunelli et al. (2013) and Mazurek (2023). For such measurement, several concepts of inconsistency indicators have been introduced and applied in practice; cf. Aguarón & Moreno-Jiménez (2003), Brunelli (2018), Koczkodaj (1993), Koczkodaj et al. (2020), Koczkodaj & Szwarc (2014), Liu et al. (2020), Magnot (2019, 2020), Peláez & Lamata (2003), Saaty (1977), Stein & Mizzi (2007), and the authors (Smarzewski & Rutka, 2020). In this regard, we mention a hard unsolved problem.
Problem 1.1. For a given inconsistent matrix, estimate the probability of generating a matrix that is as close as possible to the given one while maintaining a probabilistic inconsistency level below a fixed threshold.
To solve this problem, it is necessary to choose an appropriate probability measure and compute the probability that the inconsistency value of a given indicator falls below a specified threshold. We note that knowledge of chance in Problem 1.1 is of importance both from a computational and theoretical point of view. For example, it helps determine the appropriate number of considered alternatives and the threshold when computing accurate approximations with an admissible degree of inconsistency. The main objective of our study is to solve Problem 1.1 for some classical distribution functions.
The paper is organized as follows: In Sections 3 - 5 we investigate how the perturbations of a given PC matrix of order 3 have an effect on the generated consistent matrix under uniform, exponential, and normal distributions. In the first case, we additionally establish how the rate of inconsistency depends on the support of the corresponding density function. The effective analytic formulae established in these sections are compared with the Monte Carlo simulations of an approximate consistent matrix, which require an enormous 10 million samples to achieve results comparable to ours. In Section 6 we consider pairwise comparisons for alternatives, where . We begin with a new definition of a Koczkodaj-type indicator. The new indicator, which is based on the Steiner triple system of order (Fort Jr. & Hedlund, 1958; Kirkman, 1847; Lindner & Rodger, 2008), has an optimal complexity of , whereas the Koczkodaj indicator is . Subsequently, we derive explicit formulae for the inconsistency probabilities for and . In the remaining cases strict estimates are presented. Finally, in the Conclusions, we propose a divide-and-conquer algorithm for group decision making that adjusts the inconsistency threshold based on the number of experts.
where is the number of alternatives considered and
A PC matrix M is said to be consistent if
for all triads from the index set
One of the most popular methods of measuring the inconsistency of M is based on the following definition of an indicator (Duszak & Koczkodaj, 1994):
where K is the Koczkodaj indicator of order 3 (Koczkodaj, 1993):
for principal submatrices of M having the form
We note that , and if and only if is consistent. On the other hand, the definition of has a serious drawback for , because the following hypothesis is false for . This problem will be studied in Section 6.
Hypothesis 1. There exists a subset of such that every entry of above the main diagonal is an entry of exactly one submatrix for a triad .
Using this notation, we can write the problem stated in Section 1 as follows.
Problem 2.1. For a given inconsistent PC matrix M, estimate the chance of randomly generating a matrix A (from the set of PC matrices) that is as close as possible to M and satisfies the inequality
The main objective of our study is to solve Problem 2.1 for some distribution functions. For this purpose, we use the Lebesgue-Stieltjes probabilistic product measures defined on the -fold Cartesian product of Borel sets in . Moreover, we consider as a function of positive variables ( ).
3. Uniform perturbation of matrices
Let F and f denote the uniform distribution and density in defined by
where the one-dimensional functions are equal to
Then the Lebesgue-Stieltjes measure is concentrated on
In the following, we write a PC matrix in the form
Then the indicator
is a function defined everywhere on , except for the points of planes , , and . It has a continuous extension to all points of these planes, except those lying on the coordinate axes. Indeed, we have
and so as , , and decreases to 0. Hence, we can put and apply symmetry to prove the claim. Now we establish the first of two main results in this section.
Theorem 2. If , then we have
Proof. By the definition of indicator, it follows that
Hence, the inequality is satisfied in cube Q if and only if
The volume of all points that satisfy this inequality is equal to
In order to compute the last integral, we use the formula
Then it can be evaluated as follows
Hence, we eventually get
Note that the probability
converges to the expected values 0 and 1 for and . The orders of this convergence are given in the following corollary.
Corollary 3.1. We have
Proof. Since
and
are non-zero, the proof is complete.
Usually, it is necessary to sample the PC matrix M that depends on the variables of a larger cube than the unit cube Q. Then we should take , where
Theorem 3. If , then
a)
b)
Proof. Inequality is satisfied in if and only if
Hence, one can express the following probability in integral form:
By changing variables and , we obtain
where
Indeed, the first formula has been computed in the proof of Theorem 2 and the second is a direct consequence of identity . Finally, if , then
and if , then
The formulae in Theorems 2 and 3 admit efficient computation of the probabilities and of getting by chance a PC matrix having the inconsistency indicator not greater than . These formulae yield the following algorithm for computing the probability .
Algorithm 1 Computing the uniform probability of inconsistency .
Input: the level of inconsistency and the scale .
Output: the probability .
1:
2:
3: if then
4:
5: else
6:
7: end if
8: return
Numerical experiments
In the experiments, we used Algorithm 1 to compute the probability values for the parameters
The numerical results were calculated with a precision of 4 decimal places. Figure 1 shows a plot of the probabilities generated for some values of given parameters. Each probability we obtained was compared with that from a classical Monte Carlo simulation (Herman & Koczkodaj, 1996; Szybowski et al., 2020). For this purpose, we computed random PC matrices by choosing random numbers each time from the interval , and counted how many times . The ratio of the latter number and gave an approximation of the probability . The results we derived from the Monte Carlo simulations differ from the previous ones by no more than 0.0004.
4. Exponential perturbation of matrices
It is of interest that an analytical formula for the probability can also be established for other distributions of positive data , which define a PC matrix. In this section, we consider the probabilistic inconsistency generated by the Lebesgue-Stieltjes product measure in of the following one-dimensional exponential distribution and corresponding density
In this case, can be expressed in terms of the exponential integrals or the confluent hypergeometric function . We recall that the exponential integral

Figure 1: Uniform probabilities generated by Algorithm 1 for various values of .
is defined according to
Here is the Euler-Mascheroni constant with the numerical value 0.5772156649, exact up to 10 decimal places.
Theorem 4. If and , then
Proof. By the definition of indicator , we conclude that a point with positive coordinates satisfies the inequality if and only if it belongs to the set
Since we have , it follows that
Hence, the definition of the exponential integral yields
which completes the proof.
The probability in Theorem 4 can be rewritten in the form
where
Hence, it can be efficiently approximated by the Gauss-Laguerre quadrature formula
where are weights and nodes of the Gauss-Laguerre quadrature of order (Gautschi, 2004; Nikiforov & Uvarov, 1988). The weights and nodes can be easily precomputed using the divide-and-conquer -algorithm due to Gu & Eisenstat (1995) or by the iterative -algorithm of Glaser et al. (2007). It is worth noting that the values of can also be computed by applying the MATLAB function . In this case, we use Theorem 4 to obtain a MATLAB command of the form:
where
Numerical experiments
As part of the experiments, we computed the probability values (rounded to 4 decimal places) for the parameters
and
using the MATLAB command. Some selected results are presented in Figure 2. For completeness, we compared the results with the outputs of a Monte Carlo simulation similar to the one in Section 3. Every 10 million random PC matrices generated according to an exponential distribution with parameter yielded a single approximate probability after verifying their inconsistency level. The maximum difference between the corresponding probabilities did not exceed 0.0003.

Figure 2: Exponential probabilities for different values of .
5. Normal perturbation of matrices
Denote and consider the -conditional normal measure of inconsistency associated with the Lebesgue-Stieltjes measure in generated by the density function of the form
with the mean and the standard deviation . Without loss of generality, we shall assume below that . Under this assumption, we express the conditional probability in terms of the arctan-exponential integral defined by
For this purpose, we employ the identity from (Gradshteyn & Ryzhik, 1994):
Theorem 5. If and , then we have
Proof. The conditional probability is equal to
Integrating by parts, we express this formula in the form
Now we can apply the identity (2) twice to get
Hence, the definition of the arctan-exponential integral yields the desired formula.
Note that the probability in Theorem 5 can be reformulated into
upon using the notation
Hence, it can be effectively approximated by the Gauss-Hermite quadrature formula
where are weights and are nodes of the Gauss-Hermite quadrature of order (Gautschi, 2004; Nikiforov & Uvarov, 1988). As in the exponential case, these weights and nodes can be precomputed by using one of the popular algorithms such as the Gu & Eisenstat (1995) method or Glaser et al. (2007) procedure. These calculations can be simplified by computing with the following MATLAB commands, derived from Theorem 5:
g = @(x, t) atan(t .* x) .* exp(-t .^ 2) Ti = @(x) integral(@(t) g(x, t), 0, Inf) P = @(eps, sig) (Ti(sig .* sqrt(2) ./ (1 - eps)) - Ti((1 - eps) .* sig .* sqrt(2))) .* 4 ./ (pi .* sqrt(pi))
where the parameters eps and sig correspond to and , respectively, and .
Numerical experiments
We used MATLAB to compute the probability values for the parameters
and
The results we obtained were accurate to 4 decimal places. They are illustrated in Figure 3 as a three dimensional surface. In line with the previous sections, we compared the generated probability values with the corresponding outputs of a Monte Carlo simulation in which every random PC matrix M had normally distributed entries x, y, z. The maximum discrepancy between associated probabilities remained within 0,0003.

Figure 3: Normal probabilities for various values of and .
6. Perturbation of matrices for
In this section, we consider the problem of computing probability for any Lebesgue-Stieltjes product measure in , where . If , we denote . Then the indicator of a PC matrix can be defined as in Section 1:
where K is the Koczkodaj indicator
for submatrices of the form
However, this definition is disadvantageous for , because random variables are not independent in general. From now on, we assume that the random variables and are independent if the index sets and are disjoint. A set of such variables is said to be independent if every two of its elements are independent.
Unless otherwise stated, from now on we assume Hypothesis 1 and choose a subset , described there. Furthermore, we suppose that the definition of is refined as follows
Then the following important theorem follows from the independence of random variables , written under the maximum.
Theorem 6. Under the assumption of Hypothesis 1, we have
where is the number of elements in .
Proof. By Hypothesis 1 the matrix is a Cartesian product of disjoint submatrices , where . Then we can apply Fubini's theorem to show that the random variables are independent. Hence, the formula follows directly from the definition of independency.
This theorem can be used to numerically compute probabilities in the case of uniform, exponential, and normal perturbations. For this purpose, we recommend applying efficient procedures from Sections 3 - 5 to compute the probability .
Now we proceed to determine a subset of disjoint submatrices of having maximal length . They will be represented by a subset of the triad set . In general, such a set does not satisfy Hypothesis 1. Moreover, it is not uniquely determined.
Theorem 7. The set of triads , of length satisfies Hypothesis 1 for or . Then we have
Proof. The set is, in fact, a set of 3-element subsets of the set , such that each pair of distinct elements of occurs together in exactly one triad of . Therefore, the pair is a combinatorial configuration called a Steiner triple system of order (Lindner & Rodger, 2008). It is known that such a configuration exists if and only if or (Kirkman, 1847). In view of the fact that each triad in contains three of pairs of distinct elements of and using Theorem 6 we may complete the proof.
In Design Theory, there are two main techniques for constructing Steiner triple systems (Lindner & Rodger, 2008). The Bose Construction (Bose, 1939) allows one to produce of order , whereas the Skolem Construction (Skolem, 1958) covers order . These methods are based on idempotent and half-idempotent commutative quasigroups, respectively. For example, for , these procedures generate the following sets of triads:
The last two sets are shown in Table 1, in which the triads are represented by squares numerated according to the order within .
Table 1: The sets of disjoint triads for and 9.
If and , then we denote by a subset of that has the minimum length for which every entry above the main diagonal of is an entry of at least one submatrix with . In other words, the set is a cover of with the minimum possible length .
Corollary 6.1. If and , then
where
with symbol denoting the ceil function.
Proof. The problem of finding may be treated as a minimum covering with triangles. Since in (Schönheim, 1964) the number of triangles in this minimum covering has been established in an even more general setting
we may finish the proof.
14
□
A more specific formula for is known, which was proved earlier in (Fort Jr. & Hedlund, 1958).
For example, we have
The procedures for constructing minimum covering with triangles can be found in (Lindner & Rodger, 2008). For example, for n = 4, 5, 6 and 8, they can be used to produce the following sets of triads (see also Table 2):
Table 2: The minimal triangle cover of for .
7. Conclusions
The presented formulae for probabilities allow one to estimate the frequency of the occurrence of random matrices within the assumed level of inconsistency relative to all admissible PC matrices. They suggest a novel way to compute a threshold value of the inconsistency indicator , below which one should accept the PC matrices assessed by experts. More precisely, if we suppose that experts made their judgements in the form of PC matrices , , then every value of must be compared with the assumed inconsistency tolerance threshold . Only those PC matrices for which are allowed to the further stages of the decision making process. If we choose some as the threshold of acceptable inconsistency of experts' assessments, then we admit that in this group of experts there may be
who could provide random PC matrices instead of meaningful ones. Thus, it is obvious that a group decision making system should adjust the level of acceptable inconsistency of PC matrices to the largest possible value for which . For this purpose, the following divide-and-conquer Algorithm 2 can be used.
Algorithm 2 Adjusting the threshold of PC matrix inconsistency, according to the number of experts.
Input: an initial level of inconsistency , a number of experts , and required precision of computation prec > 0.
Output: the altered level of inconsistency .
1: if then
2: return
3: end if
4:
5:
6:
7: while do
8: if then
9:
10: else
11:
12: end if
13:
14: end while
15: return l
Finally, since any cumulative probability distribution function is non-decreasing in each direction, the correctness of Algorithm 2 is evident. Moreover, note that the applicability of this algorithm is indirectly determined by the degree n of PC matrices. The larger n, the more experts are required for this threshold adjustment to work. Fortunately, in view of psychological limitations of human insight, in practice the number n of alternatives included in pairwise comparisons is usually assumed to be at most 7. If, however, a greater number of alternatives have to be considered, then they may be divided into smaller groups before pairwise comparisons are made.
References
Aguarón, J., & Moreno-Jiménez, J. M. (2003). The geometric consistency index: Approximated thresholds. European J. Oper. Res., 147, 137–145.
Bose, R. C. (1939). On the construction of balanced incomplete block designs. Ann. Eugenics, 9, 353–399.
Brunelli, M. (2016). Recent advances on inconsistency indices for pairwise comparisons – a commentary. Fundam. Inform., 144, 321–332.
Brunelli, M. (2018). A survey of inconsistency indices for pairwise comparisons. Int. J. Gen. Syst., 47, 751–771.
Brunelli, M., Canal, L., & Fedrizzi, M. (2013). Inconsistency indices for pairwise comparison matrices: a numerical study. Ann. Oper. Res., 211, 493–509.
Duszak, Z., & Koczkodaj, W. W. (1994). Generalization of a new definition of consistency for pairwise comparisons. Inf. Process. Lett., 52, 273–276.
Fort Jr., M. K., & Hedlund, G. A. (1958). Minimal coverings of pairs by triples. Pacific J. Math., 8, 709–719.
Gautschi, W. (2004). Orthogonal Polynomials Computation and Approximation. Numerical Mathematics and Scientific Computation. New York: Oxford University Press.
Glaser, A., Liu, X., & Rokhlin, V. (2007). A fast algorithm for the calculation of the roots of special functions. SIAM J. Sci. Comput., 29, 1420–1438.
Gradshteyn, I. S., & Ryzhik, I. M. (1994). Table of Integrals, Series, and Products. (5th ed.). San Diego: Academic Press.
Gu, M., & Eisenstat, S. C. (1995). A divide-and-conquer algorithm for the symmetric tridiagonal eigenproblem. SIAM J. Matrix Anal. Appl., 16, 172–191.
Herman, M. W., & Koczkodaj, W. W. (1996). A Monte Carlo study of pairwise comparison. Inform. Process. Lett., 57, 25–29.
Kendall, M. G., & Babington-Smith, B. (1940). On the method of paired comparisons. Biometrika, 31, 324–345.
Kirkman, T. P. (1847). On a problem in combinations. Cambridge and Dublin Math. Journal, 2, 191–204.
Koczkodaj, W. W. (1993). A new definition of consistency of pairwise comparisons. Math. Comput. Model., 18, 79–84.
Koczkodaj, W. W., Smarzewski, R., & Szybowski, J. (2020). On orthogonal projections on the space of consistent pairwise comparisons matrices. Fundam. Inform., 172, 379–397.
Koczkodaj, W. W., & Szwarc, R. (2014). On axiomatization of inconsistency indicators for pairwise comparisons. Fundam. Inform., 132, 485–500.
Kulakowski, K., Szybowski, J., & Prusak, A. (2019). Towards quantification of incompleteness in the pairwise comparisons methods. Internat. J. Approx. Reason., 115, 221–234.
Lindner, C. C., & Rodger, C. A. (2008). Design Theory. Discrete Mathematics and its Applications. Boca Raton, FL: CRC Press, Taylor & Francis Group.
Liu, F., Zou, S.-C., & Li, Q. (2020). Deriving priorities from pairwise comparison matrices with a novel consistency index. Appl. Math. Comput., 374, 125059.
Magnot, J.-P. (2019). On mathematical structures on pairwise comparisons matrices with coefficients in an abstract group arising from quantum gravity. Heliyon, 5, e01821.
Magnot, J.-P. (2020). Inconsistency in pairwise comparisons as an Abelian Yang-Mills theory. hal-03091527 (https://hal.archives-ouvertes.fr/hal-03091527/document).
Mazurek, J. (2023). Inconsistency Indices and Their Properties. In Advances in Pairwise Comparisons: Detection, Evaluation and Reduction of Inconsistency (pp. 21–47). Cham: Springer Nature Switzerland.
Nikiforov, A. F., & Uvarov, V. B. (1988). Special Functions of Mathematical Physics. Basel-Boston: Birkhäuser.
Peláez, J. I., & Lamata, M. T. (2003). A new measure of consistency for positive reciprocal matrices. Computers and Mathematics with Applications, 46, 1839–1845.
Saaty, T. L. (1977). A scaling method for priorities in hierarchical structure. J. Math. Psych., 15, 234–281.
Schönheim, J. (1964). On coverings. Pacific J. Math., 14, 1405–1411.
Skolem, T. (1958). Some remarks on the triple systems of steiner. Math. Scand., 6, 273–280.
Smarzewski, R., & Rutka, P. (2020). Consistent projections and indicators in pairwise comparisons. Internat. J. Approx. Reason., 124, 123–132.
Stein, W. E., & Mizzi, P. J. (2007). The harmonic consistency index for the analytic hierarchy process. European J. Oper. Res., 177, 488–497.
Szybowski, J., Kulakowski, K., & Prusak, A. (2020). New inconsistency indicators for incomplete pairwise comparisons matrices. Math. Social Sci., 108, 138–145.
Van Laarhoven, P. J. M., & Pedrycz, W. (1983). A fuzzy extension of Saaty's priority theory. Fuzzy Sets and Systems, 11, 229–241.