Browsing All posts tagged under »uniqueValues( )«

Sampling until you get all six

June 4, 2013

0

A common problem goes like this: There are six different Famous Statistician cards, one (randomly) in each box of Chocolate Sugar Bombs. How many boxes do you need to buy to get all six? This is a good three-collection simulation in Fathom, and uses two little-used features, sample until and the uniqueValues( ) function. Make […]

The Key to the Birthday Problem: uniqueValues( )

May 30, 2012

2

It’s a famous probability problem: given N people in a room, what’s the probability that at least two of them share a birthday?┬áIt’s famous because the answer is often surprising: a remarkably small number (23) will give you a probability over 50%. How do you simulate it in Fathom? The key is going to be […]