NEEEEEEEEEEEERDS! (Actually, Skittles)

Today I found this blog post, which is a follow-up to another blog post talking about how many bags of Skittles would need to be observed before two identical packs (same number of candies, same color distribution) were discovered.

In this follow-up post, the author also looks at the overall distribution of the colors across the packs and finds the following:

(Image from here)

They remark: “The most common and controversial question asked about Skittles seems to be whether all five flavors are indeed uniformly distributed…I leave it to an interested reader to consider and analyze whether this departure from uniformity is significant.”

Well, I am an interested reader, so here we go.

We’re going to test the claim that the flavors* are uniformly distributed (by stating that the proportions of each of these five flavors are equal) against the claim that the flavors are not uniformly distributed (by stating that at least one proportion differs from the others).


Let’s use p-value = 0.05.

The author has graciously made their data available to the public, so I snagged it up and got the following information:


Applying a chi-square goodness-of-fit test, we get the following results:


Since our p-value of 0.001 < 0.05, we reject H0 and conclude that at least one of the above proportions differs from the expected 0.20 under the null hypothesis. This means that statistically, the proportions are significantly different.

…I should be getting stuff ready for the end of the semester. Or working on my NaNo. Why did I do this?

*I’m using color rather than flavor, since a) “red” is easier to type than “strawberry” and b) candy flavors such as these are MEANINGLESS TO MY BROKEN NOSE

What sayest thou? Speak!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: