Posts from May 2018 (28)

May 21, 2018

Briefly

  • David Fisher in the HeraldGarrett appeared unaware both Edgeler and Lumley had since withdrawn their comments, having found they were based on bad data from the Ministry of Justice.
  • “Why Is It So Hard to Figure Out When the Bus Is Coming?” From Citylab. At least Auckland Transport doesn’t seem to have the problem of inaccurate maps that the story focuses on.  Prediction is still hard, especially when it comes to the future.
  • There was a story in the more-excitable media about alien influences on Earth species. Some species of lizards in New Guinea have toxic, bright-green blood, and they aren’t even each others closest relatives. That wasn’t the alien story, though. The alien story was about octopuses. Here’s the story the Herald republished, and here’s a more sensible one from Buzzfeed. Not only is there no evidence for it, there’s evidence against it. New Zealand has plenty of scientists who know enough evolutionary biology to say the story is crap; it wouldn’t have been hard to ask one of them.
  • A tweet about toothpaste with an unusual ingredient that “increases the defenses of teeth and gums…cells are loaded with new life energy, the destroying effect of bacteria is hindered… it gently polishes the dental enamel and turns it white and shiny.” Fairly typical non-quite-therapeutic claims, but this toothpaste is from the early 20th century and the unusual ingredient is radium
  • A Guardian story with a nice animated chart showing the uncertainty in global warming predictions.
  • From Quartz, “Satellite images reveal which countries cheat on their economic statistics”
May 18, 2018

Doing the maths

From Science

Brooks then said that erosion plays a significant role in sea-level rise, which is not an idea embraced by mainstream climate researchers. He said the California coastline and the White Cliffs of Dover tumble into the sea every year, and that contributes to sea-level rise. He also said that silt washing into the ocean from the world’s major rivers, including the Mississippi, the Amazon and the Nile, is contributing to sea-level rise.

It’s true that this idea is not embraced by mainstream researchers. But there’s more than that. Unlike some of the more complex and subtle uncertainties in the rate and causes of sea level rise, this argument is not embraced by people who can use Google and a calculator.

The main contribution of the land to the sea floor is the 20 billion tons or so of silt from the world’s rivers.  Soil weighs in at between 1 and 2 tons per cubic meter; rock mostly between 2 and 3. Let’s be generous and call it 20 billion cubic metres. Not all of that ends up in the ocean — lots of it goes to coastal wetlands and deltas — but we’re messing them up too, so again let’s be generous and say it all ends up underwater.

The ocean area is 360 billion square kilometres, so about 360 million billion square metres. It would take 360 million billion cubic metres of added stuff to raise sea levels 1 metre — actually more, since the ocean area would expand, which is actually the main issue with sea level rise, but again we’ll be generous and say only 360 million billion. Dividing by 20 billion gives 0.000055 metres or 0.05 millimetres.  Actual sea level rise over the whole 20th century averaged 1.8mm/year, about 30 times more.

May 16, 2018

Briefly

  • “The Home Office seems to have used some sort of voice identification test in an effort to find international students who got someone else to take their mandatory English exam. And this went about as well as you might have expected if you read this blog. from the Yorkshire Ranter
  • NZ supermarkets have apparently been using computerised facial recognition systems to identify shoplifters.  Here’s the Privacy Commissioner on Radio NZ.  Of course, supermarkets have used non-computerised facial recognition systems for a long time, and there have definitely been concerns about the bias of these, too.  And while the current systems seem to have high error rates, that’s temporary: they are going to get better.
  • From the Washington Post, a video on how opinion polls work
  • “To work for society, data scientists need a Hippocratic oath with teeth” Cathy O’Neil in Wired.  I agree on the basic ethics and design principles, but statistics, unlike medicine or law or engineering, has never had a wall to keep people out: anyone can practise statistics. That makes professional regulation hard.
  • Across the city, black people were arrested on low-level marijuana charges at eight times the rate of white, non-Hispanic people over the past three years, The New York Times found.” This won’t actually surprise most people, but the NYT has done a good job of showing that the usual excuses don’t explain the bias.
  • Beautiful infographic/visualisation of different types of alcoholic drinks by Rego Sen
  • The birth cohort study Growing Up In New Zealand has been refunded
  • The story of the HP-35 calculator, the first scientific pocket calculator. I’ve used the next model, the HP-45. Calculators were much better engineered when they cost the equivalent of what a Macbook does now.
  • “Baking the most average chocolate chip cookie” from pudding.cool
  • Why not to use two y-axes on a graph, from Datawrapper
May 15, 2018

Super 15 Predictions for Round 14

Team Ratings for Round 14

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
Hurricanes 15.78 16.18 -0.40
Crusaders 14.74 15.23 -0.50
Highlanders 9.47 10.29 -0.80
Chiefs 8.72 9.29 -0.60
Lions 8.54 13.81 -5.30
Sharks 1.16 1.02 0.10
Stormers 0.12 1.48 -1.40
Bulls -0.31 -4.79 4.50
Waratahs -1.35 -3.92 2.60
Jaguares -1.86 -4.64 2.80
Blues -2.01 -0.24 -1.80
Brumbies -3.45 1.75 -5.20
Rebels -10.43 -14.96 4.50
Reds -11.12 -9.47 -1.60
Sunwolves -15.39 -18.42 3.00

 

Performance So Far

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

Game Date Score Prediction Correct
1 Blues vs. Hurricanes May 11 15 – 36 -13.40 TRUE
2 Sunwolves vs. Reds May 12 63 – 28 -5.10 FALSE
3 Crusaders vs. Waratahs May 12 31 – 29 22.60 TRUE
4 Highlanders vs. Lions May 12 39 – 27 4.00 TRUE
5 Brumbies vs. Rebels May 12 24 – 27 12.30 FALSE
6 Stormers vs. Chiefs May 12 9 – 15 -4.40 TRUE
7 Bulls vs. Sharks May 12 39 – 33 1.50 TRUE

 

Predictions for Round 14

Here are the predictions for Round 14. 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. Reds May 18 Hurricanes 30.90
2 Sunwolves vs. Stormers May 19 Stormers -11.50
3 Blues vs. Crusaders May 19 Crusaders -13.30
4 Waratahs vs. Highlanders May 19 Highlanders -6.80
5 Sharks vs. Chiefs May 19 Chiefs -3.60
6 Lions vs. Brumbies May 19 Lions 16.00
7 Jaguares vs. Bulls May 19 Jaguares 2.40

 

NRL Predictions for Round 11

Team Ratings for Round 11

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 12.06 16.73 -4.70
Dragons 5.79 -0.45 6.20
Panthers 3.53 2.64 0.90
Rabbitohs 2.29 -3.90 6.20
Roosters 1.95 0.13 1.80
Sharks 1.21 2.20 -1.00
Raiders -0.06 3.50 -3.60
Broncos -0.31 4.78 -5.10
Wests Tigers -0.49 -3.63 3.10
Cowboys -1.03 2.97 -4.00
Bulldogs -2.20 -3.43 1.20
Eels -2.43 1.51 -3.90
Sea Eagles -3.86 -1.07 -2.80
Warriors -3.88 -6.97 3.10
Knights -7.34 -8.43 1.10
Titans -7.53 -8.91 1.40

 

Performance So Far

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

Game Date Score Prediction Correct
1 Wests Tigers vs. Cowboys May 10 20 – 12 2.80 TRUE
2 Knights vs. Panthers May 11 18 – 29 -7.40 TRUE
3 Bulldogs vs. Eels May 11 20 – 12 2.50 TRUE
4 Warriors vs. Roosters May 12 0 – 32 3.70 FALSE
5 Storm vs. Titans May 12 28 – 14 24.00 TRUE
6 Sea Eagles vs. Broncos May 12 38 – 24 -2.90 FALSE
7 Rabbitohs vs. Dragons May 13 24 – 10 -2.90 FALSE
8 Raiders vs. Sharks May 13 16 – 24 3.30 FALSE

 

Predictions for Round 11

Here are the predictions for Round 11. 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 Panthers vs. Wests Tigers May 17 Panthers 7.00
2 Eels vs. Warriors May 18 Eels 6.00
3 Broncos vs. Roosters May 18 Broncos 0.70
4 Titans vs. Knights May 19 Titans 2.80
5 Cowboys vs. Rabbitohs May 19 Rabbitohs -0.30
6 Storm vs. Sea Eagles May 19 Storm 18.90
7 Dragons vs. Raiders May 20 Dragons 8.80
8 Sharks vs. Bulldogs May 20 Sharks 6.40

 

May 10, 2018

Hair apparent?

There’s a story in Stuff about a potential new cure for baldness

A cure for baldness could be on the horizon after British scientists discovered that an osteoporosis drug stimulates hair growth three times quicker than other drugs.

The first thing to notice about the story is the name of the new drug, WAY-316606. That’s not a drug name. That’s a drug-company internal name of a research compound. This isn’t a story about repurposing an already-approved drug. The name of the cancer drug “CsA” they supposedly started with also looks a bit weird.

The next thing to note is that we aren’t given much source information, apart from the Daily Telegraph. The story there has the headline Baldness cure could come from side-effect of cancer drug. You’d need to sign up there to actually read it; I wouldn’t bother if I were you.  Searching for keywords like “baldness” and “Manchester” finds the press release.

The press release tells us some interesting new facts. First, “CsA” isn’t a cancer drug at all. It’s cyclosporine A, the immune-suppressant drug that made organ transplants really feasible in the 1980s.  It looks as thought the Telegraph invented the connection with cancer — maybe by misunderstanding the fact cyclosporine increases cancer risk. Second, the research paper is in the journal PLoS Biology — unlike the Daily Telegraph story, it’s open-access.   The press release is also more measured about the medical potential, saying “Clearly though, a clinical trial is required next to tell us whether this drug or similar compounds are both effective and safe in hair loss patients.” As far as I can tell, WAY-316606 hasn’t ever been tested even for safety in humans.

The research paper is harder going. It does have this graph (Figure 3A) comparing hair growth in hair follicles treated with WAY-316606 and untreated controls. It’s true that the treated hair grew faster, and it’s true it was 2mm after 6 days, but the difference from untreated hair was a lot smaller than that.

The research paper links to another paper about WAY-316606, which is not open-access.  That paper gives a hint as to why WAY-316606 isn’t a drug already: it doesn’t last long enough in the body (at least, the bodies of rats). It might work better applied to the scalp. Or not.

So, this is interesting biochemical research that might turn out to have practical applications for hair growth, but it’s not really a way to use an existing drug to cure baldness.

May 8, 2018

Super 15 Predictions for Round 13

Team Ratings for Round 13

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.98 15.23 0.80
Hurricanes 15.32 16.18 -0.90
Lions 9.02 13.81 -4.80
Highlanders 8.99 10.29 -1.30
Chiefs 8.62 9.29 -0.70
Sharks 1.43 1.02 0.40
Stormers 0.21 1.48 -1.30
Bulls -0.58 -4.79 4.20
Blues -1.56 -0.24 -1.30
Jaguares -1.86 -4.64 2.80
Brumbies -2.53 1.75 -4.30
Waratahs -2.59 -3.92 1.30
Reds -8.71 -9.47 0.80
Rebels -11.35 -14.96 3.60
Sunwolves -17.80 -18.42 0.60

 

Performance So Far

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

Game Date Score Prediction Correct
1 Chiefs vs. Jaguares May 04 19 – 23 17.00 FALSE
2 Rebels vs. Crusaders May 04 10 – 55 -20.40 TRUE
3 Waratahs vs. Blues May 05 21 – 24 3.80 FALSE
4 Hurricanes vs. Lions May 05 28 – 19 10.50 TRUE
5 Stormers vs. Bulls May 05 29 – 17 3.20 TRUE
6 Sharks vs. Highlanders May 05 38 – 12 -7.60 FALSE

 

Predictions for Round 13

Here are the predictions for Round 13. 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 Blues vs. Hurricanes May 11 Hurricanes -13.40
2 Sunwolves vs. Reds May 12 Reds -5.10
3 Crusaders vs. Waratahs May 12 Crusaders 22.60
4 Highlanders vs. Lions May 12 Highlanders 4.00
5 Brumbies vs. Rebels May 12 Brumbies 12.30
6 Stormers vs. Chiefs May 12 Chiefs -4.40
7 Bulls vs. Sharks May 12 Bulls 1.50

 

NRL Predictions for Round 10

Team Ratings for Round 10

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 12.76 16.73 -4.00
Dragons 6.97 -0.45 7.40
Panthers 3.28 2.64 0.60
Rabbitohs 1.11 -3.90 5.00
Broncos 0.87 4.78 -3.90
Raiders 0.74 3.50 -2.80
Sharks 0.42 2.20 -1.80
Roosters -0.55 0.13 -0.70
Cowboys -0.67 2.97 -3.60
Wests Tigers -0.85 -3.63 2.80
Warriors -1.39 -6.97 5.60
Eels -2.04 1.51 -3.60
Bulldogs -2.59 -3.43 0.80
Sea Eagles -5.05 -1.07 -4.00
Knights -7.08 -8.43 1.40
Titans -8.23 -8.91 0.70

 

