Archive for North Carolina

gerrymandering to the max

Posted in Books, Kids, pictures, Statistics with tags , , , , , , , , , , , , , , , on November 12, 2026 by xi'an

Another Fiddler puzzle on gerrymandering an electoral map when all the votes are already known. There are seven districts with identical population sizes and a party needs at least half of the votes to win a district.

What is the smallest total fraction of population needed to vote the gerrymanderer’s party to ensure winning a majority of the seven districts?

The minimal number of districts to secure is four, where at least half of the votes need be for this party, meaning that the extreme solution where no such votes are seen in the three other districts works out for only two out of seven voters are behind the gerrymanderer’s party!

The second puzzle asks for gerrymandering a map by choosing a set of probabilities \(p_1,\ldots,p_7\) of winning the corresponding districts, under the constraint that the average of these probabilities is \(\frac12\). Meaning that the overall population is balanced between both parties. What is the strategy maximising the chances of winning at least four of the seven districts? at least five? And what are these probabilities?

Setting two \(p_i\)’s to zero and all other five \(p_i\)’s to \(7/10\) leads to a dismal \((7/10)^5\) probability of getting five districts, worse than having \(\frac12\) for all districts. While setting three \(p_i\)’s to zero and all other four \(p_i\)’s to \(7/8\) leads to a \((7/8)^4\) that beats \(\frac12\). (The Fiddler calls the first option dummymandering since it produces the consequence opposite to the intended one! In the real, US, world, dummymandering happened for the midterms in most places the Republican majority redrew the maps, as in Texas, Ohio, NC, Florida, &tc, since the redistricting did not integrate the shift in voters’ preferences) I checked on Claude that this was the optimal allocation, with it backing the optimality on a result of Hoeffding (Annals of Mathematical Statistics, 1956) I had never heard of.

off to Durham

Posted in Kids, pictures, Statistics, Travel, University life with tags , , , , , , , , , , , , , , , on August 31, 2026 by xi'an

it did get worse!

Posted in Statistics with tags , , , , , , , , , , on October 19, 2024 by xi'an

gerrymandering detection by MCMC

Posted in Books, Statistics with tags , , , , , , , on June 16, 2017 by xi'an

In the latest issue of Nature I read (June 8), there is a rather long feature article on mathematical (and statistical) ways of measuring gerrymandering, that is the manipulation of the delimitations of a voting district toward improving the chances of a certain party. (The name comes from Elbridge Gerry (1812) and the salamander shape of the district he created.) The difficulty covered by the article is about detecting gerrymandering, which leads to the challenging and almost philosophical question of defining a “fair” partition of a region into voting districts, when those are not geographically induced. Since each partition does not break the principles of “one person, one vote” and of majority rule. Having a candidate or party win at the global level and loose at every local level seems to go against this majority rule, but with electoral systems like in the US, this frequently happens (with dire consequences in the latest elections). Just another illustration of Simpson’s paradox, essentially. And a damning drawback of multi-tiered electoral systems.

“In order to change the district boundaries, we use a Markov Chain Monte Carlo algorithm to produce about 24,000 random but reasonable redistrictings.”

In the arXiv paper that led to this Nature article (along with other studies), Bagiat et al. essentially construct a tail probability to assess how extreme the current district partition is against a theoretical distribution of such partitions. Finding that the actual redistrictings of 2012 and 2016 in North Carolina are “extremely atypical”.  (The generation of random partitions obeyed four rules, namely equal population, geographic compacity and connexity, proximity to county boundaries, and a majority of Afro-American voters in at least two districts, the latest being a requirement in North Carolina. A score function was built by linear combination of four corresponding scores, mostly χ² like, and turned into a density, simulated annealing style. The determination of the final temperature β=1 (p.18) [or equivalently of the weights (p.20)] remains unclear to me. As does the use of more than 10⁵ simulated annealing iterations to produce a single partition (p.18)…

From a broader perspective, agreeing on a method to produce random district allocations could be the way to go towards solving the judicial dilemma in setting new voting maps as what is currently under discussion in the US.