Visualizing the Legislature

May 02, 2010 16:15

I had this idea a while back, but I only got a chance to implement it the other day.

It is a fairly obvious idea - probably one of the first things you would think of doing. Indeed, Keith Poole et. al. appear to do something pretty similar.


Read more... )

science

Leave a comment

Comments 5

jcreed May 2 2010, 21:28:35 UTC
This is completely awesome! How exactly are you getting your raw data?

Reply

rweba May 2 2010, 21:59:46 UTC
I originally found the data files here:

http://voteview.com/senate110.htm

But I had to do some manual prepocessing before it was suitable for Matlab.

Yeah, I was pleasantly surprised by just how well basic PCA works on this, it is pretty amazing!

Reply

jcreed May 3 2010, 00:00:24 UTC
Oh, that's still in a totally reasonable form. The other sources of data that I found would still have required a bit more spidering and parsing and stuff.

Reply


jcreed May 3 2010, 00:03:50 UTC
Incidentally, I wonder if this idea ( visualization here) is relevant at all.

Like consider one bill being split into two bills, on which everyone would vote the same as they would with the one big bill; you ideally wouldn't really want this change to affect your PCA results, because nobody's ideology really changed, you just changed how you chunked bills together. But in point of fact it would affect the results, wouldn't it?

Reply

Thats a very interesting question rweba May 3 2010, 01:01:52 UTC
If you duplicated each bill my intuition is that it would "perturb" the results, but the change should only be slight.

i.e. if you had two very tight distinct clusters of senators they should still be there even after the duplication.

So that idea might be useful if a duplicate vote can cause the political visualization to change DRAMATICALLY but I don't think that can happen.

This is a lot easier to see with something like MDS which directly uses a metric because duplicating a vote obviously doesn't change the distance between two senators so the result doesn't change. PCA seems a bit harder to think about (but a lot easier to implement!)

Reply


Leave a comment

Up