July 6, 2015

Briefly

  • Visualizing the Twitter networks of NZ MPs: on the Herald data blog, a post by Chris McDowall, and additional graphics by Jayne Ihaka.  peterdunne
    Now we just need a way to tell which accounts are actually used by MPs and which ones are twitterwallahs.
  • There was a big discrepancy among bookies on the odds for the Greek referendum. Paddy Power estimates an 80% chance of ‘yes’ and has paid out winnings early. Betfair is almost certain of “No”.  The wisdom of crowds has definite limitations, especially in situations where no-one really has a clue.
  • Sense about Science have a new guide to screening tests. I’ll repeat my testing soundbite: “Screening is the opposite of treatment: you go in healthy and come out with a disease”.
  • Measuring happiness: a discussion at the New York Times and an independent (I think) skeptical post by John Quiggin arguing for measures of unhappiness.
July 1, 2015

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
Roosters 8.23 9.09 -0.90
Broncos 7.52 4.03 3.50
Cowboys 4.67 9.52 -4.90
Rabbitohs 4.06 13.06 -9.00
Storm 2.78 4.36 -1.60
Dragons 2.04 -1.74 3.80
Warriors 1.76 3.07 -1.30
Bulldogs 0.38 0.21 0.20
Panthers -0.49 3.69 -4.20
Raiders -2.21 -7.09 4.90
Eels -2.93 -7.19 4.30
Sea Eagles -2.96 2.68 -5.60
Sharks -4.01 -10.76 6.70
Knights -4.99 -0.28 -4.70
Titans -5.78 -8.20 2.40
Wests Tigers -6.74 -13.13 6.40

 

Performance So Far

So far there have been 118 matches played, 67 of which were correctly predicted, a success rate of 56.8%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Broncos vs. Knights Jun 26 44 – 22 14.40 TRUE
2 Rabbitohs vs. Sea Eagles Jun 26 20 – 8 9.70 TRUE
3 Cowboys vs. Sharks Jun 27 18 – 24 14.50 FALSE
4 Eels vs. Dragons Jun 27 16 – 12 -3.00 FALSE
5 Warriors vs. Raiders Jun 27 30 – 8 5.70 TRUE
6 Roosters vs. Titans Jun 28 20 – 10 18.20 TRUE
7 Wests Tigers vs. Panthers Jun 28 12 – 35 -0.10 TRUE
8 Bulldogs vs. Storm Jun 29 20 – 4 -1.90 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 Panthers vs. Rabbitohs Jul 03 Rabbitohs -1.50
2 Dragons vs. Cowboys Jul 04 Dragons 0.40
3 Sea Eagles vs. Sharks Jul 05 Sea Eagles 4.10
4 Wests Tigers vs. Eels Jul 06 Eels -0.80

 

Super 15 Prediction for the Final

Team Ratings for the 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 10.77 10.42 0.40
Hurricanes 9.06 2.89 6.20
Highlanders 6.98 -2.54 9.50
Waratahs 6.13 10.00 -3.90
Brumbies 4.27 2.20 2.10
Chiefs 3.58 2.23 1.40
Stormers 0.47 1.68 -1.20
Bulls 0.39 2.88 -2.50
Lions -0.55 -3.39 2.80
Sharks -0.65 3.91 -4.60
Blues -4.49 1.44 -5.90
Rebels -4.89 -9.53 4.60
Force -7.16 -4.67 -2.50
Cheetahs -8.22 -5.55 -2.70
Reds -8.70 -4.98 -3.70

 

Performance So Far

So far there have been 124 matches played, 81 of which were correctly predicted, a success rate of 65.3%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Hurricanes vs. Brumbies Jun 27 29 – 9 7.80 TRUE
2 Waratahs vs. Highlanders Jun 27 17 – 35 6.40 FALSE

 

Prediction for the Final

Here is the prediction for the 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 Hurricanes vs. Highlanders Jul 04 Hurricanes 6.10

 

June 29, 2015

Stat of the Week Competition: June 27 – July 3 2015

Each week, we would like to invite readers of Stats Chat to submit nominations for our Stat of the Week competition and be in with the chance to win an iTunes voucher.

