April 6, 2019

Contains language

I bet you they won’t play this song on the radio
I bet you they won’t play this new (bleep) song
It’s not that it’s (buzzer) or (horn) controversial
Just that the (bell)-ing words are awfully strong

— Monty Python, I Bet You They Won’t Play This Song on the Radio

Last year, I missed mentioning one of the minor jewels of the NZ regulatory landscape: the report ‘Language That May Offend in Broadcasting’ from the Broadcasting Standards Authority.

There’s pretty wide agreement around the world that some words should be avoided in radio and TV, and that what language is appropriate would vary according to the setting.  A gritty crime drama would be allowed more license that the main news bulletin, and someone using “Jesus” to refer to the Christian messiah would be different from someone using the word just as an expletive. There’s often reference to “community standards”.  In a lot of places, though, “community standards” are just pulled out of the air or handed down in precedent.

The Broadcasting Standards Authority does a survey of New Zealand every few years, where they actually ask a representative sample of the population how they feel about various words in various contexts (and asks them to suggest other offensive words that weren’t listed).

This time, the BSA added some words or phrases from Samoan and Te Reo Māori. They also added a few English words that are pejorative references to particular groups — in contrast to religious references and content-free profanity, this sort of word has remained unacceptable or perhaps become more unacceptable.

April 5, 2019

Twitter patterns

There’s a new tool for graphing the Twitter output of people (or bots). It shows number of tweets per hour, and either the type of tweet (single new, threaded new, retweet ,reply, quote) or the app used to do post it.  It also shows repeated tweet text

Here’s my Auckland bus Twitter bot. It only does standalone tweets, four per hour, and it broke down for a few days. There’s the standard evening tweet repeated every day and the “can’t find the internet” tweet a few times.

Here are some NZ media people, where you can see the impact of the Christchurch terrorist attacks, roughly in the middle of the time period (click to enlarge)

Matt Nippert

Kirsty Johnson

Sean Plunket

Keith Ng

and, for fairness, me

You can see I was overseas last week. My tweeting went down a bit after Friday 15th.

Briefly

  • Newshub headline: Massive earthquake, tsunami in New Zealand inevitable in our lifetime – experts.  In the story “We know a large earthquake and tsunami is something we will face in our lifetime, or that of our children and grandchildren.”
  • From Stuff. Understatement watch: “Census general manager Kathy Connolly said 60 court cases were being lodged in relation to people not completing the census. That was not everyone who failed to fill out the census”
  • The New York Times has an analysis of online links between white extremist terrorists.
  • NZ statistician Peter Ellis has moved to Melbourne and is now predicting AFL results
  • CNBC story about artificial intelligence in the criminal justice system.
April 2, 2019

Super Rugby Predictions for Round 8

Team Ratings for Round 8

The basic method is described on my Department home page.
Here are the team ratings prior to this week’s games, along with the ratings at the start of the season.

Current Rating Rating at Season Start Difference
Crusaders 17.15 17.67 -0.50
Hurricanes 7.75 9.43 -1.70
Lions 5.10 8.28 -3.20
Chiefs 4.80 8.56 -3.80
Highlanders 3.09 4.01 -0.90
Waratahs 0.91 2.00 -1.10
Sharks 0.17 0.45 -0.30
Stormers -0.22 -0.39 0.20
Bulls -0.80 -3.79 3.00
Brumbies -1.29 0.00 -1.30
Jaguares -1.50 -0.26 -1.20
Blues -1.87 -3.42 1.60
Rebels -3.46 -7.26 3.80
Reds -6.59 -8.19 1.60
Sunwolves -12.25 -16.08 3.80

 

Performance So Far

So far there have been 46 matches played, 29 of which were correctly predicted, a success rate of 63%.
Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Hurricanes vs. Crusaders Mar 29 8 – 32 -3.40 TRUE
2 Waratahs vs. Sunwolves Mar 29 29 – 31 19.80 FALSE
3 Blues vs. Stormers Mar 30 24 – 9 0.60 TRUE
4 Reds vs. Rebels Mar 30 13 – 32 3.00 FALSE
5 Sharks vs. Bulls Mar 30 16 – 19 5.50 FALSE
6 Jaguares vs. Chiefs Mar 30 27 – 30 -2.20 TRUE

 

Predictions for Round 8

Here are the predictions for Round 8. The prediction is my estimated expected points difference with a positive margin being a win to the home team, and a negative margin a win to the away team.

Game Date Winner Prediction
1 Highlanders vs. Hurricanes Apr 05 Hurricanes -1.20
2 Reds vs. Stormers Apr 05 Stormers -2.40
3 Lions vs. Sharks Apr 05 Lions 8.40
4 Crusaders vs. Brumbies Apr 06 Crusaders 22.40
5 Blues vs. Waratahs Apr 06 Blues 1.20
6 Rebels vs. Sunwolves Apr 06 Rebels 12.80
7 Bulls vs. Jaguares Apr 06 Bulls 4.70

 

NRL Predictions for Round 4

Team Ratings for Round 4

The basic method is described on my Department home page.
Here are the team ratings prior to this week’s games, along with the ratings at the start of the season.

Current Rating Rating at Season Start Difference
Storm 8.89 6.03 2.90
Roosters 7.73 8.72 -1.00
Rabbitohs 5.65 3.89 1.80
Sharks 4.87 3.90 1.00
Broncos 2.76 2.63 0.10
Raiders 1.91 1.81 0.10
Dragons -0.88 0.06 -0.90
Cowboys -2.03 0.15 -2.20
Panthers -2.26 0.93 -3.20
Warriors -2.81 -0.27 -2.50
Bulldogs -3.11 -0.61 -2.50
Eels -3.60 -6.17 2.60
Sea Eagles -3.70 -5.61 1.90
Wests Tigers -4.01 -5.57 1.60
Titans -4.50 -3.36 -1.10
Knights -6.89 -8.51 1.60

 

Performance So Far

So far there have been 24 matches played, 16 of which were correctly predicted, a success rate of 66.7%.
Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Broncos vs. Dragons Mar 28 24 – 25 7.90 FALSE
2 Raiders vs. Knights Mar 29 17 – 10 12.60 TRUE
3 Eels vs. Roosters Mar 29 18 – 32 -7.40 TRUE
4 Sea Eagles vs. Warriors Mar 30 46 – 12 -1.30 FALSE
5 Cowboys vs. Sharks Mar 30 16 – 42 -0.30 TRUE
6 Panthers vs. Storm Mar 30 2 – 32 -4.60 TRUE
7 Wests Tigers vs. Bulldogs Mar 31 8 – 22 4.70 FALSE
8 Rabbitohs vs. Titans Mar 31 28 – 20 14.00 TRUE

 

Predictions for Round 4

Here are the predictions for Round 4. The prediction is my estimated expected points difference with a positive margin being a win to the home team, and a negative margin a win to the away team.

Game Date Winner Prediction
1 Roosters vs. Broncos Apr 04 Roosters 8.00
2 Warriors vs. Titans Apr 05 Warriors 6.20
3 Panthers vs. Wests Tigers Apr 05 Panthers 4.70
4 Sea Eagles vs. Rabbitohs Apr 06 Rabbitohs -6.30
5 Cowboys vs. Raiders Apr 06 Raiders -0.90
6 Eels vs. Sharks Apr 06 Sharks -5.50
7 Storm vs. Bulldogs Apr 07 Storm 15.00
8 Knights vs. Dragons Apr 07 Dragons -3.00

 

March 29, 2019

Ihaka Lectures – videos for your viewing pleasure

 

We’re three weeks into the month-long Ihaka Lecture Series, and it has been well received – thank you to those who have turned up in person and online.

Our final speaker, Robert Tibshirani, right, is up on Weds April 3 at the University of Auckland (details here). Robert is Professor of Statistics and Biomedical Data Science at Stanford University.

He is best known for proposing the ‘lasso’, a sparse regression estimator, and describing its relationship to the idea of boosting in supervised classification. He will talk about modern sparse supervised learning approaches that extend the lasso.

 

In the meantime, you might like to check out the films of the last three speakers. First up on March 13 was by Bernhard Pfahringer, left, who is Professor of Computer Science at the University of Waikato.

He is a member of the Weka project, New Zealand’s other famous open-source data science contribution, and here talks about the design and development of Weka and more recent projects.

 

 

 

Next was supposed to be JJ Allaire, the founder and CEO of RStudio, and the author of R interfaces to Tensorflow and Keras. However, ill-health prevented him coming, and our very own Professor Thomas Lumley stepped in.

Thomas talked entertainingly about deep learning, in particular how deep convolutional nets are structured and how they can be remarkably effective, but can also fail, as he puts it, “in remarkably alien ways”.

 

Following was Dr Kristian Lum, Lead Statistician at the Human Rights Data Analysis Group. Her research has concretely demonstrated the potential for machine learning-based predictive policing models to reinforce and, in some cases, amplify historical racial biases in law enforcement.

She talked about algorithmic fairness, and about ways in which policy, rather than data science, influences the development of these models and their choice over non-algorithmic approaches.

 

 

March 27, 2019

The dangers in a world built on data about men

Women all know about the toilet queue in the intermission at concerts – same-sized bathrooms for men and women does not equal efficiency. Women who have ever stood and waited in a long line for the loo while the men come and go with speed – and I think I can say that this is about, roughly, give or take, 100% of us – roll our eyes and laugh about this as we wait. But the anecdote reveals an uncomfortable truth, says Caroline Criado Perez in her book Invisible Women: Exposing Data Bias in a World Designed for Men. Design and services that takes the average male or the needs of the average male as the norm – as is the case with car-crash test dummies and stab-proof vests, among other things – are potentially deadly. The Guardian has excerpted a section of her book and it’s a sobering read. Recommended.

And while we are on the subject of a world designed for data about men, NASA has cancelled the first all-women spacewalk due to a spacesuit size issue.

March 26, 2019

Super Rugby Predictions for Round 7

Team Ratings for Round 7

The basic method is described on my Department home page.
Here are the team ratings prior to this week’s games, along with the ratings at the start of the season.

Current Rating Rating at Season Start Difference
Crusaders 15.92 17.67 -1.70
Hurricanes 8.98 9.43 -0.40
Lions 5.10 8.28 -3.20
Chiefs 4.75 8.56 -3.80
Highlanders 3.09 4.01 -0.90
Waratahs 2.22 2.00 0.20
Sharks 0.68 0.45 0.20
Stormers 0.64 -0.39 1.00
Brumbies -1.29 0.00 -1.30
Bulls -1.31 -3.79 2.50
Jaguares -1.45 -0.26 -1.20
Blues -2.73 -3.42 0.70
Rebels -4.78 -7.26 2.50
Reds -5.27 -8.19 2.90
Sunwolves -13.56 -16.08 2.50

 

Performance So Far

So far there have been 40 matches played, 26 of which were correctly predicted, a success rate of 65%.
Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Blues vs. Highlanders Mar 22 33 – 26 -3.60 FALSE
2 Hurricanes vs. Stormers Mar 23 34 – 28 13.20 TRUE
3 Waratahs vs. Crusaders Mar 23 20 – 12 -12.10 FALSE
4 Sunwolves vs. Lions Mar 23 24 – 37 -14.90 TRUE
5 Bulls vs. Chiefs Mar 23 20 – 56 2.60 FALSE
6 Sharks vs. Rebels Mar 23 28 – 14 8.80 TRUE
7 Reds vs. Brumbies Mar 24 36 – 14 -3.50 FALSE

 

Predictions for Round 7

Here are the predictions for Round 7. The prediction is my estimated expected points difference with a positive margin being a win to the home team, and a negative margin a win to the away team.

Game Date Winner Prediction
1 Hurricanes vs. Crusaders Mar 29 Crusaders -3.40
2 Waratahs vs. Sunwolves Mar 29 Waratahs 19.80
3 Blues vs. Stormers Mar 30 Blues 0.60
4 Reds vs. Rebels Mar 30 Reds 3.00
5 Sharks vs. Bulls Mar 30 Sharks 5.50
6 Jaguares vs. Chiefs Mar 30 Chiefs -2.20

 

Rugby Premiership Predictions for Round 18

Team Ratings for Round 18

The basic method is described on my Department home page.
Here are the team ratings prior to this week’s games, along with the ratings at the start of the season.

Current Rating Rating at Season Start Difference
Exeter Chiefs 10.47 11.13 -0.70
Saracens 10.12 11.19 -1.10
Gloucester Rugby 4.57 1.23 3.30
Northampton Saints 4.28 3.42 0.90
Harlequins 2.98 2.05 0.90
Bath Rugby 2.40 3.11 -0.70
Wasps 2.33 8.30 -6.00
Sale Sharks 1.48 -0.81 2.30
Leicester Tigers 0.74 6.26 -5.50
Worcester Warriors -2.13 -5.18 3.00
Newcastle Falcons -2.72 -3.51 0.80
Bristol -2.94 -5.60 2.70

 

Performance So Far

So far there have been 102 matches played, 70 of which were correctly predicted, a success rate of 68.6%.
Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Bristol vs. Worcester Warriors Mar 23 25 – 27 5.50 FALSE
2 Exeter Chiefs vs. Bath Rugby Mar 23 29 – 10 12.40 TRUE
3 Gloucester Rugby vs. Wasps Mar 23 27 – 14 6.60 TRUE
4 Leicester Tigers vs. Northampton Saints Mar 23 15 – 29 3.50 FALSE
5 Newcastle Falcons vs. Sale Sharks Mar 23 22 – 17 0.50 TRUE
6 Saracens vs. Harlequins Mar 23 27 – 20 13.90 TRUE

 

Predictions for Round 18

Here are the predictions for Round 18. The prediction is my estimated expected points difference with a positive margin being a win to the home team, and a negative margin a win to the away team.

Game Date Winner Prediction
1 Bath Rugby vs. Bristol Apr 06 Bath Rugby 10.80
2 Leicester Tigers vs. Exeter Chiefs Apr 06 Exeter Chiefs -4.20
3 Northampton Saints vs. Gloucester Rugby Apr 06 Northampton Saints 5.20
4 Sale Sharks vs. Harlequins Apr 06 Sale Sharks 4.00
5 Saracens vs. Newcastle Falcons Apr 06 Saracens 18.30
6 Wasps vs. Worcester Warriors Apr 06 Wasps 10.00

 

Pro14 Predictions for Round 19

Team Ratings for Round 19

The basic method is described on my Department home page.
Here are the team ratings prior to this week’s games, along with the ratings at the start of the season.

Current Rating Rating at Season Start Difference
Leinster 11.20 9.80 1.40
Munster 9.61 8.08 1.50
Glasgow Warriors 8.92 8.55 0.40
Connacht 3.65 0.01 3.60
Scarlets 2.96 6.39 -3.40
Cardiff Blues 1.35 0.24 1.10
Ulster 1.24 2.07 -0.80
Edinburgh 0.53 -0.64 1.20
Ospreys -0.92 -0.86 -0.10
Treviso -1.12 -5.19 4.10
Cheetahs -2.04 -0.83 -1.20
Dragons -9.77 -8.59 -1.20
Southern Kings -10.49 -7.91 -2.60
Zebre -14.58 -10.57 -4.00

 

Performance So Far

So far there have been 126 matches played, 100 of which were correctly predicted, a success rate of 79.4%.
Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Cardiff Blues vs. Scarlets Mar 23 41 – 17 1.20 TRUE
2 Connacht vs. Treviso Mar 23 29 – 14 8.20 TRUE
3 Edinburgh vs. Leinster Mar 23 28 – 11 -8.00 FALSE
4 Glasgow Warriors vs. Cheetahs Mar 23 35 – 17 15.00 TRUE
5 Munster vs. Zebre Mar 23 31 – 12 29.60 TRUE
6 Ospreys vs. Dragons Mar 23 29 – 20 14.20 TRUE
7 Ulster vs. Southern Kings Mar 23 33 – 19 16.70 TRUE

 

Predictions for Round 19

Here are the predictions for Round 19. The prediction is my estimated expected points difference with a positive margin being a win to the home team, and a negative margin a win to the away team.

Game Date Winner Prediction
1 Cheetahs vs. Ospreys Apr 06 Cheetahs 3.40
2 Glasgow Warriors vs. Ulster Apr 06 Glasgow Warriors 12.20
3 Leinster vs. Treviso Apr 06 Leinster 16.80
4 Munster vs. Cardiff Blues Apr 06 Munster 12.80
5 Scarlets vs. Edinburgh Apr 06 Scarlets 6.90
6 Southern Kings vs. Dragons Apr 06 Southern Kings 3.80
7 Zebre vs. Connacht Apr 06 Connacht -13.70