**Pairwise comparison** generally is any process of comparing entities in pairs to judge which of each entity is preferred, or has a greater amount of some quantitative property, or whether or not the two entities are identical. The method of pairwise comparison is used in the scientific study of preferences, attitudes, voting systems, social choice, public choice, requirements engineering and multiagent AI systems. In psychology literature, it is often referred to as **paired comparison**.

Prominent psychometrician L. L. Thurstone first introduced a scientific approach to using pairwise comparisons for measurement in 1927, which he referred to as the law of comparative judgment. Thurstone linked this approach to psychophysical theory developed by Ernst Heinrich Weber and Gustav Fechner. Thurstone demonstrated that the method can be used to order items along a dimension such as preference or importance using an interval-type scale.

## Overview

If an individual or organization expresses a preference between two mutually distinct alternatives, this preference can be expressed as a pairwise comparison. If the two alternatives are *x* and *y*, the following are the possible pairwise comparisons:

The agent prefers *x* over *y*: "*x* > *y*" or "*xPy*"

The agent prefers *y* over *x*: "*y* > *x*" or "*yPx*"

The agent is indifferent between both alternatives: "*x* = *y*" or "*xIy*"

## Probabilistic models

In terms of modern psychometric theory probabilitistic models, which include Thurstone's approach (also called the law of comparative judgment), the Bradley–Terry–Luce (BTL) model, and general stochastic transitivity models,^{[1]} are more aptly regarded as a measurement models. The Bradley–Terry–Luce (BTL) model is often applied to pairwise comparison data to scale preferences. The BTL model is identical to Thurstone's model if the simple logistic function is used. Thurstone used the normal distribution in applications of the model. The simple logistic function varies by less than 0.01 from the cumulative normal ogive across the range, given an arbitrary scale factor.

In the BTL model, the probability that object *j* is judged to have more of an attribute than object *i* is:

where is the scale location of object *; is the logistic function (the inverse of the logit). For example, the scale location might represent the perceived quality of a product, or the perceived weight of an object.
*

The BTL model, the Thurstonian model as well as the Rasch model for measurement are all closely related and belong to the same class of stochastic transitivity.

Thurstone used the method of pairwise comparisons as an approach to measuring perceived intensity of physical stimuli, attitudes, preferences, choices, and values. He also studied implications of the theory he developed for opinion polls and political voting (Thurstone, 1959).

## Transitivity

For a given decision agent, if the information, objective, and alternatives used by the agent remain constant, then it is generally assumed that pairwise comparisons over those alternatives by the decision agent are transitive. Most agree upon what transitivity is, though there is debate about the transitivity of indifference. The rules of transitivity are as follows for a given decision agent.

- If xPy and yPz, then xPz
- If xPy and yIz, then xPz
- If xIy and yPz, then xPz
- If xIy and yIz, then xIz

This corresponds to (xPy or xIy) being a total preorder, P being the corresponding strict weak order, and I being the corresponding equivalence relation.

Probabilistic models also give rise to stochastic variants of transitivity, all of which can be verified to satisfy (non-stochastic) transitivity within the bounds of errors of estimates of scale locations of entities. Thus, decisions need not be deterministically transitive in order to apply probabilistic models. However, transitivity will generally hold for a large number of comparisons if models such as the BTL can be effectively applied.

Using a transitivity test^{[2]} one can investigate whether a data set of pairwise comparisons contains a higher degree of transitivity than expected by chance.

## Argument for intransitivity of indifference

Some contend that indifference is not transitive. Consider the following example. Suppose you like apples and you prefer apples that are larger. Now suppose there exists an apple A, an apple B, and an apple C which have identical intrinsic characteristics except for the following. Suppose B is larger than A, but it is not discernible without an extremely sensitive scale. Further suppose C is larger than B, but this also is not discernible without an extremely sensitive scale. However, the difference in sizes between apples A and C is large enough that you can discern that C is larger than A without a sensitive scale. In psychophysical terms, the size difference between A and C is above the just noticeable difference ('jnd') while the size differences between A and B and B and C are below the jnd.

You are confronted with the three apples in pairs without the benefit of a sensitive scale. Therefore, when presented A and B alone, you are indifferent between apple A and apple B; and you are indifferent between apple B and apple C when presented B and C alone. However, when the pair A and C are shown, you prefer C over A.

## Preference orders

If pairwise comparisons are in fact transitive in respect to the four mentioned rules, then pairwise comparisons for a list of alternatives (*A*_{1}, *A*_{2}, *A*_{3}, ..., *A*_{n−1}, and *A*_{n}) can take the form:

For example, if there are three alternatives *a*, *b*, and *c*, then the possible preference orders are:

