July 20, 2023

Election poll accuracy

1News had a new electoral opinion poll out this week, headlined Poll: National, ACT maintain wafer-thin advantage. The report gave National and ACT 61 seats out of 120. However, if you put the reported percentages and assumptions into the Electoral Commission’s seat allocation calculator, as various people did, you would get a different result, with National and ACT holding 60 seats, and a potential Labour/Green/Te Pāti Māori alliance also holding 60.  That’s strange, but you wouldn’t really expect 1News to get this wrong (unless you were the sort of social media commenter who immediately assumed it was a conspiracy rather than an error).

The first thing to check in a situation like this is the full report from the polling company. The percentages match what 1News reported, and if you scroll down to the bottom, there’s an corresponding seat allocation that matches the one reported.  At this point a simple error looks even less likely.  So what did happen?

Looking at either the 1News report or the Verian report, we see that percentages were rounded to the nearest percentage point, or to the nearest tenth of a percentage point below 4.85%. So, can we construct a set of numbers that would round to the the same reported percentages and match the reported seat allocation? Yes, easily. We need National and Labour to have been rounded down and the Greens to have been rounded up.  So there’s no evidence of a mistake, and rounding is easily the most plausible explanation.

On the other hand, one might hope 1News or Verian would notice that the headline figures are very close to even, and consider how sensitive the results might be to rounding.

On the other other hand, though, what this shows is that a single poll is never going to be enough to support a claim of “maintain wafer-thin advantage”.  The left-right split can easily be off by five seats, and that’s a big difference; if the advantage is wafer-thin, it’s way below the ability of the polling system to measure.  You can do somewhat better by combining polls and estimating biases of different pollers, as the Herald’s poll of polls is doing, using a fairly sophisticated model.  They have been fairly consistent in predicting that (assuming no major events that change things) Labour/Green are unlikely to get a majority without Te Pāti Māori, but that National/ACT have reasonable odds of doing so.

Even then, you can’t really do ‘wafer-thin’ comparisons.

Briefly

  • Substack counts as the media, right?  David Farrier, a NZ journalist and filmmaker, wrote about getting a spine MRI.
  • Aspartame is now in Group IIb on the International Agency for Cancer Research scale of hazards.  We had reports from at least the Herald, Stuff, 1News, RNZ.  It’s important to remember that IIb, “possible carcinogen” is effectively the lowest on a three-point scale. IARC has  Group I (definitely carcinogenic at some dose),  Group IIb (probably carcinogenic at some dose), and Group IIb (possibly carcinogenic at some dose). They also have Group III (insufficient evidence). They once had Group IV (not carcinogenic) but it only ever got used once and was retired.  The “at some dose” proviso is also important; for example, sunlight is a Group I carcinogen.  The reports were all pretty good — much better than when bacon got into Group I several years ago.  Perhaps the best was at Stuff, where they actually quoted the recommended dose limit: David Spiegelhalter, an emeritus statistics professor at Cambridge University, said the guidance means that “average people are safe to drink up to 14 cans of diet drink a day … and even this ‘acceptable daily limit’ has a large built-in safety factor.” That’s safe for cancer, not for all possible problems, but it’s still a lot.  I’d also link to the Twitter thread by Martyn Plummer, a statistician and former IARC researcher, but linking to Twitter threads now doesn’t work because of the War on Twitter.
  • Katie Kenny at Stuff had an excellent story about measurement accuracy and her infant son’s weight.
  • Mediawatch writes about one weird trick for getting your press releases covered in the news (be sure always to call it research)
July 18, 2023

NRL Predictions for Round 21

Team Ratings for Round 21

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
Panthers 11.91 12.99 -1.10
Storm 7.15 11.21 -4.10
Cowboys 6.10 6.23 -0.10
Rabbitohs 5.89 9.35 -3.50
Eels 4.14 6.78 -2.60
Sharks 2.70 4.50 -1.80
Warriors 2.00 -11.12 13.10
Broncos 0.47 -5.92 6.40
Raiders -0.56 1.98 -2.50
Roosters -2.34 7.64 -10.00
Knights -3.01 -9.53 6.50
Titans -4.34 -6.32 2.00
Sea Eagles -4.52 -5.26 0.70
Dragons -6.02 -2.73 -3.30
Dolphins -6.56 -10.00 3.40
Wests Tigers -12.33 -13.52 1.20
Bulldogs -12.68 -8.29 -4.40

 

