I use an agent-based model to explore the impact of imperfect competence and social influence on majority voting. This repository contains the code for an agent-based model and simulations of majority voting, for producing some figures, and for a statistical analysis.
https://heinduijf.github.io/MajorityVotingCollectiveAccuracy/