Pairwise counting: Difference between revisions

→‎Example with numbers: More refinements
(→‎Example with numbers: Copied source code to fix table error)
(→‎Example with numbers: More refinements)
Line 44:
{{Tenn_voting_example}}
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.
{| class="wikitable"
Line 77 ⟶ 78:
| -
|}
 
 
The following tally table shows another table arrangement.
{| class="wikitable"
|+Tally table
|-
! rowspan="2&quot;" | All possible pairs<br />of choice names
! colspan="3" | Number of votes with indicated preference
|-
! style="text-align:left" | Prefer X over Y
Line 87 ⟶ 91:
! style="text-align:left" | Prefer Y over X
|-
| align="left" | X = Memphis<br />Y = Nashville
| align="left" | 42%
| align="left" | 0
| align="left" | 58%
|-
| align="left" | X = Memphis<br />Y = Chattanooga
| align="left" | 42%
| align="left" | 0
| align="left" | 58%
|-
| align="left" | X = Memphis<br />Y = Knoxville
| align="left" | 42%
| align="left" | 0
| align="left" | 58%
|-
| align="left" | X = Nashville<br />Y = Chattanooga
| align="left" | 68%
| align="left" | 0
| align="left" | 32%
|-
| align="left" | X = Nashville<br />Y = Knoxville
| align="left" | 68%
| align="left" | 0
| align="left" | 32%
|-
| align="left" | X = Chattanooga<br />Y = Knoxville
| align="left" | 83%
| align="left" | 0
106

edits