User:NHSavage/Sandbox

Explain xkcd: It's 'cause you're dumb.
< User:NHSavage
Revision as of 18:58, 31 October 2012 by NHSavage (talk | contribs) (Explanation)
Jump to: navigation, search


Explanation

This comic is about the interaction between science, statistics and the media.

First some basic statistical theory. Let's imagine you are trying to find out if jelly beans cause acne. To do this you would find a group of people who eat jelly beans and a group who do not and compare whether the group that eat jelly beans have more acne than those who do not. Of course, some people will suffer from acne whether they eat jelly beans or not and some will never have acne even if they do eat jelly beans. However, there is an element of chance in how many people prone to acne are in each group. What if, purely by chance, all the group we selected to eat jelly beans were prone to acne while those who didn't eat jelly beans were the lucky sort of people who never get spots? Of course this is very unlikely, especially if we have enough people in each group. However, to give more confidence in the result of this type of experiment, scientists use statistics to see how likely it is that the result they see was purely by chance.


In this comic, Megan and Cueball come to see some scientists to investigate their theory that jelly beans cause acne. The scientists of course do not want to stop playing the addictive game Minecraft (which has been referenced in a previous xkcd).

When the scientists come back and say there is no link between jelly beans and acne, Megan and Cueball have heard that it is specific colors that cause acne. So, the scientists tear themselves away from Minecraft again and study twenty different colors. Green is the only color for which they find any link at a 95% confidence interval. So, obviously the news blows the coverage out of control, even though as we see in the image text that the green jelly beans study may have been a coincidence.

But, of course, the news coverage in all caps in the image text blows it out of proportion again.

More to the point, the scientists studied 20 different colors, and only one showed a link at the 95% confidence level. The 95% confidence level MEANS that there is a 95% chance that the link is not random. So by definition we would expect 1 out of 20 studies to show a link at this level by pure random chance. This is a big problem in correlation research generally, because scientists study many different possible causal factors, and then report the ones that show significance. Without a plausable causation mechanism it’s not clear what value such studies have, given that 1/20 will randomly show a correlation at (p>.05). For more: http://www.fallacyfiles.org/multcomp.html

Also comment on media coverage of science.

Now you are about to learn something about statistics (or at least, how experiments and scientists use statistics).

When a scientist conducts an experiment like those in the comic, they compare the test outcome (the rate of acne among green jellybean eaters) with a control outcome (the rate of acne among folks who don’t eat green jellybeans). Since there is always a certain amount of randomness and error in such tests, they compute the probability p that the observed test outcome could have come about purely by chance assuming that the hypothesis they are testing (green jellybeans give acne) is false. If the probability p is small enough, they conclude the result is “significant”.

By saying that for mauve jellybeans p is greater than 0.05 (a common cutoff for significance), they are stating that the results weren’t statistically significant. On the otherhand, the results for green jellybeans (p less than 0.05) are statistically significant.

One would expect that 1 out of 20 tests would give results with a p less than or equal to 0.05 if the hypothesis was false. If one didn’t, one could reasonably suspect that ones method of calculating p values was flawed.

Transcript

[Person with a pony tail runs up to another person, who subsequently points off-panel where there are presumably scientists.]
Ponytail: Jelly beans cause acne!
Another: Scientists! Investigate!
Scientists: But we&'re playing Minecraft!
Scientists: ... Fine.
[Two scientists. One has safety goggles, the other has a sheet of notes.]
Goggles: We found no link between jelly beans and acne (p > 0.05).
[Back to the original two.]
Another: That settles that.
Ponytail: I hear it's only a certain color that causes it.
Another: Scientists!
Scientists: But Miiiinecraft!
[20 near identical small panels follow, 4 rows 5 columns.]
Goggles: We found no link between purple jelly beans and acne (p > 0.05).
Goggles: We found no link between brown jelly beans and acne (p > 0.05).
Goggles: We found no link between pink jelly beans and acne (p > 0.05).
Goggles: We found no link between blue jelly beans and acne (p > 0.05).
Goggles: We found no link between teal jelly beans and acne (p > 0.05).
Goggles: We found no link between salmon jelly beans and acne (p > 0.05).
Goggles: We found no link between red jelly beans and acne (p > 0.05).
Goggles: We found no link between turquoise jelly beans and acne (p > 0.05).
Goggles: We found no link between magenta jelly beans and acne (p > 0.05).
Goggles: We found no link between yellow jelly beans and acne (p > 0.05).
Goggles: We found no link between grey jelly beans and acne (p > 0.05).
Goggles: We found no link between tan jelly beans and acne (p > 0.05).
Goggles: We found no link between cyan jelly beans and acne (p > 0.05).
Goggles: We found a link between green jelly beans and acne (p < 0.05).
Off-panel: WHOA!
Goggles: We found no link between yellow jelly beans and acne (p > 0.05).
Goggles: We found no link between beige jelly beans and acne (p > 0.05).
Goggles: We found no link between lilac jelly beans and acne (p > 0.05).
Goggles: We found no link between black jelly beans and acne (p > 0.05).
Goggles: We found no link between peach jelly beans and acne (p > 0.05).
Goggles: We found no link between orange jelly beans and acne (p > 0.05).
[Newspaper front page.]
NEWS Green Jelly Beans Linked To Acne! 95% Confidence
[There is a picture of 3 green jelly beans.]
Only 5% chance of coincidence!
Scientists...
comment.png add a comment! ⋅ comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

No comments yet!