Posts from December 2021 (17)

December 31, 2021

Top non-rugby posts of the year

(The rugby prediction posts, while popular, are most interesting before the games actually happen: predicting the past is relatively easy)

First, the posts, regardless of year of writing, with most 2021 hits

  1.  What’s a Group 1 Carcinogen? (2013) Points out that the IARC classification is not about severity or danger but about the types and amounts of evidence. Sunlight is a Group 1 Carcinogen, so are alcohol and plutonium.
  2. A post about a Lotto strategy that doesn’t work(2012), as an argument about the usefulness of abstract theory. See also, the martingale optional stopping theorem
  3. A climate change post about graphs that shouldn’t have a zero on the y-axis(2015)
  4. From October 2020, but relevant to the news again in March this year, on crime rates in the Cuba/Courtenay area of Wellington and denominators
  5. Actually from July this year, one of the StatsChat Dialogues: Q: Did you see that learning maths can affect your brain? A: Well, yes. There wouldn’t be much point otherwise

And the top 2021-vintage posts

  1. Number 5 from the previous list
  2. From October, on interpreting vaccination percentages
  3. From April, why there’s so much fuss about very rare adverse reactions to vaccines (the AZ blood clots)
  4. From October, why population structure matters to epidemic control, aka, why we need to vaccinate every subgroup. Has pictures!
  5. From June, how a cap-and-trade system for (a subset of) emissions messes up our intuition about other climate interventions.

These are WordPress page views: their relationship to actual readership is complicated; keep in a cool, dry place away from children; may contain nuts.

December 30, 2021

When you have eliminated the impossible…

A gentleman who is Not New Zealand’s Favourite DJ has tested positive for Omicron on his 9th day in NZ, after prior negative tests.  It seems surprising that a positive test could take so long — one theory is that it’s the sort of sporadic positive you can get for a while after recovery.  On the other hand, it’s worth thinking about why it’s surprising.  New Zealand keeps seeing strange Covid occurrences: long incubation period, transmission from very brief contact, and so on. Why us? It’s us because no-one else would be able to tell.

The normal assumption if a London DJ tests positive for Omicron on December 25 is that they got it in London a few days earlier. In this example, ‘a few days earlier’ means Waiheke Island and however he got there from MIQ;  in contrast to almost everywhere else in the world, Omicron isn’t circulating in Auckland.  The week before that he was in MIQ, so the next conclusion is that he got it there; unfortunate but not unprecedented. Without genome sequencing we’d stop there, but his viral genome doesn’t match any of the three he could potentially have picked up in MIQ.  We’re now down to weird possibilities, and the least weird is that he was carrying it all the time. But if he was almost anywhere else in the world, we wouldn’t even be starting to think about the weird possibilities.

It’s fairly easy to estimate the low end of the time-to-positive-test distribution: someone goes to a party; a few days later there are twenty cases; you do the maths. To get the low end you need some cases where you’re sure they couldn’t have been infected before a specific exposure, because they weren’t exposed before then. At the start of an outbreak that’s fairly easy. To get the high end of the distribution you need some cases where you’re sure they couldn’t have been infected after a specific exposure. That’s a much less common scenario, so the data aren’t as good.

December 28, 2021

United Rugby Championship Predictions for Week 9

 

 

Team Ratings for Week 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
Leinster 15.38 14.79 0.60
Munster 10.95 10.69 0.30
Ulster 7.17 7.41 -0.20
Connacht 3.16 1.72 1.40
Edinburgh 3.04 2.90 0.10
Glasgow 2.98 3.69 -0.70
Bulls 1.98 3.65 -1.70
Sharks 0.97 -0.07 1.00
Ospreys 0.69 0.94 -0.20
Stormers 0.29 0.00 0.30
Cardiff Rugby -0.89 -0.11 -0.80
Scarlets -1.76 -0.77 -1.00
Lions -1.80 -3.91 2.10
Benetton -3.39 -4.50 1.10
Dragons -6.12 -6.92 0.80
Zebre -16.61 -13.47 -3.10

 

Performance So Far

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

Game Date Score Prediction Correct
1 Zebre vs. Benetton Dec 25 14 – 39 -6.40 TRUE

 

Predictions for Week 9

Here are the predictions for Week 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 Dragons vs. Cardiff Rugby Jan 02 Cardiff Rugby -0.20
2 Connacht vs. Munster Jan 02 Munster -2.80
3 Scarlets vs. Ospreys Jan 02 Scarlets 2.60
4 Ulster vs. Leinster Jan 02 Leinster -3.20
5 Benetton vs. Zebre Jan 03 Benetton 18.20
6 Edinburgh vs. Glasgow Jan 03 Edinburgh 5.10

 

Top 14 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
Stade Toulousain 8.35 6.83 1.50
La Rochelle 8.12 6.78 1.30
Bordeaux-Begles 7.40 5.42 2.00
Lyon Rugby 5.02 4.15 0.90
Clermont Auvergne 4.85 5.09 -0.20
Racing-Metro 92 4.01 6.13 -2.10
Montpellier 3.55 -0.01 3.60
Castres Olympique 0.94 0.94 -0.00
Stade Francais Paris 0.13 1.20 -1.10
RC Toulonnais -0.19 1.82 -2.00
Section Paloise -2.78 -2.25 -0.50
Brive -2.96 -3.19 0.20
USA Perpignan -4.46 -2.78 -1.70
Biarritz -4.62 -2.78 -1.80

 

Performance So Far

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

Game Date Score Prediction Correct
1 USA Perpignan vs. Castres Olympique Dec 27 19 – 20 1.30 FALSE
2 Biarritz vs. Montpellier Dec 28 12 – 27 -0.70 TRUE
3 La Rochelle vs. Lyon Rugby Dec 28 25 – 3 8.70 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 Clermont Auvergne vs. Stade Toulousain Jan 02 Clermont Auvergne 3.00
2 Stade Francais Paris vs. USA Perpignan Jan 02 Stade Francais Paris 11.10
3 Bordeaux-Begles vs. Biarritz Jan 03 Bordeaux-Begles 18.50
4 Castres Olympique vs. La Rochelle Jan 03 La Rochelle -0.70
5 Lyon Rugby vs. Racing-Metro 92 Jan 03 Lyon Rugby 7.50
6 Montpellier vs. RC Toulonnais Jan 03 Montpellier 10.20
7 Section Paloise vs. Brive Jan 03 Section Paloise 6.70

 

Rugby Premiership Predictions for Round 12

Team Ratings for Round 12

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.23 7.35 -2.10
Saracens 3.24 -5.00 8.20
Sale Sharks 1.98 4.96 -3.00
Wasps 1.85 5.66 -3.80
Harlequins 1.17 -1.08 2.20
Leicester Tigers 0.83 -6.14 7.00
Gloucester 0.75 -1.02 1.80
Northampton Saints -0.49 -2.48 2.00
Bristol -3.18 1.28 -4.50
Newcastle Falcons -4.01 -3.52 -0.50
London Irish -4.05 -8.05 4.00
Bath -5.00 2.14 -7.10
Worcester Warriors -9.93 -5.71 -4.20

 

Performance So Far

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

Game Date Score Prediction Correct
1 Bath vs. Gloucester Dec 27 20 – 40 0.90 FALSE
2 Bristol vs. Leicester Tigers Dec 27 26 – 28 1.00 FALSE
3 Harlequins vs. Northampton Saints Dec 27 41 – 27 5.10 TRUE
4 Saracens vs. Worcester Warriors Dec 27 61 – 29 16.00 TRUE
5 Wasps vs. London Irish Dec 27 38 – 30 10.80 TRUE

 

Predictions for Round 12

Here are the predictions for Round 12. 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 Exeter Chiefs vs. Bristol Jan 02 Exeter Chiefs 12.90
2 Sale Sharks vs. Wasps Jan 02 Sale Sharks 4.60
3 Gloucester vs. Harlequins Jan 03 Gloucester 4.10
4 Leicester Tigers vs. Newcastle Falcons Jan 03 Leicester Tigers 9.30
5 Northampton Saints vs. Saracens Jan 03 Northampton Saints 0.80
6 London Irish vs. Bath Jan 04 London Irish 5.40

 

December 27, 2021

