import { CondorcetElection } from "./CondorcetElection.js";
// Wrapper activated when "Revote" is clicked
function recreateElection(numElec,indCom,click) {
return new CondorcetElection(numElec,indCom);
}
vote = recreateElection(numElectors,indCompetence,revote)
Condorcet Jury Theorem
Condorcet’s (1785) Jury Theorem is the first “wisdom of the crowds” mathematical result.
Presentation
Condorcet’s Jury Theorem is a straightforward application of the “law of large numbers”. You’re probably familiar with some applications of the law. Say you’re throwing a die repeatedly, and let’s call faces 3,4,5 and 6 “high” outcomes. On each throw you have a 2/3 chance to get a “high” outcome. But as the number of throws increases, it becomes more and more likely that about 2/3 of our outcomes are high. (One important condition for this to hold is that the throws are independent: past outcomes don’t affect future ones.)
Condorcet’s idea was that if members of a jury or an electorate are relevantly like dice, the majority rule is more likely to make good decisions than any individual member.
Consider members of a group (jury, electorate) facing a question or decision with two options (guilty or not, candidate A or candidate B, etc.). Suppose it makes sense to consider one of the two options as in fact correct. For instance, if we’re judging guilt on a charge, the correct answer is ‘guilty’ if the person is guilty. Suppose next that electors somewhat reliable but not infallible: for simplicity, let’s assume each elector is exactly 2/3 likely of picking the correct answer. Suppose finally that electors are each deciding independently of each other. How likely it is that the majority picks the correct answer? If the group has only 1 member, the majority is just that single member, and the chance that they’ll pick the correct answer is 2/3 or about 66%. But if the group has 3 members, it is 20/27 or about 75%. The majority is more likely to be right than any individual members, and the likelihood that the majority is right increases quickly as the size of the group increases.
Let’s visualize this.
Simulation
Each elector is assumed to have the same degree of competence, or likelihood of being correct (between 0, always wrong, and 1, always right). On the left is a visual representation of the electorate as scatter dots. electors who have voted correctly are in green, others in red. On the right is a tally of the result.
Use sliders to change elector compentence and the number of electors. A new vote take place on any change in the sliders, or if you click the “Revote” button.
Note how the results becomes less and less volatile as the number of electors increases.
Graph
We’d now like to look at the probability that the majority picks the correct answer, and how that varies with the number and competence of electors.
Look at the graph below and check how much electors you need to reach a 95% probability of correct majority vote with electors that are individually merely 60% likely to vote correctly.
References
Condorcet, Marie Jean Antoine Nicolas de Caritat, Marquis de. 1785. Essai Sur l’application de l’analyse à La Probabilité Des Décisions Rendues à La Pluralité Des Voix. Paris: Imprimerie Royale.