HomeLatest ThreadsGreatest ThreadsForums & GroupsMy SubscriptionsMy Posts
DU Home » Latest Threads » Forums & Groups » Main » Politics 2014 (Forum) » My brand new election mod...

Sun Nov 4, 2012, 12:12 AM

My brand new election model

So I started reading Nate Silver's book and got jealous. I wanted to make my own election model. So I did.

Here's the details: I took all the polls from January in all fifty states and smoothed them using a piecwise cubic interpolation. I then performed a principal components analysis on these data to find states that tended to be correlated (to reduce the number of independent variables). I found there were ~ 7 distinct groupings of states. These 7 groups tended to exhibit similar statistical properties.

Using the last four polls from each state, I estimated the mean spread between Obama and Romney for each state, as well as the standard deviation of these spreads.

I drove each group of 7 with different normal distributions of noise, scaling each noise driving process with the appropriate state based standard dev and adding in the approprate mean spread for each state. To be conservative, I scaled the standard deviation by a factor of two (to increase out uncertainty in each state).

Running the model 1000 times I found the following results:

84% win percentage for Obama.
An average value of 313.6 electoral votes.
A maximum likelihood of 332 electoral votes for Obama (although this likelihood was ~ 15%, so there are clearly many other fairly likely winning combinations for Obama).

If I use the actual standard deviation values, rather than the conservative scaled values, the win percentage goes to 98%.

Neat Huh?

2 replies, 721 views

Reply to this thread

Back to top Alert abuse

Always highlight: 10 newest replies | Replies posted after I mark a forum
Replies to this discussion thread
Arrow 2 replies Author Time Post
Reply My brand new election model (Original post)
Shivering Jemmy Nov 2012 OP
Shivering Jemmy Nov 2012 #1
trublu992 Nov 2012 #2

Response to Shivering Jemmy (Original post)

Thu Nov 8, 2012, 09:51 PM

1. Well this did pretty well.

I'm very happy with the 332 electoral votes as the maximum likelihood projection. I should put up a color graphic of the states. I'm not Nate Silver, but for something I threw together in a few nights it isn't all that bad.

I'll try and work on extending this for the mid terms. Maybe we'll have something to brag about.

Reply to this post

Back to top Alert abuse Link here Permalink


Response to Shivering Jemmy (Reply #1)

Thu Nov 8, 2012, 10:46 PM

2. This is great You were more accurate most polls

Reply to this post

Back to top Alert abuse Link here Permalink

Reply to this thread