Briefly

  • Arithmetic fail by Bloomberg Australia: 126 cases over two days is not ‘more than double’ 62 cases in one day.

    They’ve since edited to “N.Z. Adds 126 Cases in 2 Days…New Zealand’s daily toll of new local infections has risen from the 62 reported on Dec. 24.”, which is at least arithmetically correct, since 2×62 is 124, and 126 is larger than 124.  Interestingly, the story now says “(Updates with state case numbers in third paragraph)” but doesn’t mention the correction to the maths

  • The Washington Post reports on using convalescent plasma — antibodies from people who’ve recovered — to treat Covid. A new trial has positive results, but the story seriously underplays the previous trials with negative results. The story emphasizes that we’re short of treatments for Omicron so a new treatment would be more valuable, but that’s only true if it works, which is what’s in doubt
  • Cruise ships are getting Covid outbreaks. Ok, yes, I’m shocked too.  More seriously, the problem is numbers. There were 3500 people on the ship. If each one is 99.95% sure to be Covid-free, that still comes to more than one expected case. At the sort of Covid prevalences the US has now, symptom screens and pre-departure tests aren’t good enough to get a high probability of a safe cruise.
December 22, 2021

Types of tests

There are two main sorts of Covid tests available: PCR tests and rapid antigen tests.1

PCR tests have essentially no false positives and ok-ish false negative rates.  They’re processed in lab; overnight if you’re lucky and the lab isn’t overworked. Rapid antigen tests are less accurate: they have rare but non-negligible false positives and they turn positive later in the infection process than PCR tests.  As it says on the tin, they’re rapid: you don’t need a lab and can get results in minutes. The two test types are useful for different purposes.

In New Zealand until recently, Covid was rare and occurred in limited clusters. In this setting, when the public health system is doing zero-tolerance control, there’s not much use for rapid antigen tests2.  If you are symptomatic or a contact you should isolate and get PCR tests; if you are asymptomatic and not a contact then you’re very unlikely to have Covid and any positive test is likely to be a false positive.  Anonymous at-home testing allows someone who has symptoms or is a contact to test positive and keep it quiet — maybe stay away from Nana’s 90th birthday party or drinks at the pub, but still go to work and go to the supermarket. The public health system would like this not to happen.

When Covid is everywhere, as in the US and the UK, quite a lot of people will be exposed and not know about it, so asymptomatic community testing is no longer useless. The problem with PCR is that it’s slow, especially when the labs get overworked: you won’t get the result until at least tomorrow and perhaps a few days later.  Rapid antigen tests are very valuable because they are rapid — they tell you, with imperfect but useful accuracy, whether you are infectious right now.  If you’re planning an in-person party or meeting or movie or flight or date, that’s what you want to know.  In the UK and Europe, the ‘lateral flow test’ type of rapid antigen test have been very useful; they miss some infections, but they catch quite a lot.  In the US they would have been useful, but they’re expensive and availability has been limited. The US government has just moved on making the tests a little more available — they’ve bought half a billion tests, nearly two for each US adult.

In New Zealand at the moment the situation is more complicated.  We’re on the boundary between zero Covid and low-level suppression.  The government is still trying to keep control of test results, which has clear benefits in contact tracing and elimination, but removes the ability for everyone to use rapid tests to reduce their individual risk of spreading Covid.  Whether you think the government is making the right decision here depends a lot on how much you trust the public health system, and on how much you trust other people.

 

1 yes, and a whole bunch of other minor options
2 except perhaps for border workers or customer service people during an outbreak

December 20, 2021

Fungible carbon

There’s a piece in Stuff about a startup using NFTs to do carbon capture.  I’m not going to get into a general discussion of NFTs here1.  What’s StatsChat-relevant about the story is the general principle that when you have two numbers you should do something with them.

The company in question has a current product and a planned product.  The current product is a subscription that offsets more carbon than you use on Instagram, for $5/month.  The planned product is a set of $1000 NFTs that will offset 1 tonne more carbon than they cost to produce, and will potentially generate royalties on future resales to offset more emissions.

