# 882: Significant

(5 intermediate revisions by 4 users not shown) | |||

Line 8: | Line 8: | ||

==Explanation== | ==Explanation== | ||

− | This comic is about the | + | This comic is about the misrepresentation of science and statistics in the media. [[Megan]] and [[Cueball]] commission some research on the link between jelly beans and acne. At first the scientists do not want to stop playing the addictive game {{w|Minecraft}} (which has been referenced in a [[861|previous xkcd]]), but they do eventually start. |

First some basic statistical theory. Let's imagine you are trying to find out if jelly beans cause acne. To do this you could find a group of people and randomly split them into two groups - one group who you get to eat lots of jelly beans and a second group who are banned from eating jelly beans. After some time you compare whether the group that eat jelly beans have more acne than those who do not. If more people in the group that eat jelly beans have acne then you might think that jelly beans cause acne. However, there is a problem. | First some basic statistical theory. Let's imagine you are trying to find out if jelly beans cause acne. To do this you could find a group of people and randomly split them into two groups - one group who you get to eat lots of jelly beans and a second group who are banned from eating jelly beans. After some time you compare whether the group that eat jelly beans have more acne than those who do not. If more people in the group that eat jelly beans have acne then you might think that jelly beans cause acne. However, there is a problem. | ||

− | 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. 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 would have had acne anyway while those who didn't eat jelly beans were the lucky sort of people who never get spots? Then, even if jelly beans did not cause acne, we would conclude that jelly beans did cause acne. Of course it is very unlikely that all the acne prone people end up in one group by chance, 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 find is purely by chance. This is known as {{w|statistical hypothesis testing}}. Before we start the experiment, we choose a threshold known as the significance level. In the comic the scientists choose a threshold of 5%. If they find | + | 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. 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 would have had acne anyway while those who didn't eat jelly beans were the lucky sort of people who never get spots? Then, even if jelly beans did not cause acne, we would conclude that jelly beans did cause acne. Of course it is very unlikely that all the acne prone people end up in one group by chance, 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 find is purely by chance. This is known as {{w|statistical hypothesis testing}}. Before we start the experiment, we choose a threshold known as the significance level. In the comic the scientists choose a threshold of 5%. If they find that more of the people who ate jelly beans had acne and the chance it was a purely random result is less than 1 in 20, they will say that jelly beans do cause acne. If however, the chance that their result was purely by random chance is greater than 5% they will say they have found no evidence of a link. The important point is this - '''there could still be a 1 in 20 chance that this result was purely a statistical fluke'''. |

The scientists find no link between jelly beans and acne (the probability that the result is by chance is more than 5% i.e. p > 0.05) but then Megan and Cueball ask them to see if only one colour of jelly beans is responsible. They test 20 different colors each at a significance level of 5%. If the probability that each trial gives a false positive result is 1 in 20, then by testing 20 different colors it is now highly likely that at least one jelly bean test will give a false positive. To be precise, the probability of having ''no'' false positive in 20 tests is (0.95)^20 = 35.85%. Probability of having ''no'' false positive in 21 tests (counting the test without color discrimination) is (0.95)^21 = 34.06%. In this case they find that green jelly beans do cause acne. | The scientists find no link between jelly beans and acne (the probability that the result is by chance is more than 5% i.e. p > 0.05) but then Megan and Cueball ask them to see if only one colour of jelly beans is responsible. They test 20 different colors each at a significance level of 5%. If the probability that each trial gives a false positive result is 1 in 20, then by testing 20 different colors it is now highly likely that at least one jelly bean test will give a false positive. To be precise, the probability of having ''no'' false positive in 20 tests is (0.95)^20 = 35.85%. Probability of having ''no'' false positive in 21 tests (counting the test without color discrimination) is (0.95)^21 = 34.06%. In this case they find that green jelly beans do cause acne. | ||

Line 82: | Line 82: | ||

:Only 5% chance of coincidence! | :Only 5% chance of coincidence! | ||

