September 7, 2020

Are we number two on COVID?

If you’ve been paying attention to the news you might have read that Forbes ranked NZ second in the world for COVID safety. If you chose more careful news sources, that you might instead have read that Forbes published a story about COVID safety ranking constructed by a company called Deep Knowledge Group.  It’s their second try; they published the first round in June.  And, of course, you might remember stories from the Before Times about New Zealand’s  poor ranking on the Global Health Security Index.

So, which of these indexes are right and which ones are wrong? It turns out that’s the wrong question, just as it is about rankings  of the most liveable city. These rankings aren’t trying to be predictive in a way that makes ‘right’ and ‘wrong’ objectively assessable.  What happens is that a group of people gathers together a whole lot of measurements.  These measurements range from ‘good’ to ‘bad’ on some scale. Points get awarded for how close you are to ‘good’ on each measurement and then added up. The experts then look at the rankings they got out, and probably adjust the points a bit to  make them look more plausible — there’s nothing wrong with this; the experts’ judgment is where there’s potentially value added by having this index.

There is a technical problem with reducing things to a sum of numbers in this way — and I say that as someone who likes numbers. We might all agree that, say, willingness to follow mask recommendations is positive, and that having a policy of mask recommendations when appropriate is positive. But these don’t add up: you need both of them.   Being more willing to follow government advice to wear masks does no good if the government is not giving that advice; having the government give the advice does no good if it isn’t followed.  You can’t represent A AND B as a weighted sum.  Weighted sums are a very limited subset of ways of combining ordered scales.

It’s clear how much opinion goes into the index construction when you see that the Global Health Security Index and the new COVID index share only two countries in their top ten: Australia and South Korea.  The United States and the UK top the GHS Index; Germany and NZ top the Deep one.  The real question is whether the indexes are useful, and they probably are — or, more precisely, whether the reports surrounding the indexes are useful, where the experts talk about the ways countries differ and their strengths and weaknesses.

If you wanted to think of the indexes as predictive, you’d want to look at the June edition and see how it’s fared.  Most of the top ten have done ok, but Israel, at number 3,  has had a bad few months, and now has 27,000 active cases in a country with less than twice the population of New Zealand.  They have been demoted to number 11: four places ahead of Taiwan, 21 ahead of Vietnam, and 83 ahead of Mongolia.

The index and its surrounding report contain useful information; for example they identify (admittedly with 2020 hindsight) the importance of political will to act and social acceptance of restrictions.  The ranking of NZ as the second-safest country is only meaningful if you don’t interpret ‘safest’ in some crudely reductive way as referring to the likely number of cases or hospitalisations or deaths.

September 5, 2020

How could we get a vaccine by November?

There are about forty COVID vaccine candidates now, with several heading to Phase 3 trials.   The  CDC has suggested there could be a vaccine before the US presidential election. How could that happen? There’s one obvious answer, sadly, but how else could it happen?

The FDA has said it would expect that a COVID-19 vaccine would prevent disease or decrease its severity in at least 50% of people who are vaccinated.  In the current circumstances, if your vaccine was that effective it would be false economy to run a trial that was too small — you’d want to be very confident of a positive result if your vaccine met the mark.

You might design a trial that ran until you had seen, say, 150 infections or symptomatic cases or whatever. If you ended up with a split of 50 vs 100, you’d estimate a 50% reduction with the vaccine, and the uncertainty interval (‘margin of error’) in would stretch to a 30% reduction, which correspond to the FDA’s guidance.   Only 150 cases perhaps doesn’t sound like much, but remember that at a very high infection rate of 1% you’d need 10,000 people in the control group and the same number in the treatment group. That’s a big trial.

It’s possible, though, that your vaccine is much better than just a 50% reduction in cases. If it actually prevents 90% of cases, you could have run a much smaller trial, at lower cost, finished earlier, and saved more lives.  On the other hand, if you ran the smaller trial and the effectiveness is only 50%, you are in big trouble — you won’t get approved, but you’ll find it harder to run another trial.

So, what we do is to set up a big trial that can detect a 50% benefit, and peek at the data part of the way through.  If the vaccine turns out to be 90% effective, you’ll be able to stop earlier than planned and declare victory.  You’ll still have recruited more people than if you were betting everything on 90% effectiveness, but you won’t be betting everything on 90% effectiveness.

Stopping early requires strong evidence.  It requires strong evidence because it’s easy to get fooled by randomness in early trends. It requires strong evidence because early stopping means less data on safety. And it  requires strong evidence because people are going to suspect political interference.  One popular guideline for designing early-stopping rules, to give us something concrete to look at, says that you take margin you’d need to be convinced at the end of the trial, and use that margin earlier on.  In our hypothetical example, we had 50 cases difference as the success criterion at the end of the trial, so you’d look for 50 cases difference at earlier timepoints as well.  That’s a much bigger relative difference early on:  if you only had 100 cases, a difference of 50 is 25 vs 75; with only 60 cases, it’s 5 vs 55.

My understanding is that a 90%-effective vaccine would be surprising, but not inconceivable and a 70%-effective vaccine isn’t at all unlikely, so interim analysis and the potential for early stopping do make sense.  Political interference doesn’t help, though: even more than most drugs, a vaccine only counts as effective if lots of people are willing to take it, and a trial that doesn’t engender that willingness is a failure no matter the statistical results.

September 4, 2020

Briefly

September 1, 2020

Perceptions of the level 3 alert in Auckland

There’s an interesting poll in the NZ$ Herald asking whether the four-day extension to the Auckland level 3 ‘lockdown-lite’ was appropriate or not. Here’s a graph of the regional results (excluding the worryingly-small fration of “don’t knows”). The purples are ‘yes, should have been extended’, with the light purple being ‘the four day extension was appropriate’ and the dark being ‘longer would have been better’. The oranges are ‘no, should not’, with the light orange being ‘should not have been extended’ and the dark being ‘should not have happened at all’

As you can see, there’s pretty strong consensus across the country.  You’d expect people outside Auckland, who get the benefits but with less of the cost, to want tighter restrictions, and the patterns seem to fit that.

The Herald also explores differences by age, gender, and income. It’s hard to say anything too strong about many of the differences, because we’re only quoted a margin of error for the whole survey, not for any of the subgroups.  In some cases I can work it out: if Auckland and Canterbury were represented in the sample in proportion to their actual population sizes, the difference between the purple bars would be right about at the margin of error.  In general, though, the overall margin of error is pretty useless for most of what makes the story interesting.

Oh, and also.

Auckland is strongly divided over whether extending the lockdown was an appropriate response to the resurgence of Covid-19, a new poll shows.

But the exclusive new poll shows rest of the country was far more accepting of the Super City being kept in alert level 3 for almost three weeks – with many wanting it extended even longer.

Emphasis added.

No. That’s really not what the poll says

Super Rugby Australia Predictions for Round 10

Team Ratings for Round 10

As an indication of the care needed at present in determining home ground advantage, the comprehensive scores site flashscore.com.au still has the Rebels v Waratahs game as being played in Melbourne. (Click on the match result to see the scorers and times and match details at the bottom.) Fortunately I checked beforehand that it was to be played in Sydney so I gave the Waratahs home ground advantage and predicted them to win. Otherwise I would have predicted the Rebels, even if played on a neutral ground.

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
Brumbies 2.90 4.67 -1.80
Reds 0.41 -0.31 0.70
Rebels -3.26 -5.52 2.30
Waratahs -4.64 -7.12 2.50
Force -13.69 -10.00 -3.70

 

Performance So Far

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

Game Date Score Prediction Correct
1 Brumbies vs. Force Aug 28 31 – 14 22.00 TRUE
2 Waratahs vs. Rebels Aug 29 38 – 32 2.50 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 Rebels vs. Force Sep 04 Rebels 10.40
2 Reds vs. Brumbies Sep 05 Reds 2.00

 

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 11.90 7.99 3.90
Saracens 8.31 9.34 -1.00
Sale Sharks 6.97 0.17 6.80
Wasps 2.25 0.31 1.90
Bath 0.62 1.10 -0.50
Gloucester 0.27 0.58 -0.30
Bristol -0.21 -2.77 2.60
Northampton Saints -1.79 0.25 -2.00
Harlequins -1.83 -0.81 -1.00
Leicester Tigers -4.85 -1.76 -3.10
Worcester Warriors -7.31 -2.69 -4.60
London Irish -8.13 -5.51 -2.60

 

Performance So Far

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

Game Date Score Prediction Correct
1 Sale Sharks vs. Bristol Aug 30 40 – 7 9.30 TRUE
2 Harlequins vs. Northampton Saints Aug 30 30 – 17 3.40 TRUE
3 Exeter Chiefs vs. Worcester Warriors Aug 31 59 – 7 20.70 TRUE
4 Gloucester vs. Leicester Tigers Aug 31 46 – 30 8.80 TRUE
5 London Irish vs. Saracens Aug 31 12 – 40 -10.10 TRUE
6 Bath vs. Wasps Sep 01 23 – 27 3.80 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 Worcester Warriors vs. Bristol Sep 05 Bristol -2.60
2 Northampton Saints vs. Exeter Chiefs Sep 05 Exeter Chiefs -9.20
3 Saracens vs. Wasps Sep 05 Saracens 10.60
4 Harlequins vs. Bath Sep 05 Harlequins 2.10
5 Leicester Tigers vs. Sale Sharks Sep 06 Sale Sharks -7.30
6 Gloucester vs. London Irish Sep 06 Gloucester 12.90

 

Pro14 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
Leinster 16.57 12.20 4.40
Munster 11.14 10.73 0.40
Glasgow Warriors 6.87 9.66 -2.80
Edinburgh 4.28 1.24 3.00
Ulster 3.66 1.89 1.80
Scarlets 3.16 3.91 -0.70
Connacht 0.34 2.68 -2.30
Cardiff Blues -0.36 0.54 -0.90
Cheetahs -0.46 -3.38 2.90
Ospreys -3.38 2.80 -6.20
Treviso -4.11 -1.33 -2.80
Dragons -8.03 -9.31 1.30
Zebre -14.76 -16.93 2.20
Southern Kings -14.92 -14.70 -0.20

 

Performance So Far

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

Game Date Score Prediction Correct
1 Glasgow Warriors vs. Edinburgh Aug 29 15 – 3 6.60 TRUE
2 Dragons vs. Scarlets Aug 30 20 – 41 -4.90 TRUE
3 Ulster vs. Leinster Aug 30 10 – 28 -6.90 TRUE
4 Munster vs. Connacht Aug 31 49 – 12 14.20 TRUE
5 Cardiff Blues vs. Ospreys Aug 31 29 – 20 7.80 TRUE
6 Zebre vs. Treviso Aug 31 9 – 16 -5.40 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 Leinster vs. Munster Sep 05 Leinster 10.40
2 Edinburgh vs. Ulster Sep 06 Edinburgh 7.10

 

NRL Predictions for Round 17

Team Ratings for Round 17

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 14.51 12.73 1.80
Roosters 11.84 12.25 -0.40
Panthers 6.74 -0.13 6.90
Raiders 6.11 7.06 -0.90
Rabbitohs 5.64 2.85 2.80
Eels 3.83 2.80 1.00
Sharks 1.01 1.81 -0.80
Knights -1.67 -5.92 4.30
Warriors -3.03 -5.17 2.10
Sea Eagles -3.11 1.05 -4.20
Wests Tigers -3.24 -0.18 -3.10
Dragons -4.11 -6.14 2.00
Bulldogs -6.27 -2.52 -3.80
Cowboys -7.18 -3.95 -3.20
Titans -10.99 -12.99 2.00
Broncos -12.07 -5.53 -6.50

 

Performance So Far

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

Game Date Score Prediction Correct
1 Eels vs. Rabbitohs Aug 27 0 – 38 3.50 FALSE
2 Dragons vs. Titans Aug 28 10 – 14 10.40 FALSE
3 Roosters vs. Broncos Aug 28 58 – 12 23.90 TRUE
4 Knights vs. Warriors Aug 29 6 – 36 9.00 FALSE
5 Sharks vs. Cowboys Aug 29 28 – 12 9.40 TRUE
6 Panthers vs. Wests Tigers Aug 29 30 – 6 10.60 TRUE
7 Storm vs. Sea Eagles Aug 30 30 – 6 16.70 TRUE
8 Raiders vs. Bulldogs Aug 30 34 – 20 14.50 TRUE

 

Predictions for Round 17

Here are the predictions for Round 17. 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 Broncos vs. Panthers Sep 03 Panthers -16.80
2 Knights vs. Sharks Sep 04 Sharks -0.70
3 Rabbitohs vs. Storm Sep 04 Storm -6.90
4 Bulldogs vs. Titans Sep 05 Bulldogs 6.70
5 Sea Eagles vs. Wests Tigers Sep 05 Sea Eagles 2.10
6 Raiders vs. Roosters Sep 05 Roosters -3.70
7 Eels vs. Warriors Sep 06 Eels 11.40
8 Cowboys vs. Dragons Sep 06 Dragons -1.10

 

August 30, 2020

Rugby Premiership Predictions for Round 17

Team Ratings for Round 17

I got caught out a bit this round with games being played earlier in the week and then again on the weekend. As usual my predictions are what they would have been before the games were played, the predictions are produced by running my algorithm over the past data and information about home grounds.

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.41 7.99 2.40
Saracens 7.39 9.34 -1.90
Sale Sharks 5.79 0.17 5.60
Wasps 1.79 0.31 1.50
Bath 1.08 1.10 -0.00
Bristol 0.96 -2.77 3.70
Gloucester -0.16 0.58 -0.70
Northampton Saints -1.24 0.25 -1.50
Harlequins -2.38 -0.81 -1.60
Leicester Tigers -4.42 -1.76 -2.70
Worcester Warriors -5.81 -2.69 -3.10
London Irish -7.20 -5.51 -1.70

 

Performance So Far

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

Game Date Score Prediction Correct
1 Wasps vs. Sale Sharks Aug 26 11 – 20 1.70 FALSE
2 Bristol vs. Exeter Chiefs Aug 26 22 – 25 -5.30 TRUE
3 Leicester Tigers vs. London Irish Aug 27 13 – 7 7.50 TRUE
4 Saracens vs. Gloucester Aug 27 36 – 20 11.50 TRUE
5 Worcester Warriors vs. Harlequins Aug 27 29 – 14 -0.60 FALSE
6 Northampton Saints vs. Bath Aug 27 3 – 18 4.20 FALSE

 

Predictions for Round 17

Here are the predictions for Round 17. 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 Sale Sharks vs. Bristol Aug 30 Sale Sharks 9.30
2 Harlequins vs. Northampton Saints Aug 30 Harlequins 3.40
3 Exeter Chiefs vs. Worcester Warriors Aug 31 Exeter Chiefs 20.70
4 Gloucester vs. Leicester Tigers Aug 31 Gloucester 8.80
5 London Irish vs. Saracens Aug 31 Saracens -10.10
6 Bath vs. Wasps Sep 01 Bath 3.80

 

August 29, 2020

Be a lert but not alarmed

Auckland is going back to level 2 (God willing and the creek don’t rise) on Monday.  Together with my local circle of health and stats nerds, I’m viewing this with some concern. It hasn’t been very long since we had a case show up with no previously known contact to the cluster. Like, Tuesday.  It’s quite possible there are still a few other people in the cluster who haven’t been found yet.

The concern is not that it will actually be dangerous on Monday to be going to work or going shopping. The number of undetected cases will be small; your chance of getting infected on Monday is tiny.  The problem is, as long as there are undetected, infectious cases, your chance of getting infected on Tuesday is very slightly higher. And slightly higher again on Wednesday, and so on in exponential increase. Eventually, it may get dangerous, and  stopping it then is much more costly in health and freedom and money.  In Victoria today they are talking  about the psychological boost of getting a day with less than 100 new cases. If we’re careful and lucky, the current testing and tracing will be enough to stop this cluster exploding; if we’re not, maybe not.

One challenge in COVID risk communication is that the risk is longer-term and social, not immediate and individual. It’s important that as many  people as possible take precautions against spreading the virus: distancing, masks, getting tested if you have symptoms, working from home if that’s feasible, avoiding places with poor ventilation. But it’s not so much important for your or your family’s immediate safety: the risk is currently very low. If someone jogs past you at close range without a mask or stands a bit too close in  a supermarket line, you don’t need to panic — you almost certainly won’t catch the coronavirus. On the other hand, the more people behave that way, the more chance that they outbreak will slowly get out of control.  The appropriate level of care is a lot higher than the appropriate level of fear.

Ideally, everyone would be as careful as if the virus was everywhere, but nowhere near as scared as if it was everywhere. That’s a very difficult balance, and a reason for the ‘be kind’  message when it doesn’t quite work out.