Looking at the Instagram offset subscription, you’re getting about 6kg of offset per dollar, so about $160/ tonne.  The NZ emissions trading scheme price is about $70/tonne. You might be worried about the quality and reliability of the NZ offsets — I haven’t looked into this in any detail, and you probably haven’t either — so you might be willing to pay more for offsets you trusted more and which had the potential to develop new technologies.   Or you could buy for US$15/tonne directly from Tradewater, one of the companies used by Cool Points Club, whose approach is to prevent emissions of used refrigerant gasses by incinerating them. The monthly price does include GST and the cost of running the system; I don’t think it’s great value, but it’s priced transparently and it’s probably capturing money that wouldn’t otherwise be spent on carbon offsets.

The NFTs initially cost about $1000 for one tonne of offset. That’s very expensive.  You can buy 14 tonnes of generic NZ offset for that much, or 66 tonnes directly from Tradewater (give or take any GST liability).  If these are going to be worthwhile, nearly all of the value will have to be in the NFT, not in the offset.

1 and since I moderate the comments, neither are you

December 19, 2021

Briefly

  • Pfizer’s vaccine trial in kids 2-5 years old wasn’t successful: the dose (1/10th adult dose, 30% of 5-12yr dose) seems to be too low. They will try a three-dose series.  It did work in 6-24 months kidlets.  Pfizer is also testing third-dose boosters for all child age ranges
  • “Why trust and transparency are vital in a pandemic” from the UK Office of Statistics Regulation. They note “It will not always be possible to publish information before it is used publicly. In these cases, it is important that data are published in an accessible form as soon as possible after they have been used, with the context provided and strengths and limitations made clear.
  • Lee Wilkinson, a pioneer in statistical computing and graphics, passed away on December 10.  Among other influential contributions, he developed the statistical package ‘Systat’ and wrote ‘The Grammar of Graphics’
  • Florida is a counterexample to correlations between Covid vaccination and politics in the US. That seems to be partly because their data are wrong. “People age 18 and over in the 33122 area code had more than a 2,700% vaccination rate, according to the data….’That’s the airport,’ Gelber said.”
  • Via Jenny Nicholls on Twitter, a Washington Post story on injuries from bouncy castles. The story quotes the number of injuries as 82,203 from 2008 to 2013 and as one every 46 minutes in 2013.  You might think about whether these are compatible and which sounds bigger.  It also works out as about 0.2% of the roughly 8 million unintentional injuries in kids leading to emergency department visits. Which I think is more than I’d expect

Mild or bitter

There’s still discussion about whether the Omicron covid variant is milder than Delta. We don’t really know yet, but this post is about why that’s not even the question.

First, Omicron is still scary: people do end up in hospital; people do die; even a ‘mild’ case can still really suck; and we have literally no idea what proportion of people will get Long Covid. If it’s milder, it’s still very much in the Do Not Want category.

Second, we do know that the proportion of people who get hospitalised will probably be lower than with Delta, and that isn’t the answer to ‘mild or not?’ The primary facts about Omicron are that (a) the vaccine is definitely much less effective at preventing infection, but (b) the vaccine is probably still somewhat effective at preventing severe disease.   Suppose, to give us something to work with, an Omicron infection was exactly as likely to cause hospitalisation for an infection in vaccinated individual as Delta, and was exactly as likely to cause hospitalisation for an infection in an unvaccinated individual as Delta.

If you (Dear Reader) are vaccinated or otherwise immune, you’re more likely to be hospitalised by Omicron because you’re more likely to be infected. The vaccine protection is less, even with a third dose, and the prevalence will be higher so you’re more likely to be exposed. If you aren’t vaccinated, you’re more likely to be hospitalised by Omicron because you’re more likely to be infected: the communal vaccine protection is  less so the prevalence will be higher and you’re more likely to be exposed.  So, in that sense Omicron is worse: you are more likely to get sick, more likely to be hospitalised, probably more likely to die than if Omicron hadn’t come along.

On the other hand, the fraction of cases who end up in hospital is likely to be lower than we were seeing with Delta.  That’s because we will have a larger fraction of cases in vaccinated people, and these are less likely to end up in hospital.  The number in hospital will go up, but by a smaller multiple than the total number of infections.

So, if the question about a milder variant is “will the fraction of people with serious disease go down?” the answer is probably “yes”. If the question is “will the number of people with serious disease go down?” the answer is probably “no”.  If the question is “should I relax because it’s not serious?”, the answer is “holy fuck no”.