Pairwise counting: Difference between revisions

Content added Content deleted
(→‎Example with numbers: Copied source code to fix table error)
(→‎Example with numbers: More refinements)
Line 44: Line 44:
{{Tenn_voting_example}}
{{Tenn_voting_example}}
As these ballot preferences are converted into pairwise counts they can be entered into a table.
As these ballot preferences are converted into pairwise counts they can be entered into a table.

The following square-grid table uses the popularity sequence calculated by the [[Kemeny-Young Maximum Likelihood Method|Condorcet-Kemeny method]], which does calculations that ensure that the sum of the pairwise counts in the upper-right triangular area cannot be increased by changing the sequence of the candidates.
The following square-grid table uses the popularity sequence calculated by the [[Kemeny-Young Maximum Likelihood Method|Condorcet-Kemeny method]], which does calculations that ensure that the sum of the pairwise counts in the upper-right triangular area cannot be increased by changing the sequence of the candidates.
{| class="wikitable"
{| class="wikitable"
Line 77: Line 78:
| -
| -
|}
|}


The following tally table shows another table arrangement.
The following tally table shows another table arrangement.
{| class="wikitable"
{| class="wikitable"
|+Tally table
|-
|-
! rowspan=2" | All possible pairs<br/>of choice names
! rowspan="2&quot;" | All possible pairs<br />of choice names
! colspan=3 | Number of votes with indicated preference
! colspan="3" | Number of votes with indicated preference
|-
|-
! style="text-align:left" | Prefer X over Y
! style="text-align:left" | Prefer X over Y
Line 87: Line 91:
! style="text-align:left" | Prefer Y over X
! style="text-align:left" | Prefer Y over X
|-
|-
| align="left" | X = Memphis<br/>Y = Nashville
| align="left" | X = Memphis<br />Y = Nashville
| align="left" | 42%
| align="left" | 42%
| align="left" | 0
| align="left" | 0
| align="left" | 58%
| align="left" | 58%
|-
|-
| align="left" | X = Memphis<br/>Y = Chattanooga
| align="left" | X = Memphis<br />Y = Chattanooga
| align="left" | 42%
| align="left" | 42%
| align="left" | 0
| align="left" | 0
| align="left" | 58%
| align="left" | 58%
|-
|-
| align="left" | X = Memphis<br/>Y = Knoxville
| align="left" | X = Memphis<br />Y = Knoxville
| align="left" | 42%
| align="left" | 42%
| align="left" | 0
| align="left" | 0
| align="left" | 58%
| align="left" | 58%
|-
|-
| align="left" | X = Nashville<br/>Y = Chattanooga
| align="left" | X = Nashville<br />Y = Chattanooga
| align="left" | 68%
| align="left" | 68%
| align="left" | 0
| align="left" | 0
| align="left" | 32%
| align="left" | 32%
|-
|-
| align="left" | X = Nashville<br/>Y = Knoxville
| align="left" | X = Nashville<br />Y = Knoxville
| align="left" | 68%
| align="left" | 68%
| align="left" | 0
| align="left" | 0
| align="left" | 32%
| align="left" | 32%
|-
|-
| align="left" | X = Chattanooga<br/>Y = Knoxville
| align="left" | X = Chattanooga<br />Y = Knoxville
| align="left" | 83%
| align="left" | 83%
| align="left" | 0
| align="left" | 0