Posts from February 2022 (24)

February 25, 2022

What are the odds?

Stuff (from the Sydney Morning Herald) reports that a baby was born at exact 2:22 and 22 seconds on February 22nd. An Australian maths professor is quoted as saying

“It’s about 1 in 30 million is the chance of being born at that precise second,”

Maths nerds will recognise that as the number of seconds in a year (roughly π times ten million), and music nerds will remember 525,600 as the number of  minutes in a year and multiply by 60.  So, 1 in 30 million is the chance of picking a particular second if you pick one randomly from a year. It seems a bit strange to give that as the answer for the baby’s chance of being born at that precise time.

If you had picked this specific baby, Bodhi, in advance, his chance of being born at a particular second depends on how much variation there is in birth times.  They’re roughly a Normal distribution with a standard deviation of 16 days, and it turns out this gives a chance of about 2.5% of being born five days early and so about one in 3.6 million of being born in a particular second on that fifth day early.

But we didn’t pick this specific baby in advance and look at when he was born. We picked the time and looked for the baby. There are nearly 300,000 births per year in Australia; about one per 100 seconds.  There would be about a 1 in 100 chance that some baby in Australia is born at one particular second.

So far we’ve been saying there’s one particular second. But the baby was born at 14:22:22 and presumably 02:22:22 would have done just as well. Or maybe 22:02:22 or 22:22:22.  It’s not really one special second in the day.  And on top of that, a baby isn’t really born at a single second — there’s at least a small amount of flexibility in how you define the time, and you know someone is going to take advantage of the flexibility.  What would be really surprising would be a birth recorded as 2:22:19pm on 22/2/2022.

February 22, 2022

United Rugby Championship Predictions for Week 16

Team Ratings for Week 16

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 14.91 14.79 0.10
Munster 9.97 10.69 -0.70
Ulster 8.10 7.41 0.70
Glasgow 4.52 3.69 0.80
Edinburgh 3.42 2.90 0.50
Stormers 2.89 0.00 2.90
Connacht 2.25 1.72 0.50
Bulls 1.55 3.65 -2.10
Sharks 1.42 -0.07 1.50
Ospreys 0.10 0.94 -0.80
Cardiff Rugby -0.93 -0.11 -0.80
Scarlets -1.93 -0.77 -1.20
Benetton -2.65 -4.50 1.80
Lions -4.43 -3.91 -0.50
Dragons -6.85 -6.92 0.10
Zebre -16.31 -13.47 -2.80

 

Performance So Far

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

Game Date Score Prediction Correct
1 Munster vs. Edinburgh Feb 19 34 – 20 12.80 TRUE
2 Glasgow vs. Benetton Feb 20 13 – 3 14.50 TRUE
3 Leinster vs. Ospreys Feb 20 29 – 7 21.20 TRUE
4 Scarlets vs. Connacht Feb 20 23 – 29 3.40 FALSE
5 Dragons vs. Ulster Feb 21 0 – 12 -7.70 TRUE

 

Predictions for Week 16

Here are the predictions for Week 16. 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 Leinster vs. Lions Feb 26 Leinster 25.80
2 Zebre vs. Bulls Feb 26 Bulls -11.40
3 Benetton vs. Sharks Feb 27 Benetton 2.40
4 Connacht vs. Stormers Feb 27 Connacht 5.90

 

Top 14 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
La Rochelle 6.76 6.78 -0.00
Bordeaux-Begles 6.33 5.42 0.90
Stade Toulousain 6.12 6.83 -0.70
Racing-Metro 92 5.55 6.13 -0.60
Lyon Rugby 4.94 4.15 0.80
Clermont Auvergne 4.34 5.09 -0.80
Montpellier 4.27 -0.01 4.30
Stade Francais Paris 1.74 1.20 0.50
Castres Olympique 1.45 0.94 0.50
RC Toulonnais -0.23 1.82 -2.00
Section Paloise -1.74 -2.25 0.50
Brive -3.27 -3.19 -0.10
USA Perpignan -3.30 -2.78 -0.50
Biarritz -5.60 -2.78 -2.80

 

Performance So Far

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