Performance So Far

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

Game Date Score Prediction Correct
1 Broncos vs. Bulldogs May 03 22 – 20 7.20 TRUE
2 Knights vs. Rabbitohs May 04 18 – 36 -3.10 TRUE
3 Panthers vs. Cowboys May 04 20 – 26 9.10 FALSE
4 Raiders vs. Titans May 05 32 – 18 11.60 TRUE
5 Warriors vs. Wests Tigers May 05 26 – 4 1.00 TRUE
6 Sharks vs. Eels May 05 22 – 20 6.00 TRUE
7 Dragons vs. Storm May 06 34 – 14 -6.50 FALSE
8 Roosters vs. Sea Eagles May 06 22 – 20 8.40 TRUE

 

Predictions for Round 10

Here are the predictions for Round 10. 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 Wests Tigers vs. Cowboys May 10 Wests Tigers 2.80
2 Knights vs. Panthers May 11 Panthers -7.40
3 Bulldogs vs. Eels May 11 Bulldogs 2.50
4 Warriors vs. Roosters May 12 Warriors 3.70
5 Storm vs. Titans May 12 Storm 24.00
6 Sea Eagles vs. Broncos May 12 Broncos -2.90
7 Rabbitohs vs. Dragons May 13 Dragons -2.90
8 Raiders vs. Sharks May 13 Raiders 3.30

 

Aviva Premiership Predictions for the Semi-finals

Team Ratings for the Semi-finals

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
Saracens 13.09 7.47 5.60
Exeter Chiefs 10.74 7.99 2.70
Wasps 6.20 5.89 0.30
Leicester Tigers 4.61 4.64 -0.00
Bath Rugby 1.95 1.23 0.70
Sale Sharks 0.18 -1.73 1.90
Gloucester Rugby -1.74 0.21 -1.90
Northampton Saints -1.77 1.53 -3.30
Newcastle Falcons -1.80 -3.33 1.50
Harlequins -3.57 0.84 -4.40
Worcester Warriors -4.85 -4.37 -0.50
London Irish -7.61 -4.94 -2.70

 

Performance So Far

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

Game Date Score Prediction Correct
1 Bath Rugby vs. London Irish May 05 63 – 19 10.60 TRUE
2 Harlequins vs. Exeter Chiefs May 05 17 – 41 -10.30 TRUE
3 Newcastle Falcons vs. Wasps May 05 22 – 39 -4.10 TRUE
4 Northampton Saints vs. Worcester Warriors May 05 32 – 24 5.80 TRUE
5 Sale Sharks vs. Leicester Tigers May 05 13 – 35 -0.00 TRUE
6 Saracens vs. Gloucester Rugby May 05 62 – 12 15.80 TRUE

 

Predictions for the Semi-finals

Here are the predictions for the Semi-finals. 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 Saracens vs. Wasps May 19 Saracens 9.90
2 Exeter Chiefs vs. Newcastle Falcons May 19 Exeter Chiefs 15.50

 

May 7, 2018

Briefly

  • Creative arithmetic in some official statistics “an incident in the Rio Grande Valley Sector on February 14, 2017, involved seven U.S. Border Patrol Agents assaulted by six subjects utilizing three different types of projectiles (rocks, bottles, and tree branches), totaling 126 assaults.” 
  • Interesting, slightly-nerdy post on fake news, network structure, and Cambridge Analytica
  • Also on Cambridge Analytica: “The psychology ethics committee refused permission, and when he appealed to the [Cambridge] University Ethics Committee  this refusal was upheld”
  • “Seven Visualization Talks That Terrified Me At CHI”: Michael Correll on this year’s Conference on Human Factors in Computing Systems
  • Abstract art to a human; representational art to a neural network
  • The success of statistical models in horse-racing (Bloomberg: limited free articles)
  • The UK’s opt-out internet porn filter has lots of completely stupid false positives because of course it does (BoingBoing). There’s a site where you can search or browse them.  I think my favourite so far is Utopia Palms and Cycads, a nice ecologically-responsible tropical-plant supplier in Queensland, Australia.
  • And in other UK computerised false-positives newsHowever, when ETS’s automated voice analysis was checked against human analysis, its computer programme was found to be wrong in 20 per cent of cases, meaning that more than 7,000 students were likely to have been wrongly accused of cheating.”  Sometimes 80% is a fail, not  an A-