Skip to content

My ill-fated and last-minute attempt to predict House elections

Notifications You must be signed in to change notification settings

cmerenstein/2016_house_elections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2016_house_elections

A very last-minute attempt to predict House elections

I made all of this 2 weeks before the 2016 elections. Because of the time crunch, there's a lot that is a bit sloppy.

It primarily just relied on the generic ballot polling and each districts partisan voting index (PVI). PVI is calculated based on presidential results in each district relative to the national vote margin. An additional bump was given to incumbents running for reelection based on the typical incumbent advantage from 2004-2014. This effect was calculated in the script incumbent_effect.r

Really gotta switch the colors here...

Additionally, I tried to use the amount of campaign contributions that each candidate had raised as a predictor. This turned out to be an imperfect metric because I couldn't find a source to differentiate between primary and general election. It also took some adjustments to account for non-competitive races, which lower the correlation.

About

My ill-fated and last-minute attempt to predict House elections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages