Archives (246)

November 30, 2021

Briefly

  • Is Covid Omicron going to be a gentler, kinder virus? Actually, we have no idea at all yet, as David Welch tells Jamie Morton. Worry about something else for a week or two; there’s  no shortage of world problems.  Also, see Trevor Bedford on Twitter.
  • The Statistics Act (1975) is up for revision. You have until 22 December if you want to make a submission on the current Data and Statistics Bill.  If you read StatsChat, it’s possible that you do want to comment.
  • Story in the Herald saying that healthy diets are better for the environment. I probably won’t write about this one in detail, but you might look at this 2015 post on a Herald piece saying healthy diets are worse for the environment.
  • ” if passes weren’t going to be checked, they may not represent a justified privacy breach.” Andrew Chen (the patron saint of the NZ Covid app) in a Newsroom story on not requiring vaccine pass validation.
  • Not precisely statistics or in the media, but visualisation: Assyrian low-relief carvings with (possibly) their original colours
  • If you want to read a careful and thoughtful analysis of the data on ivermectin for Covid then I’d actually advise not bothering, but this is a good place if you really have to
  • A nice illustration (via Twitter) of why you’d expect quite a few vaccinated Covid cases if you have a lot of vaccinated people
November 29, 2021

Some of my best friends are…

Circulating on Twitter, but originally from US News and World Report

It’s an interesting list.

Most of the people talking about it on Twitter wanted to ridicule the list without actually worrying about how it was constructed, so it didn’t come with any link or any explanation beyond the source. It’s not hard to find some information, although I haven’t been able to get full details.

There are different ways you might go about constructing a ‘racism’ ordering for countries. According to a 2013 story in the Washington Post, one ranking of basically this sort started with a question in the World Values Survey. Two researchers (I’ll let your prejudices work by saying they were Swedish economists) wanted to look at relationships between economic freedom and racism.  They needed something widely measured, and used a question about kinds of people you would not be happy with having as neighbours.  One of the options was “people of a different race”, others include “people with AIDS”, “immigrants”, “heavy drinkers”, “unmarried couple living together”, “people of a different religion” and so on.  These economists used as their metric for racism the proportion of people who would not want someone from another race as a neighbour.  If you were being pedantic, like me, you might call this a xenophobia/xenophilia score rather than a racism score. It clearly measures something relevant, but you’d expect it to miss the “Some of my best friends are black/gay/Jewish/etc” type of polite racism. This follow-up piece at the Washington Post  covers some of the other complications.

The scale based on the World Values Survey has some agreement with the current version, but it’s not the same. In particular, the USA does quite well on the World Values Survey question, but rates low on the current metric.

The current version is from a survey called “Best Countries“. It has a simpler structure. Respondents (10,068 were informed elites, 4,919 were business decision-makers and 5,817 were considered general public) rated each country on 76 attributes, one of which  was racial equity.  They were also asked whether they agreed “A country is stronger when it is more racially and ethnically diverse” but it doesn’t appear this goes into the ranking (the Danes and Swedes were below the global average on this question, though NZ and Canada were high).

So, the ranking is based on whether a sample of people around the world, targeting ‘informed elites and business decision makers’, thinks that the country is racist or not. The problem with a ranking like that is that most respondents have no actual idea of whether Denmark or Botswana or Agrabah or Paraguay is racist; they’re just going by their own prejudices and what they see in the news.  It’s quite likely that the very low rating for the US is due in part to the Black Lives Matter protests — which you could argue were a good sign not a bad sign for US attitudes on race.

November 28, 2021

Up and down

From the NZ Herald, squashed-trees edition

It’s not really clear what’s going on here: the 3.75% at the bottom right vs the 3.75% at the top left.

Things are better on the NZ$ Herald website, under the headline The great divide: Why are NZ interest rates so much higher than Australia?

Here it’s clear that the label at the bottom right had just gone feral somehow and that the graph is at least plausibly correct. There’s still a bit of a problem in that, at least for the historic part of the graph, the lines should be flat where they don’t jump; there shouldn’t be any slopes. The RBNZ didn’t come out in early 2010 and say “we’re going to smoothly decrease the rate from 3 to 2.75 over the rest of the year”; that’s not how they work. Also, NZ interest rates aren’t actually “so much higher” than rates across the Tasman; they’re just projected to be higher.

Checking against this July graph from interest.co.nz basically confirms the numbers, though there is some interesting disagreement if you care about details, such as the shape of the interest rate rise and fall in 2014-15 and whether the Oz rate was above or below the NZ rate at the start of 2016

The July projections diverge less than the current predictions do: the banks aren’t actually all that good at predicting interest rates two years ahead.

The spurious slopes are still there in the graph, though in this one at least the flat bits are flat and it’s just the vertical bits that aren’t vertical. That’s even a problem on the official RBNZ website.

None of this is a criticism of the actual content of the Herald piece, which both talks about the reasons for divergence and quotes experts who don’t think the diverging forecasts will hold up

Ultimately, despite the two very divergent central bank views, the answer is somewhere in the middle and the rate tracks will move closer in the year ahead, McLeish says.

But the graph and headline don’t help

November 22, 2021

Probably in the top two

From Sophie Jones on Twitter:

If you zoom in on the fine print, that’s 50.6% of 15096 people preferring Pepsi Max over full-sugar Coca-Cola.  You could quibble about the comparison — should this be restricted to cola drinkers (or non-cola drinkers); what happened to the diet versions; how about L&P? — but it’s a comparison.

More obviously, 50.6% is very close to 50%.  You  might ask what the margin of error was for a sample of 15000. It’s more than 0.6%: these results are consistent with just a coin toss.  It might taste like victory, but only if victory doesn’t taste very distinctive.

On the other hand, Pepsi lost the cola wars in New Zealand, so the starting point might reasonably not be 50:50.  This survey doesn’t convincingly show that Pepsi Max is preferred over Coca-Cola by a majority even in blind two-way comparisons, but it does show it’s not far behind. And, in context, that’s probably worth advertising.

Vaccinate for the holidays

The Covid vaccine is safe and effective and it’s good that most eligible people are getting it. But how much protection does it give? If you look at the NZ statistics on who gets Covid, it seems to be extraordinarily effective: the chance of ending up with (diagnosed) Covid for an unvaccinated person is about 20 times higher than for a vaccinated person.

That’s probably an overestimate. People who are vaccinated are at lower risk for immunological reasons: the vaccine really works.  We’re also at lower risk for social reasons: if you’re vaccinated, your friends and family and people you interact with are also more likely to be vaccinated, so they are less likely to give you the virus. That’s partly due to equity problems in the vaccine rollout and partly just to what social-network people call homophily:  you tend to hang out with people similar to you. The immunological reason will hold true over summer; the social reason perhaps less so if people travel. 

Also, because elimination came so close to working in Auckland, the virus has been fairly effectively suppressed in most of the New Zealand population.  On top of the clustering of unvaccinated people, there’s very strong clustering of the current outbreak — it’s mostly in Auckland, but it’s not at all evenly spread within Auckland.  Even if you’re in Auckland you probably know either no-one or lots of people who have been infected.  If you’re in know no-one, you’re at lower risk– and you’re probably vaccinated. As we go from a more or less localised outbreak to many little outbreaks, this additional clustering will go away and the apparent benefit of vaccination will fall.

How much will it fall (and why am I sure)? In the USA, you’re currently about 6 times as likely to get a Covid diagnosis if you’re unvaccinated (according to the CDC). In the UK, the ratio comparing unvaccinated people to those with a Pfizer vaccination within four three months is 4-5.  That fits with the estimates of how effective the vaccine is, biologically, against Delta, plus a bit of social clustering.  The ratio in NZ will be heading that way over time.

So: vaccines, yes, but also masks and distancing and meeting people outside when you can and getting tested if you have symptoms and not going to isolated places that don’t even have enough of their own health care.  Don’t give the virus an inch.

November 16, 2021

Bunnings NPC Predictions for the Finals

Team Ratings for the 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
Tasman 10.20 10.71 -0.50
Auckland 8.62 7.95 0.70
Hawke’s Bay 7.11 4.07 3.00
Wellington 5.93 5.62 0.30
North Harbour 4.04 5.75 -1.70
Canterbury 3.49 6.44 -2.90
Waikato 2.29 2.52 -0.20
Taranaki 1.83 -4.52 6.40
Bay of Plenty 0.78 5.20 -4.40
Otago -2.28 -3.47 1.20
Northland -9.00 -4.75 -4.20
Manawatu -10.85 -14.72 3.90
Southland -10.88 -10.39 -0.50
Counties Manukau -11.10 -10.22 -0.90

 

