Pairwise vote counting
Pairwise vote counting is the process of counting ranked (or rated) ballot preferences by considering one pair of candidates at a time, and for each pair counting the comparison results..[1][2][3] In addition to identifying which of the paired candidates beats (is preferred by more voters over) the other candidate, the comparison counts indicate how many voters prefer the pairwise winner over the pairwise loser, how many voters have the opposite preference, and how many voters indicate an equal preference between the two candidates.
Most, but not all, election methods that meet the Condorcet criterion or the Condorcet loser criterion use pairwise counting. See Condorcet method for information on how pairwise counts are used to identify a winning candidate who meets the Condorcet criterion.
Pairwise comparison matrix
Pairwise counts are often displayed in a pairwise comparison matrix[4] or outranking matrix[5] such as those below. In these matrices, each row represents each candidate as a 'runner', while each column represents each candidate as an 'opponent'. The cells at the intersection of rows and columns each show the result of a particular pairwise comparison. Cells comparing a candidate to themselves are blank or contain a symbol such as '—'.[6][7]
Imagine there is an election between four candidates: A, B, C and D. The first matrix below records the preferences expressed on a single ballot paper, in which the voter's preferences are (B, C, A, D); that is, the voter ranked B first, C second, A third, and D fourth. In the matrix a '1' indicates that the runner is preferred over the opponent, while a '0' indicates that the opponent is preferred over the runner.[6][4]
Opponent Runner |
A | B | C | D | |
|---|---|---|---|---|---|
| A | — | 0 | 0 | 1 | |
| B | 1 | — | 1 | 1 | |
| C | 1 | 0 | — | 1 | |
| D | 0 | 0 | 0 | — | |
| A '1' indicates that the runner is preferred over the opponent; a '0' indicates that the opponent is preferred over the runner. | |||||
In this matrix the number in each cell indicates either the number of votes for runner over opponent (runner,opponent) or the number of votes for opponent over runner (opponent,runner).
Each ballot can be transformed into this style of matrix, and then added to all other ballot matrices using matrix addition. The resulting sum of all ballots in an election is called the sum matrix, and it summarizes all the voter preferences.
An election counting method can use the sum matrix to identify the winner of the election.
Suppose that this imaginary election has two additional voters, and their preferences are (D, A, C, B) and (A, C, B, D). Added to the first voter, these ballots yield the following sum matrix:
Opponent Runner |
A | B | C | D |
|---|---|---|---|---|
| A | — | 2 | 2 | 2 |
| B | 1 | — | 1 | 2 |
| C | 1 | 2 | — | 2 |
| D | 1 | 1 | 1 | — |
In the sum matrix above, A is the Condorcet winner because A beats every other candidate. When there is no Condorcet winner, Condorcet completion methods such as Ranked Pairs and the Schulze method and the Condorcet-Kemeny method use the information contained in the sum matrix to choose a winner.
The first matrix above, which represents a single ballot, is inversely symmetric: (runner,opponent) is ¬(opponent,runner). Or (runner,opponent) + (opponent,runner) = 1. The sum matrix has this property: (runner,opponent) + (opponent,runner) = N for N voters, if all runners are fully ranked by each voter.
Example without numbers
If pairwise counting is used in an election that has three candidates named A, B, and C, the following pairwise counts are produced:
- Number of voters who prefer A over B
- Number of voters who prefer B over A
- Number of voters who have no preference for A versus B
- Number of voters who prefer A over C
- Number of voters who prefer C over A
- Number of voters who have no preference for A versus C
- Number of voters who prefer B over C
- Number of voters who prefer C over B
- Number of voters who have no preference for B versus C
Alternatively, the words "Number of voters who prefer A over B" can be interpreted as "The number of votes that help A beat (or tie) B in the A versus B pairwise matchup".
If the number of voters who have no preference between two candidates is not supplied, it can be calculated using the supplied numbers. Specifically, start with the total number of voters in the election, then subtract the number of voters who prefer the first over the second, and then subtract the number of voters who prefer the second over the first.
The pairwise comparison matrix[8] for these comparisons is shown below.
| A | B | C | |
|---|---|---|---|
| A | A > B | A > C | |
| B | B > A | B > C | |
| C | C > A | C > B |
A candidate cannot be pairwise compared to itself (for example candidate A can't be compared to candidate A), so the cell that indicates this comparison is either empty or contains a symbol such as '—'.
In cases where only some pairwise counts are of interest, those pairwise counts can be displayed in a table with fewer table cells.
Example with numbers
Imagine that Tennessee is having an election on the location of its capital. The population of Tennessee is concentrated around its four major cities, which are spread throughout the state. For this example, suppose that the entire electorate lives in these four cities and that everyone wants to live as near to the capital as possible.
The candidates for the capital are:
- Memphis, the state's largest city, with 42% of the voters, but located far from the other cities
- Nashville, with 26% of the voters, near the center of the state
- Knoxville, with 17% of the voters
- Chattanooga, with 15% of the voters
The preferences of the voters would be divided like this:
| 42% of voters (close to Memphis) |
26% of voters (close to Nashville) |
15% of voters (close to Chattanooga) |
17% of voters (close to Knoxville) |
|---|---|---|---|
|
|
|
|
These ranked preferences indicate which candidates the voter prefers. For example, the voters in the first column prefer Memphis as their 1st choice, Nashville as their 2nd choice, etc. As these ballot preferences are converted into pairwise counts they can be entered into a table.
The following square-grid table displays the candidates in the same order in which they appear above.
| ... over Memphis | ... over Nashville | ... over Chattanooga | ... over Knoxville | |
| Prefer Memphis ... | - | 42% | 42% | 42% |
| Prefer Nashville ... | 58% | - | 68% | 68% |
| Prefer Chattanooga ... | 58% | 32% | - | 83% |
| Prefer Knoxville ... | 58% | 32% | 17% | - |
The following tally table[9] shows another table arrangement with the same numbers.
| All possible pairs of choice names |
Number of votes with indicated preference | Margin | ||
|---|---|---|---|---|
| Prefer X over Y | Equal preference | Prefer Y over X | ||
| X = Memphis Y = Nashville |
42% | 0 | 58% | -16% |
| X = Memphis Y = Chattanooga |
42% | 0 | 58% | -16% |
| X = Memphis Y = Knoxville |
42% | 0 | 58% | -16% |
| X = Nashville Y = Chattanooga |
68% | 0 | 32% | +36% |
| X = Nashville Y = Knoxville |
68% | 0 | 32% | +36% |
| X = Chattanooga Y = Knoxville |
83% | 0 | 17% | +66% |
Number of pairwise comparisons
When the number of candidates is N, there are 0.5*N*(N-1) pairwise matchups.[10][11] For example, for 2 candidates there is one pairwise comparison, for 3 candidates there are 3 pairwise comparisons, for 4 candidates there are 6 pairwise comparisons, for 5 candidates there are 10 pairwise comparisons, for 6 candidates there are 15 pairwise comparisons, and for 7 candidates there are 21 pairwise comparisons.
See also
- Ranked voting
- Condorcet method
- Condorcet criterion
- Condorcet loser criterion
References
- ↑ Saaty, Thomas (2008), Why Pairwise Comparisons are Central in Mathematics for the Measurement of Intangible Factors (PDF)
- ↑ Nurmi, Hannu (2011). "On the Relevance of Theoretical Results to Voting System Choice". Electoral Systems. Studies in Choice and Welfare. Springer, Berlin, Heidelberg. pp. 255–274. doi:10.1007/978-3-642-20441-8_10. ISBN 978-3-642-20440-1. Search this book on
- ↑ https://electowiki.org/wiki/Pairwise_counting Pairwise counting, wiki article peer written and peer reviewed
- ↑ 4.0 4.1 Mackie, Gerry. (2003). Democracy defended. Cambridge, UK: Cambridge University Press. p. 6. ISBN 0511062648. OCLC 252507400. Search this book on
- ↑ Nurmi, Hannu (2012), "On the Relevance of Theoretical Results to Voting System Choice", in Felsenthal, Dan S.; Machover, Moshé, Electoral Systems, Studies in Choice and Welfare, Springer Berlin Heidelberg, pp. 255–274, doi:10.1007/978-3-642-20441-8_10, ISBN 9783642204401 Unknown parameter
|s2cid=ignored (help) - ↑ 6.0 6.1 Young, H. P. (1988). "Condorcet's Theory of Voting" (PDF). American Political Science Review. 82 (4): 1231–1244. doi:10.2307/1961757. ISSN 0003-0554. JSTOR 1961757.
- ↑ Hogben, G. (1913). "Preferential Voting in Single-member Constituencies, with Special Reference to the Counting of Votes". Transactions and Proceedings of the Royal Society of New Zealand. 46: 304–308.
- ↑ Mackie, Gerry (2003). Democracy Defended. Cambridge University Press. pp. 6–7. ISBN 0511062648. Search this book on
- ↑ Fobes, Richard (2008). Crear soluciones:La Caja de Herramientas. p. 295. ISBN 978-9706662293. Search this book on
- ↑ 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.
Pairwise vote counting
Fixed objections, made split request, there have been no objections to the split request, now someone needs to move the article out of draft mode and (at the same time) do the split.
This article "Pairwise vote counting" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Pairwise vote counting. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