If the number of alternatives is n, and indifference is not allowed, then the number of possible preference orders for any given *n*-value is *n*!. If indifference is allowed, then the number of possible preference orders is the number of total preorders. It can be expressed as a function of n:

where *S*_{2}(*n*, *k*) is the Stirling number of the second kind.

## Applications

One important application of pairwise comparisons is the widely used Analytic Hierarchy Process, a structured technique for helping people deal with complex decisions. It uses pairwise comparisons of tangible and intangible factors to construct ratio scales that are useful in making important decisions.^{[3]}^{[4]}

Another important application is the Potentially All Pairwise RanKings of all possible Alternatives (PAPRIKA) method.^{[5]} The method involves the decision-maker repeatedly pairwise comparing and ranking alternatives defined on two criteria or attributes at a time and involving a trade-off, and then, if the decision-maker chooses to continue, pairwise comparisons of alternatives defined on successively more criteria. From the pairwise rankings, the relative importance of the criteria to the decision-maker, represented as weights, is determined.

## See also

- Analytic Hierarchy Process
- Law of comparative judgment
- Potentially all pairwise rankings of all possible alternatives (PAPRIKA) method
- PROMETHEE pairwise comparison method
- Preference (economics)
- Stochastic Transitivity
- Condorcet method

## References

**^**Oliveira, I.F.D.; Zehavi, S.; Davidov, O. (August 2018). "Stochastic transitivity: Axioms and models".*Journal of Mathematical Psychology*.**85**: 25–35. doi:10.1016/j.jmp.2018.06.002. ISSN 0022-2496.**^**Nikolić D (2012) Non-parametric detection of temporal order across pairwise measurements of time delays.*Journal of Computational Neuroscience*, 22(1)" pp. 5–19. http://www.danko-nikolic.com/wp-content/uploads/2011/09/Nikolic-Transitivity-2007.pdf**^**Saaty, Thomas L. (1999-05-01).*Decision Making for Leaders: The Analytic Hierarchy Process for Decisions in a Complex World*. Pittsburgh, Pennsylvania: RWS Publications. ISBN 978-0-9620317-8-6.**^**Saaty, Thomas L. (June 2008). "Relative Measurement and its Generalization in Decision Making: Why Pairwise Comparisons are Central in Mathematics for the Measurement of Intangible Factors – The Analytic Hierarchy/Network Process" (PDF).*Review of the Royal Academy of Exact, Physical and Natural Sciences, Series A: Mathematics (RACSAM)*.**102**(2): 251–318. CiteSeerX 10.1.1.455.3274. doi:10.1007/bf03191825. Retrieved 2008-12-22.**^**Hansen, Paul; Ombler, Franz (2008). "A new method for scoring additive multi-attribute value models using pairwise rankings of alternatives".*Journal of Multi-Criteria Decision Analysis*.**15**(3–4): 87–107. doi:10.1002/mcda.428.

- Sloane, N. J. A. (ed.). "Sequence A000142 (Factorial numbers)".
*The On-Line Encyclopedia of Integer Sequences*. OEIS Foundation. - Sloane, N. J. A. (ed.). "Sequence A000670 (Number of preferential arrangements of n labeled elements)".
*The On-Line Encyclopedia of Integer Sequences*. OEIS Foundation. - Y. Chevaleyre, P.E. Dunne, U. Endriss, J. Lang, M. Lemaître, N. Maudet, J. Padget, S. Phelps, J.A. Rodríguez-Aguilar, and P. Sousa. Issues in Multiagent Resource Allocation. Informatica, 30:3–31, 2006.

## Further reading

- Bradley, R.A. and Terry, M.E. (1952). Rank analysis of incomplete block designs, I. the method of paired comparisons.
*Biometrika*, 39, 324–345. - David, H.A. (1988). The Method of Paired Comparisons. New York: Oxford University Press.
- Luce, R.D. (1959).
*Individual Choice Behaviours*: A Theoretical Analysis. New York: J. Wiley. - Thurstone, L.L. (1927). A law of comparative judgement.
*Psychological Review*, 34, 278–286. - Thurstone, L.L. (1929).
*The Measurement of Psychological Value*. In T.V. Smith and W.K. Wright (Eds.), Essays in Philosophy by Seventeen Doctors of Philosophy of the University of Chicago. Chicago: Open Court. - Thurstone, L.L. (1959).
*The Measurement of Values*. Chicago: The University of Chicago Press. - Zermelo, E. (1928).
*Die Berechnung der Turnier-Ergebnisse als ein Maximumproblem der Wahrscheinlichkeitsrechnung*, Mathematische Zeitschrift 29, 1929, S. 436–460