Performance So Far

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

Game Date Score Prediction Correct
1 Manawatu vs. Otago Nov 12 16 – 44 -1.60 TRUE
2 Taranaki vs. Southland Nov 13 25 – 13 17.10 TRUE
3 Hawke’s Bay vs. Tasman Nov 13 27 – 33 1.80 FALSE
4 Waikato vs. Canterbury Nov 13 17 – 14 2.10 TRUE

 

Predictions for the Finals

Here are the predictions for the 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 Taranaki vs. Otago Nov 20 Taranaki 7.60
2 Waikato vs. Tasman Nov 20 Tasman -4.40

 

November 9, 2021

Top 14 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
Stade Toulousain 8.98 6.83 2.20
La Rochelle 7.60 6.78 0.80
Bordeaux-Begles 6.29 5.42 0.90
Racing-Metro 92 5.52 6.13 -0.60
Lyon Rugby 4.88 4.15 0.70
Clermont Auvergne 4.61 5.09 -0.50
Montpellier 3.14 -0.01 3.10
Stade Francais Paris -0.21 1.20 -1.40
Castres Olympique -0.26 0.94 -1.20
RC Toulonnais -0.66 1.82 -2.50
Section Paloise -2.15 -2.25 0.10
Brive -2.49 -3.19 0.70
Biarritz -3.68 -2.78 -0.90
USA Perpignan -4.18 -2.78 -1.40

 

Performance So Far

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

Game Date Score Prediction Correct
1 La Rochelle vs. Bordeaux-Begles Nov 06 26 – 3 6.70 TRUE
2 Brive vs. Racing-Metro 92 Nov 07 12 – 10 -1.90 FALSE
3 Lyon Rugby vs. Castres Olympique Nov 07 30 – 23 12.20 TRUE
4 Section Paloise vs. Biarritz Nov 07 33 – 21 7.60 TRUE
5 Stade Francais Paris vs. Montpellier Nov 07 27 – 31 4.00 FALSE
6 Stade Toulousain vs. USA Perpignan Nov 07 37 – 15 19.40 TRUE
7 Clermont Auvergne vs. RC Toulonnais Nov 08 31 – 16 11.40 TRUE

 

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 Biarritz vs. Stade Francais Paris Nov 28 Biarritz 3.00
2 La Rochelle vs. Section Paloise Nov 28 La Rochelle 16.30
3 Montpellier vs. Castres Olympique Nov 28 Montpellier 9.90
4 Racing-Metro 92 vs. Bordeaux-Begles Nov 28 Racing-Metro 92 5.70
5 Stade Toulousain vs. Brive Nov 28 Stade Toulousain 18.00
6 RC Toulonnais vs. Lyon Rugby Nov 28 RC Toulonnais 1.00
7 USA Perpignan vs. Clermont Auvergne Nov 28 Clermont Auvergne -2.30

 

Rugby Premiership Predictions for Round 9

Team Ratings for Round 9

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 5.28 7.35 -2.10
Wasps 3.20 5.66 -2.50
Sale Sharks 2.41 4.96 -2.60
Saracens 1.65 -5.00 6.70
Harlequins 1.22 -1.08 2.30
Leicester Tigers 0.82 -6.14 7.00
Bristol -1.25 1.28 -2.50
Gloucester -1.56 -1.02 -0.50
Northampton Saints -1.80 -2.48 0.70
Newcastle Falcons -2.32 -3.52 1.20
Bath -2.92 2.14 -5.10
London Irish -6.08 -8.05 2.00
Worcester Warriors -10.27 -5.71 -4.60

 

Performance So Far

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

Game Date Score Prediction Correct
1 Leicester Tigers vs. Bath Nov 06 40 – 23 7.10 TRUE
2 Bristol vs. Worcester Warriors Nov 07 27 – 5 12.40 TRUE
3 Exeter Chiefs vs. Newcastle Falcons Nov 07 14 – 15 13.70 FALSE
4 Sale Sharks vs. Northampton Saints Nov 07 30 – 6 6.90 TRUE
5 Saracens vs. London Irish Nov 07 34 – 34 13.70 FALSE
6 Wasps vs. Harlequins Nov 08 16 – 26 8.40 FALSE

 

Predictions for Round 9

Here are the predictions for Round 9. 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 vs. Exeter Chiefs Nov 28 Exeter Chiefs -3.70
2 Bristol vs. Northampton Saints Nov 28 Bristol 5.00
3 Harlequins vs. London Irish Nov 28 Harlequins 11.80
4 Newcastle Falcons vs. Worcester Warriors Nov 28 Newcastle Falcons 12.50
5 Saracens vs. Sale Sharks Nov 28 Saracens 3.70
6 Wasps vs. Gloucester Nov 28 Wasps 9.30

 

Bunnings NPC 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
Tasman 9.50 10.71 -1.20
Auckland 8.62 7.95 0.70
Hawke’s Bay 7.81 4.07 3.70
Wellington 5.93 5.62 0.30
North Harbour 4.04 5.75 -1.70
Canterbury 3.57 6.44 -2.90
Taranaki 2.29 -4.52 6.80
Waikato 2.22 2.52 -0.30
Bay of Plenty 0.78 5.20 -4.40
Otago -3.99 -3.47 -0.50
Northland -9.00 -4.75 -4.20
Manawatu -9.14 -14.72 5.60
Counties Manukau -11.10 -10.22 -0.90
Southland -11.34 -10.39 -1.00

 

Performance So Far

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

Game Date Score Prediction Correct
1 Bay of Plenty vs. Northland Nov 03 22 – 14 15.20 TRUE
2 Waikato vs. Otago Nov 05 27 – 25 11.00 TRUE
3 Tasman vs. Wellington Nov 06 34 – 22 6.00 TRUE
4 Canterbury vs. Bay of Plenty Nov 06 40 – 28 5.00 TRUE
5 Taranaki vs. Southland Nov 07 24 – 10 17.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 Manawatu vs. Otago Nov 12 Otago -1.60
2 Taranaki vs. Southland Nov 13 Taranaki 17.10
3 Hawke’s Bay vs. Tasman Nov 13 Hawke’s Bay 1.80
4 Waikato vs. Canterbury Nov 13 Waikato 2.10

 

November 2, 2021

Top 14 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
Stade Toulousain 8.85 6.83 2.00
La Rochelle 7.06 6.78 0.30
Bordeaux-Begles 6.82 5.42 1.40
Racing-Metro 92 5.71 6.13 -0.40
Lyon Rugby 5.13 4.15 1.00
Clermont Auvergne 4.43 5.09 -0.70
Montpellier 2.74 -0.01 2.70
Stade Francais Paris 0.19 1.20 -1.00
RC Toulonnais -0.49 1.82 -2.30
Castres Olympique -0.52 0.94 -1.50
Section Paloise -2.37 -2.25 -0.10
Brive -2.69 -3.19 0.50
Biarritz -3.46 -2.78 -0.70
USA Perpignan -4.05 -2.78 -1.30

 

Performance So Far

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

Game Date Score Prediction Correct
1 Bordeaux-Begles vs. Clermont Auvergne Oct 31 25 – 9 8.10 TRUE
2 Castres Olympique vs. Brive Oct 31 23 – 22 9.50 TRUE
3 Montpellier vs. Lyon Rugby Oct 31 30 – 8 2.90 TRUE
4 Racing-Metro 92 vs. Stade Toulousain Oct 31 27 – 18 2.70 TRUE
5 Section Paloise vs. Stade Francais Paris Oct 31 18 – 9 3.40 TRUE
6 RC Toulonnais vs. Biarritz Oct 31 13 – 9 10.10 TRUE
7 USA Perpignan vs. La Rochelle Oct 31 22 – 13 -5.60 FALSE

 

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 La Rochelle vs. Bordeaux-Begles Nov 06 La Rochelle 6.70
2 Brive vs. Racing-Metro 92 Nov 07 Racing-Metro 92 -1.90
3 Lyon Rugby vs. Castres Olympique Nov 07 Lyon Rugby 12.20
4 Section Paloise vs. Biarritz Nov 07 Section Paloise 7.60
5 Stade Francais Paris vs. Montpellier Nov 07 Stade Francais Paris 4.00
6 Stade Toulousain vs. USA Perpignan Nov 07 Stade Toulousain 19.40
7 Clermont Auvergne vs. RC Toulonnais Nov 08 Clermont Auvergne 11.40