Definite Majority Choice: Difference between revisions

Content added Content deleted
(→‎Simple ballot example: experiment with box-drawing characters and black circle)
(HTML to wiki table using https://tools.wmflabs.org/magnustools/html2wiki.php)
Line 95: Line 95:


The pairwise matrix, with the victorious and approval scores highlighted:
The pairwise matrix, with the victorious and approval scores highlighted:
<table class="wikitable" cellpadding="3" border="">
{| class="wikitable" cellpadding="3" border=""
|- align="center"
<tr align="center"><td colspan=2 rowspan=2></td><th colspan=5>against</th></tr>
| colspan=2 rowspan=2 |
<tr align="center"><th class="against"><span class="cand">Abby</span></th><th class="against"><span class="cand">Brad</span></th><th class="against"><span class="cand">Cora</span></th><th class="against"><span class="cand">Dave</span></th><th class="against"><span class="cand">Erin</span></th></tr>
! colspan=5 | against
<tr align="center">
|- align="center"
<th rowspan=5>for</th>
<th class="for"><span class="cand">Abby</span></th>
! class="against" | <span class="cand">Abby</span>
! class="against" | <span class="cand">Brad</span>
<td bgcolor="yellow">645</td>
<td class="loss">458</td>
! class="against" | <span class="cand">Cora</span>
! class="against" | <span class="cand">Dave</span>
<td bgcolor="yellow">461</td>
! class="against" | <span class="cand">Erin</span>
<td bgcolor="yellow">485</td>
|- align="center"
<td bgcolor="yellow">511</td>
! rowspan=5 | for
</tr>
! class="for" | <span class="cand">Abby</span>
<tr align="center">
| bgcolor="yellow" | 645
<th class="for"><span class="cand">Brad</span></th>
| class="loss" | 458
<td bgcolor="yellow">463</td>
<td bgcolor="yellow">410</td>
| bgcolor="yellow" | 461
<td bgcolor="yellow">461</td>
| bgcolor="yellow" | 485
| bgcolor="yellow" | 511
<td class="loss">312</td>
|- align="center"
<td bgcolor="yellow">623</td>
! class="for" | <span class="cand">Brad</span>
</tr>
| bgcolor="yellow" | 463
<tr align="center">
| bgcolor="yellow" | 410
<th class="for"><span class="cand">Cora</span></th>
| bgcolor="yellow" | 461
<td class="loss">460</td>
<td class="loss">460</td>
| class="loss" | 312
<td bgcolor="yellow">460</td>
| bgcolor="yellow" | 623
|- align="center"
<td class="loss">460</td>
<td class="loss">460</td>
! class="for" | <span class="cand">Cora</span>
| class="loss" | 460
</tr>
| class="loss" | 460
<tr align="center">
| bgcolor="yellow" | 460
<th class="for"><span class="cand">Dave</span></th>
<td class="loss">436</td>
| class="loss" | 460
| class="loss" | 460
<td bgcolor="yellow">609</td>
|- align="center"
<td bgcolor="yellow">461</td>
! class="for" | <span class="cand">Dave</span>
<td bgcolor="yellow">311</td>
<td class="loss">311</td>
| class="loss" | 436
| bgcolor="yellow" | 609
</tr>
| bgcolor="yellow" | 461
<tr align="center">
| bgcolor="yellow" | 311
<th class="for"><span class="cand">Erin</span></th>
<td class="loss">410</td>
| class="loss" | 311
|- align="center"
<td class="loss">298</td>
! class="for" | <span class="cand">Erin</span>
<td bgcolor="yellow">461</td>
| class="loss" | 410
<td bgcolor="yellow">610</td>
| class="loss" | 298
<td bgcolor="yellow">708</td>
| bgcolor="yellow" | 461
</tr>
| bgcolor="yellow" | 610
</table>
| bgcolor="yellow" | 708
|}


The candidates in descending order of approval are Erin, Abby, Cora, Brad, Dave.
The candidates in descending order of approval are Erin, Abby, Cora, Brad, Dave.
Line 145: Line 147:
After reordering the pairwise matrix, it looks like this:
After reordering the pairwise matrix, it looks like this:


<table class="wikitable" cellpadding="3" border="">
{| class="wikitable" cellpadding="3" border=""
|- align="center"
<tr align="center"><td colspan=2 rowspan=2></td><th colspan=5>against</th></tr>
| colspan=2 rowspan=2 |
<tr align="center">
! colspan=5 | against
<th class="against"><span class="cand">Erin</span></th>
|- align="center"
<th class="against"><span class="cand">Abby</span></th>
<th class="against"><span class="cand">Cora</span></th>
! class="against" | <span class="cand">Erin</span>
<th class="against"><span class="cand">Brad</span></th>
! class="against" | <span class="cand">Abby</span>
<th class="against"><span class="cand">Dave</span></th>
! class="against" | <span class="cand">Cora</span>
! class="against" | <span class="cand">Brad</span>
</tr>
! class="against" | <span class="cand">Dave</span>
<tr align="center">
|- align="center"
<th rowspan=5>for</th>
! rowspan=5 | for
<th class="for"><span class="cand">Erin</span></th>
! class="for" | <span class="cand">Erin</span>
<td bgcolor="yellow">708</td>
| bgcolor="yellow" | 708
<td class="loss">410</td>
| class="loss" | 410
<td bgcolor="yellow">461</td>
| bgcolor="yellow" | 461
<td class="loss">298</td>
| class="loss" | 298
<td bgcolor="yellow">610</td>
| bgcolor="yellow" | 610
</tr>
<tr align="center">
|- align="center"
<th class="for"><span class="cand">Abby</span></th>
! class="for" | <span class="cand">Abby</span>
<td bgcolor="yellow">511</td>
| bgcolor="yellow" | 511
<td bgcolor="yellow">645</td>
| bgcolor="yellow" | 645
<td bgcolor="yellow">461</td>
| bgcolor="yellow" | 461
<td class="loss">458</td>
| class="loss" | 458
<td bgcolor="yellow">485</td>
| bgcolor="yellow" | 485
|- align="center"
</tr>
! class="for" | <span class="cand">Cora</span>
<tr align="center">
| class="loss" | 460
<th class="for"><span class="cand">Cora</span></th>
<td class="loss">460</td>
| class="loss" | 460
<td class="loss">460</td>
| bgcolor="yellow" | 460
<td bgcolor="yellow">460</td>
| class="loss" | 460
<td class="loss">460</td>
| class="loss" | 460
|- align="center"
<td class="loss">460</td>
! class="for" | <span class="cand">Brad</span>
</tr>
| bgcolor="yellow" | 623
<tr align="center">
| bgcolor="yellow" | 463
<th class="for"><span class="cand">Brad</span></th>
<td bgcolor="yellow">623</td>
| bgcolor="yellow" | 461
<td bgcolor="yellow">463</td>
| bgcolor="yellow" | 410
| class="loss" | 312
<td bgcolor="yellow">461</td>
|- align="center"
<td bgcolor="yellow">410</td>
<td class="loss">312</td>
! class="for" | <span class="cand">Dave</span>
| class="loss" | 311
</tr>
| class="loss" | 436
<tr align="center">
| bgcolor="yellow" | 461
<th class="for"><span class="cand">Dave</span></th>
| bgcolor="yellow" | 609
<td class="loss">311</td>
| bgcolor="yellow" | 311
<td class="loss">436</td>
|}
<td bgcolor="yellow">461</td>
<td bgcolor="yellow">609</td>
<td bgcolor="yellow">311</td>
</tr>
</table>


To find the winner,
To find the winner,