### David Robinson

Principal Data Scientist at Heap, works in R and Python.

Email
Twitter
Github
Stack Overflow
#### Subscribe

#### Recommended Blogs

This is the homepage and blog of David Robinson. For more about me, see here.

May 04, 2020

Solving a puzzle from 538's the Riddler column: if N prisoners have a choice to flip a coin, and go free as long as one coin is flipped and all coins are heads, what strategy should they take to maximize their chances? Another demonstration of probabilistic reasoning and tidy simulation.

April 13, 2020

Solving a puzzle from 538's The Riddler column: if new spam comments appear at an average rate of one per day, including on other spam comments, how many can we expect after three days?

January 17, 2020

If you toss n coins, what's the probability there are no streaks of k heads?

January 06, 2020

Solving a puzzle from 538's The Riddler column: what is the honeycomb (from the New York Times's Spelling Bee puzzle) that scores the highest?

January 03, 2020

A demonstration of a tidy approach to simulating the classic birthday paradox problem.