Game Date Score Prediction Correct
1 Brive vs. Montpellier Feb 20 16 – 16 -1.20 FALSE
2 Castres Olympique vs. Lyon Rugby Feb 20 19 – 17 3.10 TRUE
3 La Rochelle vs. Clermont Auvergne Feb 20 31 – 27 9.50 TRUE
4 Section Paloise vs. Stade Toulousain Feb 20 27 – 22 -2.10 FALSE
5 Stade Francais Paris vs. Biarritz Feb 20 65 – 19 11.80 TRUE
6 RC Toulonnais vs. USA Perpignan Feb 20 29 – 18 9.40 TRUE
7 Bordeaux-Begles vs. Racing-Metro 92 Feb 21 13 – 16 8.10 FALSE

 

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 Brive vs. RC Toulonnais Feb 27 Brive 3.50
2 Clermont Auvergne vs. USA Perpignan Feb 27 Clermont Auvergne 14.10
3 Lyon Rugby vs. Biarritz Feb 27 Lyon Rugby 17.00
4 Montpellier vs. Stade Francais Paris Feb 27 Montpellier 9.00
5 Racing-Metro 92 vs. Castres Olympique Feb 27 Racing-Metro 92 10.60
6 Section Paloise vs. La Rochelle Feb 27 La Rochelle -2.00
7 Stade Toulousain vs. Bordeaux-Begles Feb 27 Stade Toulousain 6.30

 

Super Rugby Predictions for Week 2

Team Ratings for Week 2

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 13.82 13.43 0.40
Blues 9.26 9.26 -0.00
Hurricanes 7.89 8.28 -0.40
Chiefs 6.43 5.56 0.90
Highlanders 5.68 6.54 -0.90
Brumbies 3.14 3.61 -0.50
Reds 1.80 1.37 0.40
Western Force -4.49 -4.96 0.50
Rebels -6.21 -5.79 -0.40
Waratahs -7.83 -9.00 1.20
Moana Pasifika -10.00 -10.00 0.00
Fijian Drua -11.17 -10.00 -1.20

 

Performance So Far

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

Game Date Score Prediction Correct
1 Waratahs vs. Fijian Drua Feb 18 40 – 10 6.50 TRUE
2 Chiefs vs. Highlanders Feb 19 26 – 16 -6.50 FALSE
3 Crusaders vs. Hurricanes Feb 19 42 – 32 5.20 TRUE
4 Reds vs. Rebels Feb 19 23 – 5 12.70 TRUE
5 Brumbies vs. Western Force Feb 19 29 – 23 14.10 TRUE

 

Predictions for Week 2

Here are the predictions for Week 2. 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 Chiefs vs. Moana Pasifika Feb 25 Chiefs 16.40
2 Waratahs vs. Reds Feb 25 Reds -4.10
3 Brumbies vs. Fijian Drua Feb 26 Brumbies 19.80
4 Highlanders vs. Crusaders Feb 26 Crusaders -2.60
5 Rebels vs. Western Force Feb 26 Rebels 3.80
6 Blues vs. Hurricanes Feb 27 Blues 1.40

 

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
Saracens 4.44 -5.00 9.40
Exeter Chiefs 3.63 7.35 -3.70
Sale Sharks 3.49 4.96 -1.50
Leicester Tigers 2.47 -6.14 8.60
Wasps 2.29 5.66 -3.40
Gloucester 1.54 -1.02 2.60
Harlequins 0.24 -1.08 1.30
Northampton Saints -0.08 -2.48 2.40
London Irish -2.50 -8.05 5.50
Bristol -3.17 1.28 -4.50
Bath -6.41 2.14 -8.50
Newcastle Falcons -7.24 -3.52 -3.70
Worcester Warriors -10.32 -5.71 -4.60

 

Performance So Far

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

Game Date Score Prediction Correct
1 Bath vs. Leicester Tigers Feb 20 20 – 24 -4.40 TRUE
2 Harlequins vs. Wasps Feb 20 29 – 24 2.00 TRUE
3 London Irish vs. Saracens Feb 20 32 – 30 -3.10 FALSE
4 Newcastle Falcons vs. Exeter Chiefs Feb 20 14 – 15 -7.10 TRUE
5 Northampton Saints vs. Sale Sharks Feb 20 21 – 22 1.30 FALSE
6 Worcester Warriors vs. Bristol Feb 20 19 – 14 -3.60 FALSE

 

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 Bristol vs. Wasps Feb 27 Wasps -1.00
2 Leicester Tigers vs. Gloucester Feb 27 Leicester Tigers 5.40
3 Newcastle Falcons vs. Bath Feb 27 Newcastle Falcons 3.70
4 Northampton Saints vs. Exeter Chiefs Feb 27 Northampton Saints 0.80
5 Sale Sharks vs. London Irish Feb 27 Sale Sharks 10.50
6 Worcester Warriors vs. Harlequins Feb 27 Harlequins -6.10

 

Currie Cup Predictions for Round 5

Team Ratings for Round 5

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
Bulls 7.21 7.25 -0.00
Sharks 4.56 4.13 0.40
Cheetahs 0.89 -2.70 3.60
Western Province -0.15 1.42 -1.60
Griquas -2.72 -4.92 2.20
Pumas -3.44 -3.31 -0.10
Lions -6.35 -1.88 -4.50

 

Performance So Far

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

Game Date Score Prediction Correct
1 Griquas vs. Western Province Feb 19 22 – 20 1.90 TRUE
2 Pumas vs. Cheetahs Feb 19 17 – 28 2.30 FALSE
3 Lions vs. Sharks Feb 20 31 – 45 -4.80 TRUE

 

Predictions for Round 5

Here are the predictions for Round 5. 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 Pumas vs. Sharks Mar 05 Sharks -3.50
2 Griquas vs. Bulls Mar 05 Bulls -5.40
3 Cheetahs vs. Lions Mar 06 Cheetahs 11.70

 

February 21, 2022

Is the vaccine still working?

Back in November, I wrote

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.

The issue was that during the Auckland Delta outbreak, unvaccinated people were probably more likely to be exposed to Covid than vaccinated people, and this was exaggerating the (real, but smaller) benefit of the vaccine.

Things have changed. The case diagnoses for vaccinated and unvaccinated people are about equal as a proportion of the population.  Partly this is because the vaccine is less effective against infection with Omicron, but now I think the social factors may well be leading to an underestimate of the vaccine benefit.  The point of the traffic-light system was to reduce virus exposure for unvaccinated people, both so they would be less likely to pass the virus on and so they’d be less likely to end up in hospital.  Reports in the news about unvaccinated people and about businesses that don’t like the system suggest that it does at least reduce the presence of unvaccinated adults in crowded indoor public settings.  You could reasonably expect, then, that unvaccinated adults are less exposed than vaccinated adults and that their equal case rate shows the vaccine is working.

In the absence of any other information it would be hard to decide how much to believe this explanation, but we do have other information. Other countries, with more cases and more data, have better estimates of the benefit of the vaccine than you can get from the published NZ data.  The vaccine does reduce infections with Omicron.  It doesn’t work as well as it did against Delta, and the benefit falls off more rapidly with time, but there is a benefit.   From the overseas data we’d expect the vaccine to working in New Zealand too, and the data we have are consistent with that expectation.

Even if we weren’t preventing cases of Omicron, there are at least two arguments for continuing to have vaccine rules. First, Delta is not actually gone — it’s still 5-7% of sequenced cases in MIQ and the community. It’s a small *fraction* of the outbreak, but the numbers haven’t gone down much. Second,  hospitalisation matters. As you may remember, we had hospitals even before Covid.  They’re important for treating everything from cancer to car crashes.  Keeping them available for non-Covid uses has always been a key motivation of the Covid strategy.

The numbers don’t decide anything; whether to change the rules is a policy question. But the inputs to policy should be the best estimates we can get of vaccine effectiveness, not the crude case counts.

February 16, 2022

Briefly

  • Stats NZ had to take down NZ.Stat, one of the main public interfaces to official statistics.  They’re being very helpful by email to people who need the data, but it’s a problem — and it’s not really the right interface for people who just wanted to look up a few numbers.  Eric Crampton wrote about why this matters (feel free to ignore the comments about wellbeing indicators)
  • The NZ Open Source Assocation awards include one to the Ministry of Health for the Covid trace app, and to the University of Auckland Computational Evolution group for their phylogenetic inference software, BEAST
  • Measuring things you don’t have any real way to interpret, from XKCD
  • “Creepiness” Is the Wrong Way to Think About Privacy from Slate. It’s a useful heuristic, but it’s not an analysis.  As an illustration of how intuitions can be non-generalisable, the chair of George W. Bush’s bioethics council thought eating ice-cream in public was offensive.
  • The power of selection bias: “In a series of tweets with an authentic February 7 timestamp, the self-described “industry insider working deep within Nintendo” showed an apparently deep foreknowledge of details that Nintendo wouldn’t officially reveal until the evening of February 9, two days later.”. He did it by making lots of predictions and then deleting all the ones that didn’t pan out.
  • Tim Harford explains Arrow’s Impossibility Theorem: it’s hard to take a set of individual preferences and turn them into a group decision
