Who let the Daft Quants out?
On The Blob you can have any colour you want so long as it's A list of colours is data, and with data you can pose questions, form hypotheses, and then test them . . . you can do science. As these colours are what the party faithful choose to represent their values and their history, it might be worth asking whether political parties with similar values had similar colours or which was the most patriotic party - if you can define your terms for a) patriotic and b) distance / similarity.
Distance first. At The Institute, I've been supervising final year research projects in molecular evolution and bioinformatics although the students haven't really any prior knowledge of the key concepts; nor have they learned any programming languages. But they can make a certain amount of progress with Excel if the evolutionary question is framed so that something interesting can be derived with quite simple mathematics. A couple of my students have been tasked to discover if particular amino acids are buried in the proteins of which they form a part, or if they are exposed on the surface . . . and so available as a drug target. The key Excel task for this endeavour is to calculate the distance between two amino acids in 3-dimensional space if their X-Y-Z co-ordinates are known. For a great many proteins, their X-Y-Z coordinates are known [example shown R: units are Angstroms - real small], and recorded in PDB the Protein DataBase, because someone has calculated the 3-D structure of the protein using X-ray crystallography or Nuclear Magnetic Resonance NMR.
Euclidean distance can be calculated from the rules for Pythagorean triangles: if 32 + 42 = 52 then the distance between the two points = 5 = ✓( 32 + 42). The same principle applies if you're dealing with 3-D space or flat X vs Y planes. I decided to treat RGB colour space as orthogonal axes like the X Y Z coordinates of 3-D protein space.
- HTML represents colours with 3 (Red Green Blue) hexadecimal digit-pairs from the range
"0 1 2 3 4 5 6 7 8 9 A B C D E F". - FF is 16 x 16 = 255 in decimal [in nerdland you start counting from 0 rather than 1].
- Pure white is #000000; and black is #FFFFFF;
- Other colours; #FF0000; #00FF00; #0000FF; #FFFF00;
- Distance: = ✓((R1 - R2)2 +(G1 - G2)2 + (B1 - B2)2)
In the chart above, the column headed D is the green-only distance: how close party colours match the Tricolour Green. Winners Clann Éireann (founded Jan 1926:
The D32 inclusive-of-orange prize is won by the Éirígí [splintered from Sinn Féin 2006: no current elected reps] with Aontú [= Peadar Tóibín TD for Westmeath] as runner-up.
Exec Summ: Patriot Games 1st: Sinn Féin 2nd: Fianna Fáil 3rd Greens 4th Fine Gael 5th SocDems
No comments:
Post a Comment