# Visualizing political divergences: 2012 local elections in Helsinki

The newspaper Helsingin Sanomat has been running for more than a decade Vaalikone which is a voter advice web application. In short: candidates answer a given poll and their results are stored, then voters visiting the web site can take the same questionnaire and the candidates with the closest answers are shown to the voter.

It is fairly easily to construct arguments against it (the most obvious is the presence or absence of important political issues in the questionnaire) but I personally believe that such tool helps to navigate among the more than a thousand candidates here in Helsinki running in the local elections of next Sunday.

Least an opportunity to put on display what are the candidates' positions on some issues should you need to remind them later on.

Politics aside, I was wondering if from the questionnaire results I could represent candidates and/or party differences in some way. That is, I would like to map every single candidate to a 2-D map where their political differences would be somehow displayed. Kohonen's SOM comes to my mind first but I think I am going to go spectral and see how a quick PCA solution would look like.

Some quick notes on the questionnaire. All possible answers come from discrete sets (i.e. `{Yes, No}`> or ```{Totally agree, Mostly Agree, Indifferent, Somehow disagree, Totally disagree}```). Luckily a relationship of order can be establised among all the elements of each set. Hence I have mapped them to numerical equidistant values between -1 and 1 (for the example above the mapping returns `{-1, 1}` and `{-1,-0.5, 0, 0.5, 1}` respectively) which comes handy.

Also no political interpretation is done on the scale beyond the relationship of order, that is for any issue full agreement will be mapped to 1 and full disagreement to -1 independently on whether the issue is considered progressive or conservative and all other possibilities for the answer are consistent with the relationship of order in each set.

Once the questionnaire answers are in place, and I have chosen only the candidates for Helsinki for this analysis, a little bit of R code (which you will find at the end of this post) can go a long way.

Let's start by visualizing parties. Selection is arbitrary so as not to clutter the graph with parties represented with a similar color.

SDP, KESK and KOK have been the largest parties representing approximately the left, center and right views respectively of the political spectrum. Notice that their cluster centers would roughly define a straigt line. PS is a late arrival to the local political arena with distinctly different views on many political aspects.

VAS, VIHR, RKP and KD are parties with lesser national support though Helsinki is a stronghold of VIHR. Notice that while VIHR and VAS have clearly separated cluster centers both RKP and KD show a significant amount of overlap on local issues.

The graph below shows the disparity between views of members of the Pirate Party and the Communist Party of Finland. Notice for instance that the variation of views of the later is much narrower specially when it comes to political views.

Ok so now that we have seen how the things works let’s clear a little bit the clutter in some of the graphs above by plotting pairwise comparisons.

The following figure shows KESK and KOK:

The following figure shows KOK and SDP:

Then KOK and PS:

Which in general show a larger agreement on local issues than their overal political views (larger overlap in the graphs on the left) even though in the comparison SDP/KOK the overlap is smaller.

Let’s have a closer look to the KD/RKP case which heavily overlap on local issues.

Then I’ll compare the parties who got the most seats in the city council, again I will do a side by side comparison so to avoid confussion with heavily overlapping parties. KOK and VIHR are shown below.

Lastly VAS and VIHR for comparison purposes:

Lastly SDP and VIHR:

Voters do have plenty of choices, and may in some circumpstances find candidates with very similar views to them coming from unsuspected parties.

From the graphs above however I find particularly suggestive the idea of voting not for the candidate the agrees most with one’s views but for some candidate that pull away from the party cluster center but in a particular opposing direction so that it will hopefully bias a little bit more the decission making process. But that is just food for thought.