February 15, 2022

United Rugby Championship Predictions for Week 15

Team Ratings for Week 15

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 14.84 14.79 0.00
Munster 9.87 10.69 -0.80
Ulster 7.71 7.41 0.30
Glasgow 4.92 3.69 1.20
Edinburgh 3.53 2.90 0.60
Stormers 2.89 0.00 2.90
Connacht 1.71 1.72 -0.00
Bulls 1.55 3.65 -2.10
Sharks 1.42 -0.07 1.50
Ospreys 0.18 0.94 -0.80
Cardiff Rugby -0.93 -0.11 -0.80
Scarlets -1.39 -0.77 -0.60
Benetton -3.05 -4.50 1.40
Lions -4.43 -3.91 -0.50
Dragons -6.46 -6.92 0.50
Zebre -16.31 -13.47 -2.80

 

Performance So Far

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

Game Date Score Prediction Correct
1 Leinster vs. Edinburgh Feb 12 26 – 7 17.50 TRUE
2 Glasgow vs. Munster Feb 12 13 – 11 1.40 TRUE
3 Lions vs. Stormers Feb 13 10 – 32 -0.20 TRUE
4 Bulls vs. Sharks Feb 13 22 – 29 6.60 FALSE

 

Predictions for Week 15

Here are the predictions for Week 15. 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 Cardiff Rugby vs. Zebre Feb 19 Cardiff Rugby 21.90
2 Munster vs. Edinburgh Feb 19 Munster 12.80
3 Glasgow vs. Benetton Feb 20 Glasgow 14.50
4 Leinster vs. Ospreys Feb 20 Leinster 21.20
5 Scarlets vs. Connacht Feb 20 Scarlets 3.40
6 Dragons vs. Ulster Feb 21 Ulster -7.70

 

Top 14 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
La Rochelle 7.03 6.78 0.20
Bordeaux-Begles 6.71 5.42 1.30
Stade Toulousain 6.48 6.83 -0.30
Racing-Metro 92 5.16 6.13 -1.00
Lyon Rugby 4.88 4.15 0.70
Montpellier 4.33 -0.01 4.30
Clermont Auvergne 4.07 5.09 -1.00
Castres Olympique 1.51 0.94 0.60
Stade Francais Paris 0.73 1.20 -0.50
RC Toulonnais -0.31 1.82 -2.10
Section Paloise -2.10 -2.25 0.10
USA Perpignan -3.22 -2.78 -0.40
Brive -3.32 -3.19 -0.10
Biarritz -4.60 -2.78 -1.80

 

Performance So Far

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

Game Date Score Prediction Correct
1 Brive vs. Clermont Auvergne Dec 27 27 – 20 -1.30 FALSE
2 Racing-Metro 92 vs. Section Paloise Dec 27 35 – 29 13.30 TRUE
3 Stade Toulousain vs. Stade Francais Paris Dec 27 28 – 29 14.70 FALSE
4 RC Toulonnais vs. Bordeaux-Begles Dec 27 21 – 18 -1.10 FALSE

 

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 Brive vs. Montpellier Feb 20 Montpellier -1.20
2 Castres Olympique vs. Lyon Rugby Feb 20 Castres Olympique 3.10
3 La Rochelle vs. Clermont Auvergne Feb 20 La Rochelle 9.50
4 Section Paloise vs. Stade Toulousain Feb 20 Stade Toulousain -2.10
5 Stade Francais Paris vs. Biarritz Feb 20 Stade Francais Paris 11.80
6 RC Toulonnais vs. USA Perpignan Feb 20 RC Toulonnais 9.40
7 Bordeaux-Begles vs. Racing-Metro 92 Feb 21 Bordeaux-Begles 8.10