Maximizing geography of losing candidates (user search)
       |           

Welcome, Guest. Please login or register.
Did you miss your activation email?
May 07, 2024, 10:30:50 AM
News: Election Simulator 2.0 Released. Senate/Gubernatorial maps, proportional electoral votes, and more - Read more

  Talk Elections
  General Politics
  Political Geography & Demographics (Moderators: muon2, 100% pro-life no matter what)
  Maximizing geography of losing candidates (search mode)
Pages: [1]
Author Topic: Maximizing geography of losing candidates  (Read 3008 times)
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« on: November 22, 2014, 02:18:51 AM »
« edited: November 22, 2014, 07:53:53 PM by Lowly Griff »

So I thought this might be an interesting project.

Analyze a county-by-county election result for a 2014 gubernatorial or senatorial contest, and without changing the overall result, maximize the number of counties the losing candidate won without pushing them over the top. Start out with the counties that had the closest margins (percentage) and give the losing candidate a one-vote victory, rinse and repeat. While the goal is to maximize the number of counties, please do not skip large counties for the sake of flipping multiple smaller ones if the margin (percentage) is closer in a large county. If you get to a county and the shift in the margin would put the losing candidate over the top in the overall contest, then obviously do not flip that county, and stop there.

Here's FL:

Actual:

Rick Scott   2,865,343 48.14%
Charlie Crist 2,801,198 47.07%



Alternate:

Rick Scott   2,865,343 47.66%
Charlie Crist 2,861,249 47.60%

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #1 on: November 22, 2014, 02:43:27 AM »

Georgia, Governor:

Actual:

J. Nathan Deal 1,345,237 52.75%
Jason J. Carter 1,144,794 44.89%



Alternate:

J. Nathan Deal 1,345,237 48.90%
Jason J. Carter 1,345,121 48.90%

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #2 on: November 22, 2014, 05:09:14 AM »

South Carolina, Governor:

Actual:



Nikki R. Haley 696,645 55.90%
Vincent Sheheen 516,166 41.42%

Alternate:



Nikki R. Haley 696,645 49.01%
Vincent Sheheen 691,243 48.63%
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #3 on: November 22, 2014, 06:18:43 PM »
« Edited: November 22, 2014, 07:31:48 PM by Lowly Griff »

Mathematically, there is an equivalent, simpler procedure. Take the margin of victory for the loser in those counties won by the loser, call it L. Count the number of counties won by the winner, call it C. L+C is the winning margin for the loser if all of the winner's counties just flipped to the loser by one vote. To solve the problem select the smallest number of counties that voted for the winner (n < C), such that the total margin of victory w in those counties is greater than L+C-n.

Since C and n are generally going to be small compared to the difference between w and L they can be usually be neglected. Then the problem simplifies to finding the smallest set of counties that gives a value for w that is larger than L.

For example, for IA Gov, Hatch only won Johnson county and the margin was 10,568 (Politico). Branstad won the other 98 counties. The only county Branstad won by more than that was Scott, with a margin of 15,073 (Woodbury was just short with 10,245). So flipping all other counties except Scott to Hatch would give Branstad a margin of 15,073 - (10,568 + 98 - 1) = 4,408.

Very interesting! Now I'll just have to read it over about seven more times before I get it, since I'm so bad with equations. Tongue



Minnesota, Governor:

Actual:



Mark Dayton 989,100 50.07%
Jeff Johnson 879,249 44.51%

Alternate:



Mark Dayton 989,100 49.43%
Jeff Johnson 904,543 45.21%

EDIT: Messed up original alternate map.
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #4 on: November 22, 2014, 06:31:01 PM »

Pennsylvania, Governor:

Actual:

Thomas W. Wolf 1,912,003 54.87%
Thomas W. Corbett 1,572,382 45.13%



Alternate:

Thomas W. Wolf 1,912,003 51.11%
Thomas W. Corbett 1,828,882 48.89%

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #5 on: November 22, 2014, 07:07:59 PM »

Oregon, Governor:

Actual:

John Kitzhaber 730,715 49.89%
Dennis Richardson 646,411 44.13%



Alternate:

John Kitzhaber 730,715 47.97%
Dennis Richardson 704,924 46.28%

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #6 on: November 22, 2014, 07:30:51 PM »

Is there another combination of Ramsey + something smaller that also holds for Dayton? Hennepin supplied about 60K more votes than needed.

Maybe I'm not following, but the general idea was to flip each county based on the margin of victory for the winning candidate, starting with the counties with the smallest margins of victory and ascending from there. The secondary goal is to see how many counties that would result in the losing candidate winning, while still ultimately losing, but keeping the counties that flip in line with that first goal was the idea.

However, I just realized that I messed up Minnesota by flipping Cook County and St Louis County, both of which had larger margins of victory for Dayton than Hennepin. Unfortunately, after subtracting these from Johnson's total and then adding Hennepin in, Johnson would be ahead by 20,000 or so, so this is the actual map based on the criteria I outlined instead:

Mark Dayton 989,100 49.43%
Jeff Johnson 904,543 45.21%

Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #7 on: November 22, 2014, 07:52:26 PM »
« Edited: November 22, 2014, 07:55:32 PM by Lowly Griff »

Perhaps the confusion was mine. Is your OP about percentage margin or vote margin? When margin is used without an adjective it usually means vote margin. Your revised MN map suggests that you mean percentage margin.

Yes, sorry: I meant percentage margin. I figured that would be more realistic for such a scenario (relatively speaking).
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #8 on: November 22, 2014, 08:08:19 PM »

This results may look interesting, but they don't really tell us very much. As muon was saying, you basically just flip every county except for a few high vote margin counties for the winner, such that this is equivalent to the margin of victory the loser had in the counties that they won. The maps are not at all realistic because they have utterly bizarre non-uniform swings.

Can we do uniform swings for every county? For example, the only counties that would flip are the counties that have a lesser margin than the state margin. I think that would be more interesting.

I've done that before as well (though I never made a thread); would be interesting.

To be fair, any scenario like this is going to be unrealistic in reality and quite predictable since we're dealing with basic math here. Flipping counties by their percentage margins isn't realistic in the confines of a campaign, nor is flipping counties by their nominal margins (whether you start from smallest margin or largest margin). And of course doing a uniform swing isn't going to be realistic, either, but we all love to make maps anyway. Tongue
Logged
Adam Griffin
Atlas Star
*****
Posts: 20,090
Greece


Political Matrix
E: -7.35, S: -6.26

« Reply #9 on: November 22, 2014, 08:09:12 PM »

I took your statement that followed the quote to be your method, rather than the problem itself. As clarified, the problem becomes a brute force math exercise of moving through the sequence of counties from narrowest to widest percentage. My math solves the problem in the quote above, but not by a percentage margin basis, nor by your sequence. It creates the opportunity to explore individual county results with especially large vote margins.

Ah, then maybe I'll be eating my words on the previous post. I'm going to give this a try later.
Logged
Pages: [1]  
Jump to:  


Login with username, password and session length

Terms of Service - DMCA Agent and Policy - Privacy Policy and Cookies

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Page created in 0.043 seconds with 11 queries.