Performance So Far

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

Game Date Score Prediction Correct
1 Knights vs. Wests Tigers Jul 14 34 – 18 11.30 TRUE
2 Bulldogs vs. Broncos Jul 15 24 – 44 -8.60 TRUE
3 Sea Eagles vs. Cowboys Jul 15 8 – 19 -6.70 TRUE
4 Roosters vs. Storm Jul 15 16 – 30 -5.20 TRUE
5 Warriors vs. Sharks Jul 16 44 – 12 2.00 TRUE
6 Dolphins vs. Panthers Jul 16 14 – 24 -16.40 TRUE
7 Eels vs. Titans Jul 16 25 – 24 13.10 TRUE

 

Predictions for Round 21

Here are the predictions for Round 21. 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. Wests Tigers Jul 20 Dragons 9.30
2 Warriors vs. Raiders Jul 21 Warriors 8.60
3 Rabbitohs vs. Broncos Jul 21 Rabbitohs 8.40
4 Titans vs. Roosters Jul 22 Titans 1.00
5 Knights vs. Storm Jul 22 Storm -7.20
6 Cowboys vs. Eels Jul 22 Cowboys 5.00
7 Panthers vs. Bulldogs Jul 23 Panthers 27.60
8 Sharks vs. Sea Eagles Jul 23 Sharks 10.20

 

July 11, 2023

NRL Predictions for Round 20

Team Ratings for Round 20

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
Panthers 12.40 12.99 -0.60
Storm 6.52 11.21 -4.70
Rabbitohs 5.89 9.35 -3.50
Cowboys 5.63 6.23 -0.60
Eels 4.95 6.78 -1.80
Sharks 4.37 4.50 -0.10
Warriors 0.33 -11.12 11.50
Broncos -0.30 -5.92 5.60
Raiders -0.56 1.98 -2.50
Roosters -1.71 7.64 -9.40
Knights -3.53 -9.53 6.00
Sea Eagles -4.05 -5.26 1.20
Titans -5.15 -6.32 1.20
Dragons -6.02 -2.73 -3.30
Dolphins -7.05 -10.00 3.00
Wests Tigers -11.81 -13.52 1.70
Bulldogs -11.91 -8.29 -3.60

 

Performance So Far

So far there have been 141 matches played, 84 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 Wests Tigers vs. Sharks Jul 06 12 – 36 -11.50 TRUE
2 Dragons vs. Raiders Jul 07 26 – 36 -1.20 TRUE
3 Eels vs. Warriors Jul 08 10 – 46 15.80 FALSE
4 Rabbitohs vs. Bulldogs Jul 08 32 – 36 24.00 FALSE
5 Titans vs. Dolphins Jul 09 21 – 23 6.10 FALSE

 

Predictions for Round 20

Here are the predictions for Round 20. 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 Knights vs. Wests Tigers Jul 14 Knights 11.30
2 Bulldogs vs. Broncos Jul 15 Broncos -8.60
3 Sea Eagles vs. Cowboys Jul 15 Cowboys -6.70
4 Roosters vs. Storm Jul 15 Storm -5.20
5 Warriors vs. Sharks Jul 16 Warriors 2.00
6 Dolphins vs. Panthers Jul 16 Panthers -16.40
7 Eels vs. Titans Jul 16 Eels 13.10

 

July 4, 2023

NRL 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
Panthers 12.40 12.99 -0.60
Eels 7.54 6.78 0.80
Rabbitohs 7.47 9.35 -1.90
Storm 6.52 11.21 -4.70
Cowboys 5.63 6.23 -0.60
Sharks 3.54 4.50 -1.00
Broncos -0.30 -5.92 5.60
Raiders -1.18 1.98 -3.20
Roosters -1.71 7.64 -9.40
Warriors -2.26 -11.12 8.90
Knights -3.53 -9.53 6.00
Sea Eagles -4.05 -5.26 1.20
Titans -4.57 -6.32 1.70
Dragons -5.39 -2.73 -2.70
Dolphins -7.63 -10.00 2.40
Wests Tigers -10.98 -13.52 2.50
Bulldogs -13.50 -8.29 -5.20

 

Performance So Far

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

