TheyWorkForYou.co.nz blog

We'll be posting here about the progress of TheyWorkForYou.co.nz


Email:
rob at theyworkforyou dot co dot nz

Feed: RSS

Twitter: TWFYNZ

    Watching the Election from London

    Election Day Champagne Brunch, London

    Saturday 8th November, 10am - 2pm

    The Southerner, Essex Street, London WC2R 1AP, map to pub

    If you’re in London and looking for a place to watch the New Zealand election, there’s an Election Day Champagne Brunch being held downstairs at The Southerner pub, near Temple tube, on Saturday from 10am.

    A plasma screen has been specially wired up to watch coverage via the Internet. The event has been organised by the Kiwi Greens in London.

    It’s open to all. Supporters of all parties have been welcomed.

    I’ll be tweeting from there, and may even get time to write some code to predict outcomes as the results come in.

    Afterwards there’s the opportunity to watch the end of the Lord Mayor’s procession which passes by outside The Southerner; the Lord Mayor’s show finishes with a firework display at 5pm from a barge moored in the Thames.

    Fri 7th Nov 2008

    Greens and Māori Party voted their own way last Parliament

    By analysing party voting on final bill readings, we can see how the political parties differ when it came to legislation passed during the 48th New Zealand Parliament.

    Voting_distances_48th_parliament

    The closer two parties are on the plot, the more often they voted the same way in final bill readings. The distances between parties is calculated from their bill votes. The axes don’t have any special meaning. It is the distances between parties that explain similarity in their voting.

    Is there an explanation for the party clusters?

    New Zealand First and United Future voted in a similar way to Labour as they were part of the Labour led government. Both parties had a confidence and supply agreement with Labour. The Progressives were in a coalition agreement with Labour and voted almost exactly the same as Labour - their logo is displayed in an offset position to be visible on the plot.

    National and Act were relatively similar in their bill voting, but voted quite differently from the other parties.

    The Greens and Māori Party were relatively similar in their bill voting.

    Potentially challenging coalition negotiations

    The Greens and Māori Party may find potential coalition agreements difficult with Labour as their bill voting has been substantially different from Labour in the past, indicating different policy directions. The Greens and Labour voted in the same way in 65% of the final bill readings (71 out of 110), the Māori Party and Labour voted in the same way in 52% of the readings.

    The Māori Party voted in a different way from National in 73% of the final bill readings (80 out of 110). The Māori Party voted almost twice as often with Labour on final bill readings (57 the same) than they did with National (30 the same). Any post election coalition involving National and the Māori Party may prove a very difficult negotiation for both parties.

    How was the party distances plot made?

    The plot was created by a statistical analysis of final bill reading votes, using a technique called principal components analysis. The two principal components plotted above explain 74.4% of the variance in the way parties voted on final bill readings.

    You can read a blog post for details of how to do the principal components analysis for yourself. The data is provided.

    See the TheyWorkForYou.co.nz website for more party voting analysis and information.

    Thu 6th Nov 2008

    Keeping culture free: Lawrence Lessig in New Zealand

    Professor Lawrence Lessig, champion of free culture, and more recently head of the change congress campaign, is in New Zealand next week. Professor Lessig delivers a keynote at the LIANZA conference on Tuesday. He is also giving a public lecture at the University of Auckland on Monday 3 November 2008, 6:30-8pm.

    I had the honour of seeing Lawrence Lessig speak in New York in 2003, where he articulated the reasoning behind Creative Commons licenses and the premise for his book Free Culture. Lawrence Lessig is one of the intellectual giants of our time. His work, and the work of others like him, inspired me to make TheyWorkForYou.co.nz.

    Professor Lessig’s public lecture in Auckland covers the topic “Keeping culture free: The choices law and technology force us to make about the future of the Internet and the progress of cultures”. His timing is opportune given New Zealand’s recent experience with the passing of the Copyright (New Technologies) Amendment Bill into law. For those of us working for a free and open Internet, only two political parties made the right choice when it came to voting on the Copyright bill’s third reading.

    Sat 1st Nov 2008

    Want to search Parliament video?

    Reading the programme for the LIANZA Conference 2008 I noticed a talk about “Representing New Zealand - electorate profiles and Parliament TV”. It seems that behind the Parliament firewall it is now possible to do text-search of Parliament video:

    Our Parliament TV system links text-based Hansard on our Intranet to video files of the House in progress. This lets clients browse or search the Hansard text and jump straight into the actual proceedings via video links.

    If you’re at the LIANZA conference, please ask the speaker if there are any plans to make video search available to the New Zealand public. In the UK, it was TheyWorkForYou.com that made it possible for the public to search the UK Parliament’s video record. TheyWorkForYou.com used crowd-sourcing of volunteers to watch every debate and hit a button to mark speech starts, in order to get video time stamps in the correct place.

    Wed 22nd Oct 2008

    Statistical Analysis of NZ Parliament Bill Votes

    This post will document how a statistical analysis of the 48th New Zealand Parliament bill votes can be conducted using the R statistics environment.

    I’ll be reporting the results in another post, but you can follow the directions below to do the analysis yourself!

    R is a free software environment for statistical computing and graphics. It was originally created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is now developed by the R Development Core Team. You can download and install R from here: www.r-project.org

    Vote data csv

    The data we will analyse is a matrix derived from votes of the 48th New Zealand parliament. It covers bill third reading votes and party votes for bills that were negatived at their first or second reading. The data is in a csv file formatted for import into R. You are welcome to use this data, but please attribute TheyWorkForYou.co.nz as the source (just in case I’ve made a mistake).

    The header of the csv file shows the names of 110 bills (or parent bills), which were voted on by the 48th Parliament. Each vector in the matrix indicates how parties voted on the bill. If a party voted aye then a value of +1 is recorded in that party’s place in the vector. If they voted no then a -1 is recorded; if they abstained or did not vote then 0 is recorded. In the case of a split party vote, the percentage of party’s noes are deducted from their ayes, to give a fractional value between 1 and -1.

    Loading data

    First step is to install R. Once you have R installed, start the R console running.

    Next save the data to a file on your computer. Then load the data file via the R console:

    x <- read.csv('/path/third_reading_and_negatived_votes.csv', TRUE)

    It should look something like this, e.g. first bill vector shown:

    > x
    
                  Taxation..Annual.Rates.and.Urgent.Measures..Bill
    ACT                                                         -1
    Green                                                        1
    Labour                                                       1
    Maori Party                                                  1
    National                                                    -1
    NZ First                                                     1
    Progressive                                                  1
    United Future                                                1 ...

    Hierarchical cluster analysis

    Now for the fun stuff. First off, you can run a hierarchical cluster analysis to see how parties voting groups them into clusters:

    plclust(hclust(dist(x)))

    Four of the parties were in the Labour government, which explains part of the clustering you can see in the plot.

    Principal components analysis

    For principal components analysis I found the reworking of R’s biplot function by Jose Claudio Faria useful.

    Copy his biplot functions into the R console, from this post: https://stat.ethz.ch/pipermail/r-help/2007-June/133873.html The lines you want to copy and paste are:

    #===============================================================================
    # Name           : biplot.s
    # Author         : Jose Claudio Faria (DCET/USC/BRAZIL)
    
    ... copy everything until:
    
    #===============================================================================
    # Name           : biplot.s_to_learn
    # Author         : Jose Claudio Faria (DCET/USC/BRAZIL)
    

    If you enter the line of code below into the R console, it should render the first two principal components in a biplot graph in a new window:

    biplot.s(x, center=F, scale=T)

    The names of the bill variables in red are a bit distracting, we can change the colour like this:

    biplot.s(x, center=F, scale=T, col.var='grey')

    Now you should see the names of the parties positioned in the two dimensional plot in a way that explains the differences based on how they voted. A simple way to consider this is that 110 dimensions have been collapsed in to two.

    > bp2 = biplot.s(x, center=F, scale=T, plot=F)
    > bp2$expl
    [1] 0.744

    A loose interpretation is that the two dimensions shown on the plot explain 74.4% of the variance in the voting. You’ll see in the biplot that Labour and Progressive are on top of each other, this is because they almost voted identically. (To make the plot clearer, you can open the csv file, remove the line for Progressive’s votes, and reload the data in R).

    3D with rgl package

    We can see a 3d plot of 3 principal components using the rgl package:

    require(rgl)
    clear3d()
    rgl.bringtotop(stay=T)
    biplot.s(x, center=F, scale=T, lambda.end=3, rgl.use=T)

    The plot has a lot of distracting detail due to the bill names, we can reduce this as follows:

    biplot.s(x, center=F, scale=T, lambda.end=3, rgl.use=T, col.var='grey', var.factor=0.05)

    Another way to improve rendering of the 3d plot is to remove the bill name headings line from the csv file, and reload it like this:

    x <- read.csv('/path/third_reading_and_negatived_votes.csv', FALSE)
    row.names(x) <- x[,1]
    x <- x[,-1]

    rgl.bringtotop(stay=T)
    biplot.s(x, center=F, scale=T, lambda.end=3, rgl.use=T, col.var='grey', var.factor=0.05)

    Adding a 3rd principal component has increased the explaination to 0.839:

    > bp3 = biplot.s(x, plot=F, center=F, scale=T, lambda.end=3)
    > bp3$expl
    [1] 0.839

    In my next post I’ll include images of the party vote analysis for those of you who haven’t had time to play with R. Hint: results show that statistically there are clearly more than two clusters of parties based on their party votes in parliament.

    Tue 21st Oct 2008

    October 15th Solidarity

    On October 15th 2007, the New Zealand police carried out unprecedented nation-wide raids, arresting 17 activists after raiding some 60 different locations. The arrests were based on surveillance and interception warrants obtained under the Terrorism Suppression Act 2002. This was the first time that the police used this Act, a law parliament passed immediately after 9/11.

    The Solicitor-General refused police permission to lay charges under the Terrorism Suppression Act, but 19 people still face firearms charges.

    October 15th last year, around 60 houses were raided at dawn across the country, and an entire community was locked down. An article in The Press gives a first hand account of the tramatic treatment received by residents of Ruatoki and members of the Tūhoe community:

    “They searched my daughter,” said Kohu. “She’s only 15 years old. You know, getting woken up with a gun at her head at five o’clock in the bloody morning.”

    The raids were remembered one year on by people holding events in New Zealand and Australia.

    I marked the day by attending a meeting of the Ngati Ranana London Māori Club at New Zealand House in London. This was one of their regular performance practice meetings, not related to October 15th.

    The Ngati Ranana group do Māori cultural performances at official functions and other occasions in the UK, mostly on a volunteer basis. They’ll be celebrating their 50th anniversary next year. To watch them practice on a Wednesday evening at NZ House is an enjoyable experience, especially when you’re a long way from home - they bring some life into NZ House, or “warm the whare” as someone put it. It’s a pity that the New Zealand High Commission don’t arrange a room for them to hold their meetings in. Instead they are offered the lobby as a practice space.

    After the powhiri, during the introductions, I took the opportunity to express my solidarity with those people and communities affected by the raids. Green party list candidates, Rawiri Paratene and James Shaw, were also amongst the guests at the Ngati Ranana meeting, there to encourage Māori in London to vote in the coming New Zealand election.

    Unfortunately the record of Hansard at parliament.nz doesn’t go back far enough to see which parties voted in favour of the bill that became the Terrorism Suppression Act 2002. However TheyWorkForYou.co.nz does host readings of a bill to amend the Act. You don’t often see the Greens, the Māori Party and ACT on the same side of an issue, but it happened at the third reading of that bill:

    A party vote was called for on the question,

    That the Terrorism Suppression Amendment Bill be now read a third time.

    Ayes 108

    • New Zealand Labour 49
    • New Zealand National 48
    • New Zealand First 7
    • United Future 2
    • Progressive 1
    • Independent 1 (Copeland)

    Noes 13

    • Green Party 6
    • Māori Party 4
    • ACT New Zealand 2
    • Independent 1 (Field)

    Bill read a third time.

    Thu 16th Oct 2008

    National’s response to my televised debate request

    National’s response to my email about National and Labour’s televised debate deal came via John Key’s personal assistant at parliament.

    Apparently TV and radio media were proposing many debates. National decided to limit debates to be John Key vs Helen Clark because one or the other will be the next Prime Minister, and “voters should have the opportunity to hear from them in the first instance”. National claims that the responsibility for the cancellation of TV3’s multi-party debate (containing only the newer parties as National and Labour pulled out) lies with TV3, and that that issue should be taken up with TV3.

    Here is the response I sent back to National:

    TV3, or should I say HT Media Holdings Limited, is a private company, beholden to its mainly foreign shareholders. As a foreign owned profit-driven entity, I don’t expect TV3 to have much in the way of journalistic integrity or respect for our democracy. As political parties wishing to govern a democracy, it is National and Labour that should be showing respect for free and open debate.

    If we are being honest, National has entered this deal with Labour in hopes of improving National’s proportion of the party vote. You seek to manipulate New Zealanders by presenting them with a false dichotomy, i.e. that they must make a choice between National and Labour.

    I understand that you want to maximise your party vote at the expense of newer parties like the Greens, ACT, NZ First and the Māori Party. But your deal with Labour comes across as an underhanded, intellectually distasteful tactic. Are you and Labour not embarrassed that you are resorting to such measures?

    We are not a republic. We do not have a separate vote for the leader of the country. We are a parliamentary democracy under a proportional electoral system. Our party vote, is not for who we want as a prime minister, it is for the party whose policies best address the issues that concern us.

    Let the people of New Zealand hear from all broadly-supported parties on a level playing field. Let the people decide.

    Regards

    At this stage, I haven’t received any response to the request I sent to Labour.

    Tue 30th Sep 2008

    Labour, please agree to televised debates with other parties

    Copy of an email I have sent to the Labour Party:

    Dear Helen Clark and Labour Party,

    I respectfully ask you to reverse your agreement with National on televised debates by agreeing to be in a televised debate with the leaders of other parties. Your agreement with National is not in the spirit of our electoral system. The people of New Zealand each have a party vote. In order to make an informed decision, we must see all broadly-supported parties debate on a level playing field. Instead we see you and John Key refusing to share the televised stage with other party leaders.

    Labour, National and the television media are entering an arrangement designed to leave people uninformed of their full range of choice. You are presenting New Zealanders with a false dichotomy. You have started New Zealand on a journey to becoming a media-supported two-party plutocracy like the USA.

    In 2004, two US presidential candidates were arrested trying to enter a presidential debate. These arrests barely got reported by the corporate media, if at all. As one presidential candidate stated, “I was arrested but the real crime is the corporate hijacking of our democracy”.

    The Labour Party’s decision to stifle debate will be remembered. You lose goodwill and votes with such actions. Your decision damages the integrity of your party’s commitment to participate in a democracy.

    Regards

    If you’d like to send them a similar message, here are the addresses I used: pm at ministers.govt.nz, contact at labour.org.nz, labourmps at parliament.govt.nz .

    You can read more about Labour and National’s agreement here:
    Clark, Key hog TV debate — NZ Herald
    MMP attacked by Clark and Key’s refusal to front — Green Party

    Sun 28th Sep 2008

    National, please agree to televised debates with other parties

    Copy of an email I have sent to the National Party:

    Dear John Key and National Party,

    I respectfully ask you to reverse your agreement with Labour on televised debates by agreeing to be in a televised debate with the leaders of other parties. Your agreement with Labour is not in the spirit of our electoral system. The people of New Zealand each have a party vote. In order to make an informed decision, we must see all broadly-supported parties debate on a level playing field. Instead we see you and Helen Clark refusing to share the televised stage with other party leaders.

    National, Labour and the television media are entering an arrangement designed to leave people uninformed of their full range of choice. You are presenting New Zealanders with a false dichotomy. You have started New Zealand on a journey to becoming a media-supported two-party plutocracy like the USA.

    In 2004, two US presidential candidates were arrested trying to enter a presidential debate. These arrests barely got reported by the corporate media, if at all. As one presidential candidate stated, “I was arrested but the real crime is the corporate hijacking of our democracy”.

    The National Party’s decision to stifle debate will be remembered. You lose goodwill and votes with such actions. Your decision damages the integrity of your party’s commitment to participate in a democracy.

    Regards

    If you’d like to send them a similar message, here are the addresses I used: john.key at national.org.nz, hq at national.org.nz, and judy.kirk at national.org.nz (party president).

    You can read more about Labour and National’s agreement here:
    Clark, Key hog TV debate — NZ Herald
    MMP attacked by Clark and Key’s refusal to front — Green Party