April 1, 2015

NRL 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
Rabbitohs 11.79 13.06 -1.30
Roosters 11.30 9.09 2.20
Cowboys 4.98 9.52 -4.50
Storm 4.64 4.36 0.30
Broncos 4.61 4.03 0.60
Panthers 4.41 3.69 0.70
Warriors 2.15 3.07 -0.90
Knights 1.72 -0.28 2.00
Bulldogs 1.03 0.21 0.80
Sea Eagles -0.61 2.68 -3.30
Dragons -3.09 -1.74 -1.40
Eels -3.63 -7.19 3.60
Raiders -7.94 -7.09 -0.90
Wests Tigers -9.21 -13.13 3.90
Titans -9.71 -8.20 -1.50
Sharks -11.11 -10.76 -0.40

 

Performance So Far

So far there have been 32 matches played, 19 of which were correctly predicted, a success rate of 59.4%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Eels vs. Rabbitohs Mar 27 29 – 16 -16.40 FALSE
2 Wests Tigers vs. Bulldogs Mar 27 24 – 25 -8.30 TRUE
3 Dragons vs. Sea Eagles Mar 28 12 – 4 -0.70 FALSE
4 Knights vs. Panthers Mar 28 26 – 14 -1.60 FALSE
5 Sharks vs. Titans Mar 28 22 – 24 2.20 FALSE
6 Roosters vs. Raiders Mar 29 34 – 6 21.30 TRUE
7 Warriors vs. Broncos Mar 29 16 – 24 3.10 FALSE
8 Cowboys vs. Storm Mar 30 18 – 17 3.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 Bulldogs vs. Rabbitohs Apr 03 Rabbitohs -7.80
2 Titans vs. Broncos Apr 03 Broncos -11.30
3 Knights vs. Dragons Apr 04 Knights 7.80
4 Sea Eagles vs. Raiders Apr 04 Sea Eagles 10.30
5 Roosters vs. Sharks Apr 05 Roosters 25.40
6 Eels vs. Wests Tigers Apr 06 Eels 8.60
7 Panthers vs. Cowboys Apr 06 Panthers 2.40
8 Storm vs. Warriors Apr 06 Storm 6.50

 

Super 15 Predictions for Round 8

Team Ratings for Round 8

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 8.34 10.42 -2.10
Waratahs 8.34 10.00 -1.70
Hurricanes 6.07 2.89 3.20
Brumbies 4.50 2.20 2.30
Chiefs 3.86 2.23 1.60
Bulls 2.95 2.88 0.10
Sharks 2.26 3.91 -1.70
Stormers 1.68 1.68 -0.00
Blues 0.02 1.44 -1.40
Highlanders -0.23 -2.54 2.30
Lions -3.78 -3.39 -0.40
Force -4.56 -4.67 0.10
Cheetahs -7.05 -5.55 -1.50
Rebels -7.53 -9.53 2.00
Reds -7.87 -4.98 -2.90

 

Performance So Far

So far there have been 47 matches played, 31 of which were correctly predicted, a success rate of 66%.

Here are the predictions for last week’s games.

Game Date Score Prediction Correct
1 Hurricanes vs. Rebels Mar 27 36 – 12 17.20 TRUE
2 Reds vs. Lions Mar 27 17 – 18 0.70 FALSE
3 Chiefs vs. Cheetahs Mar 28 37 – 27 16.30 TRUE
4 Highlanders vs. Stormers Mar 28 39 – 21 0.50 TRUE
5 Waratahs vs. Blues Mar 28 23 – 11 13.00 TRUE
6 Sharks vs. Force Mar 28 15 – 9 12.20 TRUE
7 Bulls vs. Crusaders Mar 28 31 – 19 -2.70 FALSE

 

Predictions for Round 8

Here are the predictions for Round 8. 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. Stormers Apr 03 Hurricanes 8.90
2 Rebels vs. Reds Apr 03 Rebels 4.30
3 Chiefs vs. Blues Apr 04 Chiefs 7.80
4 Brumbies vs. Cheetahs Apr 04 Brumbies 16.00
5 Sharks vs. Crusaders Apr 04 Crusaders -1.60
6 Lions vs. Bulls Apr 04 Bulls -2.70

 

March 31, 2015

Beautiful and trustworthy

The Herald has pictures of the most beautiful faces in the world

BEAUTIFUL-FACES_3249636b_620x310

and NPR reports on a computer algorithm that can tell if you sound trustworthy or calming or engaging.

The Herald story at least admits these faces are only world-famous in New Zealand (or, rather, the UK)

“It’s important to note that these are the idealised faces according to those living in the UK, so a study in Asia or Africa for example would no doubt have different results.”

The NPR story instead doubles down by saying

But algorithms have stamina, and they do not factor in things like age, race, gender or sexual orientation.

There’s a sense in which this is true, but it’s not a very useful sense. If we can guess age, race, or gender from the sound of someone’s voice, and these perceptions affect whether we think the voice is engaging,calming or trustworthy, our prejudices will show up in the training data and any competent black-box algorithm will learn them.

 

Polling in the West Island: cheap or good?

New South Wales has just voted, and the new electorate created where I lived in Sydney 20 years ago is being won by the Greens, who got 46.4% of the primary vote and currently 59.7% on preferences. The ABC News background about the electorate says

In 2-party preferred terms this is a safe Labor seat with a margin of 13.7%, but in a two-candidate contest would be a marginal Green seat versus Labor. The estimated first preference votes based on the 2011 election are Green 35.5%, Labor 30.4%, Liberal 21.0%, Independent 9.1, the estimated Green margin after preferences being 4.4% versus Labor.

There was definitely a change since 2011 in this area, so how did the polls do? Political polling is a bit harder with preferential voting when there are only two relevant parties, but much harder when there are more than two.

Well, the reason for mentioning this is a piece in the Australian saying that the swing to the Greens caught Labor by surprise because they’d used cheap polls for electorate-specific prediction

“We just can’t poll these places accurately at low cost,” a Labor strategist said. “It’s too hard. The figures skew towards older voters on landlines and miss younger voters who travel around and use mobile phones.”

The company blamed in the story is ReachTEL. They report that they had the most accurate overall results, but their published poll from 19 March for Newtown is definitely off a bit, giving the Greens 33.3% support.

(via Peter Green on Twitter)

 

March 30, 2015

Aspect ratios and not starting at zero

The vertical axis on a bar chart must start at zero. The very rare exceptions are ones that prove the rule: where ‘zero’ isn’t zero. Otherwise, the axis starts at zero or it isn’t a bar chart. The whole point of bar charts is that the length of the bar is proportional to the data value.

Line charts and scatterplots are different.  They don’t need to be tied down to zero, and the axis scales can be chosen to make the information as clear as possible. With great power comes great responsibility, as we can see from the following pair of line graphs of oil drilling in the US.

littlerigs

bigrigs

It’s pretty obvious that these come from people with different communications agendas. Or, it would be, except they are from the same story at Bloomberg.

Neither graph has an ideal aspect ratio. The flat one is too flat: you can’t see the wobbles over time in number of rigs. The tall one is too tall: the number of rigs has halved, but it looks as though it has crashed much more than that.

Bill Cleveland has a useful default rule for scaling line graphs: the median slope of the line segments should be about 45 degrees. The orange line on the tall graph isn’t far off that, but the blue line is steeper.  The 45-degree rule would give a graph like this:

flatrigs

In fact, there is plenty of room to start the blue axis at zero, but that’s not always the right choice.

Here, in a sadly-appropriate pairing, is the Keeling Curve, the graph of atmospheric CO2 concentrations at Mauna Loa observatory, in a visualisation paper from Berkeley.

co2

There’s no sense at all in having the vertical axis start at zero. Zero is just not a relevant value of atmospheric CO2. What’s more interesting, though, is how the two scalings show different information. The upper graph is scaled so the year-to-year changes have slope centred at 45 degrees. This makes it easier to see that the CO2 increase is accelerating. The lower graph is scaled so the month to month changes have slope centred at 45 degrees, making it easier to see the shape of the seasonal pattern.

Different vertical scaling can be used just to mislead the reader, but it can also be used to make data more readable and to communicate more effectively.

Briefly

  • Two data-related notes about the Northland by-election: the polls were amazingly accurate given how hard by-elections are to predict, and the Electoral Commission did a wonderful job in getting the vote counted and reported fast.
  • The Medical Council of New Zealand has released a Discussion Paper on the value of performance and outcome data.

Stat of the Week Competition: March 28 – April 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 April 3 2015.
  • Statistics can be bad, exemplary or fascinating.
  • The statistic must be in the NZ media during the period of March 28 – April 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…)

March 26, 2015

Understanding Ebola

From the BBC, Hans Rosling on the Ebola epidemic

rosling-ebola

(That’s a diagram of the data collection system behind him)

(via Harkanwal Singh)

March 25, 2015

Translating from Scientist to English

Stories were coming out recently about new cancer research led by Bryony Telford in Parry Guilford’s lab at Otago, and I’d thought I’d use it for an example of translation from Scientist to English. It’s a good example for news because it really is pretty impressive, because it involved a New Zealand family with familial cancer, and because the abstract of the research paper is well written — it’s just not written in ordinary English. Combining the abstract with the press release and a bit of Google makes a translation possible.

This will be long. (more…)

Gimme that old time nutrition

Q: Did you see that eating a bowl of quinoa every day helps you live longer?

A: No.

Q: There’s story on Stuff (well, from the West Island branches). Is it true?

A: Hard to say.

Q: Well, does the research claim it’s true?

A: Hard to say.

Q: Why? Didn’t they link?

A: No, they linked, and the paper is even open-access. It just doesn’t say anything about the effects of quinoa.

Q: But the story said “A new study by Harvard Public School of Health has found that eating a daily bowl of the protein-packed, gluten-free grain significantly reduces the risk of premature death from cancer, heart disease, respiratory disease and diabetes.”

A: Sadly, yes.

Q: This is your correlation and causation thing again, isn’t it?

A: No, the paper just doesn’t mention quinoa. It talks about grains and cereals.

Q: Ok. So they just didn’t break out the data for quinoa separately. It’s still a grain and a cereal, isn’t it?

A: Yes, as long as you aren’t even more pedantic than me. But it’s not just data analysis. They didn’t even ask their study participants about eating quinoa.

Q: So? Some of the grain they ate must have been quinoa, and there’s no reason to expect it’s different from other grains, is there? Won’t it all get averaged in somehow?

A: I suppose so. But there can’t have been that much of it getting “averaged in”

Q: Why not? You old folks may not have caught on, but quinoa’s getting popular now.

A: The study was in people over 50. That’s older than both of us. Even assuming we weren’t the same person.

Q: Even so. Things are changing. People have more adventurous diets. It’s not the twentieth century any more.

A: It is in the study.

Q: Huh?

A: The dietary data were collected in 1995 and 1997, from people with average age 61 years.

Q: Oh.