:Scientists... | :Scientists... | ||

− | |||

− | |||

− | |||

{{comic discussion}} | {{comic discussion}} | ||

Line 90: | Line 87: | ||

[[Category:Comics featuring Megan]] | [[Category:Comics featuring Megan]] | ||

[[Category:Comics featuring Ponytail]] | [[Category:Comics featuring Ponytail]] | ||

− | |||

[[Category:Comics with color]] | [[Category:Comics with color]] | ||

[[Category:Statistics]] | [[Category:Statistics]] | ||

+ | [[Category:Video games]] |

## Revision as of 20:23, 18 August 2014

Significant |

Title text: So, uh, we did the green study again and got no link. It was probably a-- "RESEARCH CONFLICTED ON GREEN JELLY BEAN/ACNE LINK; MORE STUDY RECOMMENDED!" |

## Explanation

This comic is about the misrepresentation of science and statistics in the media. Megan and Cueball commission some research on the link between jelly beans and acne. At first the scientists do not want to stop playing the addictive game Minecraft (which has been referenced in a previous xkcd), but they do eventually start.

First some basic statistical theory. Let's imagine you are trying to find out if jelly beans cause acne. To do this you could find a group of people and randomly split them into two groups - one group who you get to eat lots of jelly beans and a second group who are banned from eating jelly beans. After some time you compare whether the group that eat jelly beans have more acne than those who do not. If more people in the group that eat jelly beans have acne then you might think that jelly beans cause acne. However, there is a problem.

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. 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 would have had acne anyway while those who didn't eat jelly beans were the lucky sort of people who never get spots? Then, even if jelly beans did not cause acne, we would conclude that jelly beans did cause acne. Of course it is very unlikely that all the acne prone people end up in one group by chance, 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 find is purely by chance. This is known as statistical hypothesis testing. Before we start the experiment, we choose a threshold known as the significance level. In the comic the scientists choose a threshold of 5%. If they find that more of the people who ate jelly beans had acne and the chance it was a purely random result is less than 1 in 20, they will say that jelly beans do cause acne. If however, the chance that their result was purely by random chance is greater than 5% they will say they have found no evidence of a link. The important point is this - **there could still be a 1 in 20 chance that this result was purely a statistical fluke**.

The scientists find no link between jelly beans and acne (the probability that the result is by chance is more than 5% i.e. p > 0.05) but then Megan and Cueball ask them to see if only one colour of jelly beans is responsible. They test 20 different colors each at a significance level of 5%. If the probability that each trial gives a false positive result is 1 in 20, then by testing 20 different colors it is now highly likely that at least one jelly bean test will give a false positive. To be precise, the probability of having *no* false positive in 20 tests is (0.95)^20 = 35.85%. Probability of having *no* false positive in 21 tests (counting the test without color discrimination) is (0.95)^21 = 34.06%. In this case they find that green jelly beans do cause acne.

This leads to a big newspaper headline saying **GREEN JELLY BEANS CAUSE ACNE** but when the scientists repeat the experiment (another key part of the scientific method) they find no evidence for a link. They try to tell the reporter that it was probably a coincidence but that is not news. Instead it leads to another major headline saying **RESEARCH CONFLICTED**.

This can be an issue with more serious matters than jelly beans and acne - at any one time there are many studies about possible links between substances (e.g. red wine) and illness (e.g. cancer). Because only the positive results get reported, this limits the value any single study has - especially if the mechanism linking the two things is not known.

## Transcript

- [Ponytail 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! ...Fine.

- [Two scientists. Cueball has safety goggles, Megan has a sheet of notes.]
- Cueball: 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.]
- Cueball: We found no link between purple jelly beans and acne (p > 0.05).

- Cueball: We found no link between brown jelly beans and acne (p > 0.05).

- Cueball: We found no link between pink jelly beans and acne (p > 0.05).

- Cueball: We found no link between blue jelly beans and acne (p > 0.05).

