What's all this, then?
open-menu closeme
All posts
About
Home
Tags
github twitter linkedin facebook rss
  • Voting power (6): Polynomial rings

    calendar Jan 22, 2021 · 4 min read · voting algebra python  ·
    Share on: twitter facebook linkedin copy

    As we have seen previously, it's possible to compute power indices by means of polynomial generating functions. We shall extend previous examples to include the Deegan-Packel index, in a way somewhat different to that of Alonso-Meijide et al (see previous post for reference).

    Again, suppose we consider the voting game …


    Read More
  • Voting power (5): The Deegan-Packel and Holler power indices

    calendar Jan 14, 2021 · 5 min read · voting algebra python julia  ·
    Share on: twitter facebook linkedin copy

    We have explored the Banzhaf and Shapley-Shubik power indices, which both consider the ways in which any voter can be pivotal, or critical, or necessary, to a winning coalition.

    A more recent power index, which takes a different approach, was defined by Deegan and Packel in 1976, and considers only minimal winning …


    Read More
  • Three-dimensional impossible CAD

    calendar Jan 10, 2021 · 4 min read · geometry CAD  ·
    Share on: twitter facebook linkedin copy
    Recently I friend and I wrote a semi-serious paper called "The geometry of impossible objects" to be delivered at a mathematics technology conference. The reviewer was not hugely complimentary, saying that there was nothing new in the paper. Well, maybe not, but we had fun pulling together some information …
    Read More
  • Voting power (4): Speeding up the computation

    calendar Jan 6, 2021 · 6 min read · voting algebra julia  ·
    Share on: twitter facebook linkedin copy

    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 …


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

    calendar Jan 3, 2021 · 8 min read · voting algebra  ·
    Share on: twitter facebook linkedin copy
    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

    calendar Dec 31, 2020 · 6 min read · voting algebra  ·
    Share on: twitter facebook linkedin copy

    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): …

    Read More
  • Voting power

    calendar Dec 30, 2020 · 6 min read · voting  ·
    Share on: twitter facebook linkedin copy
    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

    calendar Nov 7, 2020 · 6 min read · voting linear-programming julia  ·
    Share on: twitter facebook linkedin copy
    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, …
    Read More
  • Enumerating the rationals

    calendar Jan 18, 2020 · 5 min read · mathematics  ·
    Share on: twitter facebook linkedin copy

    The rational numbers are well known to be countable, and one standard method of counting them is to put the positive rationals into an infinite matrix \(M=m_{ij}\), where \(m_{ij}=i/j\) so that you end up with something that looks like this:

    \[ \left[\begin{array}{ccccc} …


    Read More
  • Fitting the SIR model of disease to data in Julia

    calendar Jan 15, 2020 · 3 min read · mathematics julia  ·
    Share on: twitter facebook linkedin copy

    A few posts ago I showed how to do this in Python. Now it's Julia's turn. The data is the same: spread of influenza in a British boarding school with a population of 762. This was reported in the British Medical Journal on March 4, 1978, and you can read the original short article here.

    As before we use the SIR …


    Read More
    • ««
    • «
    • 2
    • 3
    • 4
    • 5
    • 6
    • »
    • »»

Recent Posts

  • Parabolas, numerically
  • Parameterization of the parabola
  • Four point parabolas
  • General expressions
  • Bicentric heptagons
  • Poncelet's porism on non-circular conic sections
  • Image dithering: a very simple error diffusion matrix
  • Image dithering: a very simple error diffusion matrix
  • Image dithering (2): error diffusion
  • Image dithering (1): half toning

Tags

MATHEMATICS 22 JULIA 16 VOTING 15 PYTHON 14 COMPUTATION 12 ALGEBRA 10 GIS 8 IMAGE-PROCESSING 5 GEOMETRY 4 JSXGRAPH 4 PROGRAMMING 4 CAD 3 LINEAR-PROGRAMMING 3 ANALYSIS 1 ASTRONOMY 1 CRYPTOGRAPHY 1 EDUCATION 1 GEOGEBRA 1 HASKELL 1 HISTORY 1 HUGO 1 HUMOUR 1 MUSIC 1 ORG 1 SCIENCE 1
What's all this, then?

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

to-top