Someone texted me the following image and asked for my response. So what would I rather do? Flip 3 coins… Read more
Category: Probability
Revisiting some old R-code
One of my first blog posts on this site simulated rolling a die 6 times and observing if side i… Read more
Profile likelihood ratio confidence intervals
When you fit a generalized linear model (GLM) in R and call confint on the model object, you get confidence… Read more
Earthquake data and Benford’s Law
Much has been written about Benford's Law, that weird phenonmenon where if you have a naturally occuring set of numerical… Read more
Permutation Tests
Let's talk about permutation tests and why we might want to do them. First think about the two-sample t-test. The… Read more
A Probability Problem in Heredity – Part 3
In my previous two posts I showed worked solutions to problems 2.5 and 11.7 in Bulmer’s Principles of Statistics, both… Read more
A Probability Problem in Heredity
Here’s a fun problem in heredity from the Dover classic Principles of Statistics by M.G. Bulmer. It’s from chapter 2,… Read more
Buffon’s Needle Problem, or How to use Probability to Estimate Pi
I gave a presentation on Buffon’s Needle Problem in a job interview once. Here’s the presentation I gave in PDF… Read more
A Combinatorial Simulation
I have started a new book called The Art of R Programming by Norman Matloff and I’m really digging it…. Read more
Simulating the Monty Hall Problem
Back in 1990, the following question was posed to PARADE magazine columnist, Marilyn Vos Savant (once holder of the Guinness World Record for highest… Read more