- Cueball: We found no link between teal jelly beans and acne (p > 0.05).

- Cueball: We found no link between salmon jelly beans and acne (p > 0.05).

- Cueball: We found no link between red jelly beans and acne (p > 0.05).

- Cueball: We found no link between turquoise jelly beans and acne (p > 0.05).

- Cueball: We found no link between magenta jelly beans and acne (p > 0.05).

- Cueball: We found no link between yellow jelly beans and acne (p > 0.05).

- Cueball: We found no link between grey jelly beans and acne (p > 0.05).

- Cueball: We found no link between tan jelly beans and acne (p > 0.05).

- Cueball: We found no link between cyan jelly beans and acne (p > 0.05).

- Cueball: We found a link between green jelly beans and acne (p < 0.05).
- Off-panel:
*WHOA!*

- Cueball: We found no link between yellow jelly beans and acne (p > 0.05).

- Cueball: We found no link between beige jelly beans and acne (p > 0.05).

- Cueball: We found no link between lilac jelly beans and acne (p > 0.05).

- Cueball: We found no link between black jelly beans and acne (p > 0.05).

- Cueball: We found no link between peach jelly beans and acne (p > 0.05).

- Cueball: 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...

**add a comment!**⋅

**refresh comments!**

# Discussion

Those lazy scientists are playing minecraft instead of curing cancer! Lynch 'em! __Davidy__^{22}`[talk]` 00:35, 11 January 2013 (UTC)

- But I heard that Minecraft cures cancer... Scientists! Investigate! <off: cheers from active group, boos from the control group> 178.99.81.144 19:31, 30 April 2013 (UTC)

Um, I take it that whoever explained this comic can't tell the difference between < and >, as the fact that the confidence was changed wasn't mentioned in the article... 76.246.37.141 23:19, 20 September 2013 (UTC)

- Yes, I also figured out this today, green is lower than 0.05, on other colors there is just a confidence that it's NOT lower than 0.05. The newspaper did add this remaining 19 panels to 95%. The article is marked as incomplete, it needs a major rewrite.--Dgbrt (talk) 19:12, 3 October 2013 (UTC)

This explanation seems to misinterpret α. α is the chance of rejecting a true null hypothesis, a false positive. The 5% here is α. The correct interpretation of it is that if the null hypothesis is true, there is a 5% chance that we will mistakenly reject it. P in "P<0.05" is the chance that, if the null hypothesis is true, a result as extreme as, or more extreme than, the result we get from this experiment. **α is not the chance that, given our current data, the null hypothsis is true. We wish to know what that is, but we do not know.**108.162.215.72 08:52, 16 May 2014 (UTC)

In layman's terms, the comic appears to misrepresent what "95% confidence" (p <0.05) means. The statistic "p < 0.05" means that when we find a correlation based on data, that correlation will be a false positive fewer than 5 percent of the time. In other words, when we observe the correlation in the data, that correlation actually exists in the real world at least 19 out of 20 times. It **does not** mean that 1 out of every 20 tests will produce a false positive. This comic displays a pretty significant failure in understanding of Bayesian mathematics. The 5% chance isn't a 5% chance that any test will produce a (false) positive; it's a 5% chance that a statistical positive is a false positive. 108.162.219.196 (talk) *(please sign your comments with ~~~~)*

- No, you are deeply mistaken. The comic and the comment above you are correct in saying that if the null hypothesis holds, 1 out of every 20 tests will produce a false positive: this is by definition of the p-value. The ratio of true positives to false positives can range anywhere from 0 to infinity, and there is unfortunately no way to predict it. 108.162.229.121 09:46, 27 January 2015 (UTC)

Is the "e" in "News" supposed to look like an epsilon (and the "w" a rotated epsilon)? 108.162.250.222 15:00, 15 December 2014 (UTC)

- It's probably just a stylistic thing. GrandPiano (talk) 04:00, 28 January 2015 (UTC)