What's all this, then?
About
Home
Tags
  • Voting power (4): Speeding up the computation

    Jan 6, 2021 voting algebra julia

    Introduction and recapitulation Recall from previous posts that we have considered two power indices for computing the power of a voter in a weighted system; that is, the ability of a voter to influence the outcome of a vote. Such systems occur when the voting body is made up of a number of "blocs": these may …

    Read More
  • Voting power (3): The American swing states

    Jan 3, 2021 voting algebra

    As we all know, American Presidential elections are done with a two-stage process: first the public votes, and then the Electoral College votes. It is the Electoral College that actually votes for the President; but they vote (in their respective states) in accordance with the plurality determined by the public vote. …

    Read More
  • Voting power (2): computation

    Dec 31, 2020 voting algebra

    Naive implementation of Banzhaf power indices As we saw in the previous post, computation of the power indices can become unwieldy as the number of voters increases. However, we can very simply write a program to compute the Banzhaf power indices simply by looping over all subsets of the weights: def banzhaf1(q,w): n = …

    Read More
  • Voting power

    Dec 30, 2020 voting

    After the 2020 American Presidential election, with the usual post-election analyses and (in this case) vast numbers of lawsuits, I started looking at the Electoral College, and trying to work out how it worked in terms of power. Although power is often conflated simply with the number of votes, that's not necessarily …

    Read More
  • Electing a president

    Nov 7, 2020 voting linear-programming

    Every four years (barring death or some other catastrophe), the USA goes through the periodic madness of a presidential election. Wild behaviour, inaccuracies, mud-slinging from both sides have been central since George Washington's second term. And the entire business of voting is muddied by the Electoral College, the …

    Read More
  • Mapping voting gains between elections

    Jul 21, 2019 voting GIS python

    So this goes back quite some time to the recent Australian Federal election on May 18. In my own electorate (known formally as a "Division") of Cooper, the Greens, who until recently had been showing signs of winning the seat, were pretty well trounced by Labor. Some background asides First, "Labor" …

    Read More
  • Vote counting in the Australian Senate

    Jan 22, 2019 voting

    Recently we have seen senators behaving in ways that seem stupid, or contrary to accepted public opinion. And then people will start jumping up and down and complaining that such a senator only got a tiny number of first preference votes. One commentator said that one senator, with 19 first preference votes, …

    Read More
  • Python GIS, and election results

    Mar 31, 2018 GIS python voting

    Election mapping A few weeks ago there was a by-election in my local electorate (known as an electoral division) of Batman here in Australia. I was interested in comparing the results of this election with the previous election two years ago. In this division it's become a two-horse race: the Greens against the …

    Read More
  • Analysis of a recent election

    Dec 7, 2017 voting python

    On November 18, 2017, a by-election was held in my suburb of Northcote, on account of the death by cancer of the sitting member. It turned into a two-way contest between Labor (who had held the seat since its inception in 1927), and the Greens, who are making big inroads into the inner city. The Greens candidate won, …

    Read More

Recent Posts

  • Three-dimensional impossible CAD
  • Voting power (4): Speeding up the computation
  • Voting power (3): The American swing states
  • Voting power (2): computation
  • Voting power
  • Electing a president
  • Enumerating the rationals
  • Fitting the SIR model of disease to data in Julia
  • The Butera-Pernici algorithm (2)
  • The Butera-Pernici algorithm (1)

Tags

MATHEMATICS 14 VOTING 9 PYTHON 8 ALGEBRA 7 COMPUTATION 5 JULIA 4 CAD 3 GEOMETRY 3 GIS 3 JSXGRAPH 3 LINEAR-PROGRAMMING 3 ANALYSIS 1 ASTRONOMY 1 CRYPTOGRAPHY 1 GEOGEBRA 1 HASKELL 1 HISTORY 1 HUGO 1 HUMOUR 1 IMAGE-PROCESSING 1 MUSIC 1 ORG 1 PROGRAMMING 1 SCIENCE 1

Copyright WHAT'S ALL THIS, THEN?. All Rights Reserved