Game Date Score Prediction Correct
1 Sharks vs. Dragons Jun 29 52 – 16 8.80 TRUE
2 Warriors vs. Rabbitohs Jun 30 6 – 28 -1.20 TRUE
3 Storm vs. Panthers Jun 30 16 – 34 -0.70 TRUE
4 Raiders vs. Titans Jul 01 26 – 22 7.10 TRUE
5 Cowboys vs. Wests Tigers Jul 01 74 – 0 13.80 TRUE
6 Broncos vs. Dolphins Jul 01 24 – 16 11.00 TRUE
7 Bulldogs vs. Knights Jul 02 0 – 66 -0.70 TRUE
8 Sea Eagles vs. Roosters Jul 02 18 – 16 0.30 TRUE

 

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 Wests Tigers vs. Sharks Jul 06 Sharks -11.50
2 Dragons vs. Raiders Jul 07 Raiders -1.20
3 Eels vs. Warriors Jul 08 Eels 15.80
4 Rabbitohs vs. Bulldogs Jul 08 Rabbitohs 24.00
5 Titans vs. Dolphins Jul 09 Titans 6.10

 

June 27, 2023

NRL 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
Panthers 11.33 12.99 -1.70
Storm 7.60 11.21 -3.60
Eels 7.54 6.78 0.80
Rabbitohs 6.23 9.35 -3.10
Cowboys 2.71 6.23 -3.50
Sharks 2.00 4.50 -2.50
Broncos 0.03 -5.92 6.00
Raiders -0.85 1.98 -2.80
Warriors -1.02 -11.12 10.10
Roosters -1.52 7.64 -9.20
Dragons -3.85 -2.73 -1.10
Sea Eagles -4.23 -5.26 1.00
Titans -4.90 -6.32 1.40
Knights -6.64 -9.53 2.90
Dolphins -7.96 -10.00 2.00
Wests Tigers -8.06 -13.52 5.50
Bulldogs -10.38 -8.29 -2.10

 

Performance So Far

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

Game Date Score Prediction Correct
1 Dragons vs. Warriors Jun 23 18 – 48 7.10 FALSE
2 Dolphins vs. Eels Jun 24 20 – 48 -10.30 TRUE
3 Panthers vs. Knights Jun 24 20 – 12 22.90 TRUE
4 Storm vs. Sea Eagles Jun 24 24 – 6 13.90 TRUE
5 Broncos vs. Titans Jun 25 12 – 18 10.00 FALSE
6 Rabbitohs vs. Cowboys Jun 25 6 – 31 10.30 FALSE
7 Roosters vs. Raiders Jun 25 18 – 20 3.50 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 Sharks vs. Dragons Jun 29 Sharks 8.80
2 Warriors vs. Rabbitohs Jun 30 Rabbitohs -1.20
3 Storm vs. Panthers Jun 30 Panthers -0.70
4 Raiders vs. Titans Jul 01 Raiders 7.10
5 Cowboys vs. Wests Tigers Jul 01 Cowboys 13.80
6 Broncos vs. Dolphins Jul 01 Broncos 11.00
7 Bulldogs vs. Knights Jul 02 Knights -0.70
8 Sea Eagles vs. Roosters Jul 02 Sea Eagles 0.30

 

June 20, 2023

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
Panthers 12.28 12.99 -0.70
Rabbitohs 8.13 9.35 -1.20
Storm 7.15 11.21 -4.10
Eels 6.44 6.78 -0.30
Sharks 2.00 4.50 -2.50
Broncos 1.04 -5.92 7.00
Cowboys 0.80 6.23 -5.40
Roosters -0.91 7.64 -8.60
Raiders -1.46 1.98 -3.40
Dragons -1.87 -2.73 0.90
Warriors -3.00 -11.12 8.10
Sea Eagles -3.79 -5.26 1.50
Titans -5.91 -6.32 0.40
Dolphins -6.87 -10.00 3.10
Knights -7.60 -9.53 1.90
Wests Tigers -8.06 -13.52 5.50
Bulldogs -10.38 -8.29 -2.10

 

Performance So Far

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

Game Date Score Prediction Correct
1 Cowboys vs. Panthers Jun 16 27 – 23 -10.30 FALSE
2 Knights vs. Roosters Jun 17 16 – 18 -4.20 TRUE
3 Eels vs. Sea Eagles Jun 17 34 – 4 10.90 TRUE
4 Wests Tigers vs. Storm Jun 17 6 – 28 -10.70 TRUE
5 Sharks vs. Bulldogs Jun 18 48 – 10 12.40 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 Dragons vs. Warriors Jun 23 Dragons 7.10
2 Dolphins vs. Eels Jun 24 Eels -10.30
3 Panthers vs. Knights Jun 24 Panthers 22.90
4 Storm vs. Sea Eagles Jun 24 Storm 13.90
5 Broncos vs. Titans Jun 25 Broncos 10.00
6 Rabbitohs vs. Cowboys Jun 25 Rabbitohs 10.30
7 Roosters vs. Raiders Jun 25 Roosters 3.50

 

Super Rugby Predictions for the Super Rugby Final

Team Ratings for the Super Rugby Final

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 18.49 17.95 0.50
Chiefs 13.09 8.81 4.30
Blues 12.17 12.34 -0.20
Hurricanes 10.03 9.59 0.40
Brumbies 6.45 6.64 -0.20
Highlanders 1.30 5.04 -3.70
Reds -0.05 1.89 -1.90
Waratahs -2.08 -2.50 0.40
Rebels -4.61 -6.19 1.60
Western Force -6.15 -5.54 -0.60
Fijian Drua -9.21 -10.50 1.30
Moana Pasifika -10.80 -8.91 -1.90

 

Performance So Far

So far there have been 90 matches played, 70 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 Crusaders vs. Blues Jun 16 52 – 15 7.70 TRUE
2 Chiefs vs. Brumbies Jun 17 19 – 6 12.00 TRUE

 

Predictions for the Super Rugby Final

Here are the predictions for the Super Rugby Final. 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. Crusaders Jun 24 Crusaders -1.90

 

Currie Cup Predictions for the Currie Cup Final

Team Ratings for the Currie Cup Final

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
Cheetahs 6.18 4.67 1.50
Pumas 4.49 2.84 1.60
Sharks 0.96 -1.30 2.30
Western Province 0.59 -3.24 3.80
Bulls -0.48 3.43 -3.90
Griquas -2.59 1.39 -4.00
Lions -4.44 -7.79 3.40
Griffons -14.70 -10.00 -4.70

 

Performance So Far

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

Game Date Score Prediction Correct
1 Cheetahs vs. Bulls Jun 18 39 – 10 7.90 TRUE
2 Sharks vs. Pumas Jun 18 20 – 26 1.60 FALSE

 

Predictions for the Currie Cup Final

Here are the predictions for the Currie Cup Final. 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 Cheetahs vs. Pumas Jun 25 Cheetahs 5.70

 

June 18, 2023

Looking for ChatGPT again

When I wrote about ChatGPT-detecting last time, I said that overall accuracy wasn’t enough; you’d need to know about the accuracy in relevant groups of people:

In addition to knowing the overall false positive rate, we’d want to know the false positive rate for important groups of students.  Does using a translator app on text you wrote in another language make you more likely to get flagged? Using a grammar checker? Speaking Kiwi? Are people who use semicolons safe?

Some evidence is accumulating.   The automated detectors can tell opinion pieces published in Science from ChatGPT imitations  (of limited practical use, since Science has an actual list of things it has published).

More importantly, there’s a new preprint that claims the detectors do extremely poorly on material written by non-native English speakers. Specifically, on essays from the TOEFL English exam, the false positive rate averaged over several detectors was over 50%.  The preprint also claims that ChatGPT could be used to edit the TOEFL essays (“Enhance the word choices to sound more like that of a native speaker”) or its own creations (“Elevate the provided text by employing advanced technical language”) to reduce detection.

False positives for non-native speakers are an urgent problem with using the detectors in education. Non-native speakers may already fall under more suspicion, so false positives for them are even more of a problem. However, it’s quite possible that future versions of the detectors can reduce this specific bias (and it will  be important to verify this).

The ability to get around the detectors by editing is a longer-term problem.  If you have a publicly-available detector and the ability to modify your text, you can make changes until the detector no longer reports a problem.   There’s fundamentally no real way around this, and if the process can be automated it will be even easier.  Having a detector that isn’t available to students would remove the ability to edit — but “this program we won’t let you see says you cheated” shouldn’t be an acceptable solution either.