Here’s how it works:

  • Anyone may add a comment on this post to nominate their Stat of the Week candidate before midday Friday July 3 2015.
  • Statistics can be bad, exemplary or fascinating.
  • The statistic must be in the NZ media during the period of June 27 – July 3 2015 inclusive.
  • Quote the statistic, when and where it was published and tell us why it should be our Stat of the Week.

Next Monday at midday we’ll announce the winner of this week’s Stat of the Week competition, and start a new one.

(more…)

June 25, 2015

Poetry about statistics

On Twitter, Evelyn Lamb pointed me to the poem “A contribution to Statistics”, by Wisława Szymborska (who won the 1996 Nobel Prize for Literature). It begins

Out of every hundred people

those who always know better:
— fifty-two,

doubting every step
   — nearly all the rest,

glad to lend a hand
if it doesn’t take too long:
— as high as forty-nine,

Read all of it here

The same blog, “Poetry with Mathematics”, has some other statistically themed poems:

The last was written in honour of Florence Nightingale, who was the first female member of the Royal Statistical Society, and also an honorary member of the American Statistical Association.

June 24, 2015

NRL Predictions for Round 16

Team Ratings for Round 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
Roosters 8.82 9.09 -0.30
Broncos 6.98 4.03 2.90
Cowboys 6.07 9.52 -3.50
Storm 4.02 4.36 -0.30
Rabbitohs 3.88 13.06 -9.20
Dragons 2.55 -1.74 4.30
Warriors 0.63 3.07 -2.40
Bulldogs -0.85 0.21 -1.10
Raiders -1.08 -7.09 6.00
Panthers -2.05 3.69 -5.70
Sea Eagles -2.78 2.68 -5.50
Eels -3.44 -7.19 3.70
Knights -4.44 -0.28 -4.20
Wests Tigers -5.18 -13.13 7.90
Sharks -5.42 -10.76 5.30
Titans -6.37 -8.20 1.80

 

Performance So Far

So far there have been 110 matches played, 62 of which were correctly predicted, a success rate of 56.4%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Sea Eagles vs. Wests Tigers Jun 19 30 – 20 4.60 TRUE
2 Bulldogs vs. Panthers Jun 20 24 – 12 2.90 TRUE
3 Raiders vs. Cowboys Jun 20 20 – 21 -4.70 TRUE
4 Titans vs. Warriors Jun 20 14 – 36 0.00 FALSE
5 Knights vs. Sharks Jun 21 28 – 30 5.00 FALSE
6 Storm vs. Broncos Jun 21 12 – 14 0.40 FALSE
7 Dragons vs. Roosters Jun 22 14 – 19 -3.00 TRUE

 

Predictions for Round 16

Here are the predictions for Round 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 Broncos vs. Knights Jun 26 Broncos 14.40
2 Rabbitohs vs. Sea Eagles Jun 26 Rabbitohs 9.70
3 Cowboys vs. Sharks Jun 27 Cowboys 14.50
4 Eels vs. Dragons Jun 27 Dragons -3.00
5 Warriors vs. Raiders Jun 27 Warriors 5.70
6 Roosters vs. Titans Jun 28 Roosters 18.20
7 Wests Tigers vs. Panthers Jun 28 Panthers -0.10
8 Bulldogs vs. Storm Jun 29 Storm -1.90

 

Super 15 Predictions for the Qualifying Finals

Team Ratings for the Qualifying Finals: Correction

I made a mistake in entering the fixtures and had the Waratahs playing away.

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 10.77 10.42 0.40
Hurricanes 8.31 2.89 5.40
Waratahs 7.48 10.00 -2.50
Highlanders 5.62 -2.54 8.20
Brumbies 5.03 2.20 2.80
Chiefs 3.58 2.23 1.40
Stormers 0.47 1.68 -1.20
Bulls 0.39 2.88 -2.50
Lions -0.55 -3.39 2.80
Sharks -0.65 3.91 -4.60
Blues -4.49 1.44 -5.90
Rebels -4.89 -9.53 4.60
Force -7.16 -4.67 -2.50
Cheetahs -8.22 -5.55 -2.70
Reds -8.70 -4.98 -3.70

 

Performance So Far

So far there have been 122 matches played, 80 of which were correctly predicted, a success rate of 65.6%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Highlanders vs. Chiefs Jun 20 24 – 14 5.40 TRUE
2 Stormers vs. Brumbies Jun 20 19 – 39 2.50 FALSE

 

Predictions for the Qualifying Finals

Here are the predictions for the Qualifying 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 Hurricanes vs. Brumbies Jun 27 Hurricanes 7.80
2 Waratahs vs. Highlanders Jun 27 Waratahs 6.40

 

June 23, 2015

Refugee numbers

Brent Edwards on Radio NZ’s Checkpoint has done a good job of fact-checking claims about refugee numbers in New Zealand.  Amnesty NZ tweeted this summary table

CIJSRW9UMAABRkB

If you want the original sources for the numbers, the Immigration Department Refugee Statistics page is here (and Google finds it easily).

The ‘Asylum’ numbers are in the Refugee and Protection Status Statistics Pack, the “Approved” column of the first table. The ‘Family reunification’ numbers are in the Refugee Family Support Category Statistics Pack in the ‘Residence Visas Granted’ section of the first table. The ‘Quota’ numbers are in the Refugee Quota Settlement Statistics Pack, in the right-hand margin of the first table.

Update: @DoingOurBitNZ pointed me to the appeals process, which admits about 50 more refugees per year: 53 in 2013/4; 57 in 2012/3; 63 in 2011/2; 27 in 2010/11.

 

June 22, 2015

Stat of the Week Competition: June 20 – 26 2015

Each week, we would like to invite readers of Stats Chat to submit nominations for our Stat of the Week competition and be in with the chance to win an iTunes voucher.

Here’s how it works:

  • Anyone may add a comment on this post to nominate their Stat of the Week candidate before midday Friday June 26 2015.
  • Statistics can be bad, exemplary or fascinating.
  • The statistic must be in the NZ media during the period of June 20 – 26 2015 inclusive.
  • Quote the statistic, when and where it was published and tell us why it should be our Stat of the Week.

Next Monday at midday we’ll announce the winner of this week’s Stat of the Week competition, and start a new one.

(more…)

June 21, 2015

Sunbathing and babies

The Herald (from the Daily Mail)

A sunshine break is the perfect way to unwind, catch up on your reading and top up that tan.

But it seems a week soaking up the rays could also offer a surprising benefit – helping a woman have a baby.

Increased exposure to sunshine could raise the odds of becoming a mother by more than a third, a study suggests.

 

If you read StatsChat regularly, you probably won’t be surprised to hear the study had nothing to do with either holidays or sunbathing, or fertility in the usual sense.

As the story goes on to say, it was about the weather and IVF success rates. The researchers looked for correlations between a variety of weather measurements and a variety of ways of measuring IVF success. They didn’t find evidence of correlations with the weather at the time of conception. As they said (conference abstract, since this isn’t published)

When looking for a linear correlation between IVF results and the mean monthly values for the weather, the results were inconsistent.

So, following the ‘try, try again’ strategy they looked at weather a month earlier

However, when the same analysis was repeated with the weather results of 1 month earlier, there was a clear trend towards better IVF outcome with higher temperature, less rain and more sunshine hours. 

It helps, here, to know that “a clear trend” is jargon for “unimpresssive statistical evidence, but at least in the direction we wanted”.  That’s not the only problem, though. Since these are honest researchers, you find the other big problem in the section of the abstract labelled “limitations”

Because of the retrospective design of the study, further adjusting for possible confounding factors such as age of the woman, type of infertility and indication for IVF is mandatory. 

That is, their analysis lumped together women of different ages,  types of infertility, and reasons for using IVF, even those these have a much bigger impact on success than is being claimed for the weather.

I don’t have any problem with these analyses being performed and presented to other consenting scientists who are trying to work out ways to improve IVF.  On the other hand,  I’m pretty sure the Daily Mail didn’t get these results by reading the abstract book or sitting through the conference. Someone made a deliberate decision to get publicity for this research, at this stage, in a form where all the cautionary notes would be lost.