Introducing my younger son to the Poisson distribution – part 2

Last week I did a brief introduction to the Poisson distribution with my younger son. That project is here:

https://mikesmathpage.wordpress.com/2021/05/09/introducing-some-basic-ideas-about-the-poisson-distribution-to-my-younger-son/

Today I dove in a little more to see if he could see some of the patterns that emerge in the distribution. We started with a quick review and a look at data from a few simulations I ran:



Next we looked at the data from four simulations with an averages of 1, 2, 3, and 4 events expected per year. It was a little hard for him to see the overall pattern, but after a few hints he was able to see what was going on:

To wrap up today, we looked at the pattern from the simulations and tried to write down the pattern that we’d expect to see for an event that happens 5 times per year on average. At the end of this video he was able to write down a formula for the general pattern!

Introducing some basic ideas about the Poisson distribution to my younger son

For our project today, I though it would be fun to talk about the Poisson distribution. For me it is one of the most interesting and important ideas in probability. This question, for instance, is fascinating -> If a random event happens on average once per time period, what is the probability that it happens twice?

I started the introduction with a version of the idea I mentioned above and asked my son for some estimates of what he thought the answer would be:



Then we looked at some simulations. Here I’m looking at the idea of a random event that happens on average once per year and chopping the year up into 52 weeks:

Next I chopped the year up into 365 days – would we get different answers?

This project turned out to be a little more interesting to my son than I was expecting – I’m looking forward to exploring Poisson distributions a bit more next week.

The paradox of the 2nd ace part 2

Yesterday we did a project on this fun problem from Futility Closet:

Today we finished the project by talking about the 2nd part of the problem and then having a discussion about why the answers to the two questions were different. Unfortunately there were two camera goofs by me filming this project – forgetting to zoom out in part 1 and running out of memory in part 4 – but if you go through all 4 videos you’ll still get the main idea.

Here’s the introduction to the problem and my son’s solution to the 2nd part of the problem. Again, sorry for the poor camera work.

Next we went to the computer to verify that the calculations were correct – happily, we agreed with the answer given by Futility Closet.

In the last video my son was struggling to see why the answers to the two questions were so different. I’d written two simulations to show the difference. In this part we talked about the difference, but he was still confused.

Here we try to finish the conversation about the difference, and we did get most of the way to the end. Probably just needed 30 extra seconds of recording time 😦 But, at least my son was able to see why the answers to the two questions are different and the outputs from the simulations finally made sense to him.

So, not the best project from the technical side, but still a fun problem and a really interesting idea to talk through with kids.

Part two of talking through the Bayes’ theorem chapter of How not to be Wrong with the boys

Yesterday we did an introductory project on Bayes’ Theorem inspired by chapter 10 of Jordan Ellenberg’s How not to be Wrong:

https://mikesmathpage.wordpress.com/2021/01/23/talking-through-a-bayes-theorem-problem/

Yesterday’s discussion helped the boys understand the problem that Ellenberg is discussion in chapter 10 of his book a bit better (hopefully anyway!). Today we took a crack at replicating the calculations in the book relating to the roulette wheel example.

First we revisited the example from the book to make sure we had a good handle on the problem:

Next we talked through the details of the process that we’ll have to follow to replicate the calculations that Ellenberg does. Following the discussion here the boys did the calculations off camera:

Here we talk through the numbers that the boys found off camera – happily we agreed with the numbers in the book.

At the end of this video I introduce a slight variation on the problem – instead of getting R, R, R, R, R in a test of 5 rolls, we get an alternating sequence of R and B for 20 rolls:

Here are their answers – and a discussion of why they think the answers make sense – for the new case I introduced in part 3 of the project:

This two project combination was really fun. My younger son said that he was confused by the roulette wheel example, but I think after these two projects he understands it. I think it is a challenging example for a 9th grader to understand, but with a little discussion it is an accessible example. It certainly makes for a nice way to share some introductory ideas about Bayesian inference.

Extending our project exploring the Pólya Urn

Yesterday my younger son and I looked at the Pólya Urn problem inspired by this sequence of tweets from Ole Peters and Marcos Carreira:



Today I had my son explore a little further. He was interested to see if different starting positions led to different distributions of endings. He looked at five different starting positions. Here’s the first (with a quick review of the problem) when the urn starts with 5 black and 5 white balls and we play the game 1,000 times:



Next he looked at how the starting position with 1 black ball and 5 white balls evolved. The way the distribution of the number of white balls at the end changes is pretty amazing:



Now for the most surprising one of all – the starting position with 1 white ball and 1 black ball – it seems that ending with 1 white ball or 1001 white balls (or any amount in between!) is equally likely:

Finally he looked at the starting position with 1 black ball and 10 white balls. This one is a little less surprsing having already seen the 1 black ball and 5 white ball game, but still it was neat to see:

This is a fun little game for kids to study. It is also a nice introductory programming exercise, too. Thanks so much to Ole and Marcos for sharing their ideas!


Playing around with Polya’s Urn thanks to Ole Peters and Marcos Carreira

I saw a great twitter thread earlier in the week:



With the results and the code presented so nicely, diving into Polya’s Urn with my younger so this weekend was a no brainer!

I started by explaining the problem and asking for his thoughts. His intuition about how the game and how it would play out was fascinating to hear:



After he explained what he thought would happen, we played the game once:



Next we went to the computer to explore the game in more detail. Before diving in, though, I had my son explain Carreira’s code:



Finally, we played the game a few times and looked at the different outcomes. The results really are amazing. Hopefully we’ll do a follow up project tomorrow:

Working through a Bayes’ Theorem problem thanks to help from Julia Anker

My younger son is working through an introductory probability and stats book this school year. This week he came across a problem in the Bayes’ Theorem section that really gave him a lot of trouble. I was a little caught off guard by how much difficulty he was having with the problem (and how little my help was helping!) but then we got a great bit of luck when Julia Anker posted her solution to the problem:



I had my son work through Anker’s solution yesterday and today we talked about the problem. Here’s the introduction to the problem and to his thoughts about Anker’s work:

At the end of the last video I had my son pick two of the regions in Anker’s diagram to see if we could verify the calculation. Here’s the calculation for the first region:



Here’s the calculation for the second region and an overall wrap up on the problem:

I’m extremely graful to Julia Anker for sharing her solution to the problem. It is an odd problem to have spent 5 days on for sure, but thanks to the extra help my son was really able to turn the corner and understand the problem. Math twitter is the best!

A fun – and surprising – statistics project inspired by Freya Holmér’s geometry twitter thread

Yesterday we did a neat geometry project inspired by an amazing thread from Freya Holmér:



here’s that project:

https://mikesmathpage.wordpress.com/2020/10/17/using-a-great-twitter-thread-from-freya-holmer-for-a-geometry-project-with-my-younger-son/

Today we are extending that project by trying to find the expected area of the circle when the three points are inside of a unit square.

To start the project we talked through a bit of the geometry that we need to answer the question about the expected area of the circle:

Before jumping into the computer simulation we had to check a few more geometric details – here we talk about using Heron’s formula:

Now my son took 15 min off camera to write a simulation to find the expected value of the area of the circle. Here he walks through the program and we look at several sets of 1,000 trials:



Finally, we finish up with a bit of a surprise – switching to 10,000 trials, we find that the mean still doesn’t seem to converge!



Turns out the expected area of the circle is infinite – that’s why we aren’t seeing the mean in our simulations converge. I think this is a great way to show kids an example where the Central Limit Theorem doesn’t apply.

A nice introductory statistics conversation with my younger son

My younger son wants to learn more about statistics. I’m excited to come up with some projects, though our journey here is probably not going to look like a typical statistics class.

My first idea was to have him investigate coin flips and look at similarities and differences with 10, 100, and 1000 coin flips. But really before we even got started he had a really interesting question.

So, here’s how he described the program I had him write ahead of time, and then we discuss the question he had -> In 100 flips, why did it seem that the chance of getting less than or equal to 50 heads was more than 50%?

To start diving in to his question, we first looked at sequences of 100 flips to get a better sense of what was going on. Interestingly, on a test look at 10 sequences, we did find that 6/10 had less than 50 heads:

Now we looked at the distribution of heads in 100 flips using Mathematica’s Histogram function – it was really interesting to hear him describe the different distributions that we saw:



Finally we talked about why my son was seeing what he was seeing in his coin flip program.

Revisiting Futility Closet’s “Paradox of the 2nd Ace” with my younger son

This week my younger son told me he wanted to learn a bit more about statistics. By lucky coincidence I happened to stumble on one of our old projects while trying to answer a question on twitter:

https://mikesmathpage.wordpress.com/2018/12/01/introducing-the-boys-to-futility-closets-paradox-of-the-second-ace/

This project was about a fun probability problem I learned in this tweet from Jon Cook:



I stared by introducing the problem to my son and asked what he thought the answer was going to be:



Then we started in on the calculations. Finding the probability that someone having “at least one ace” had more than one was a little challenging, but we found the right approach after a few tries:



Next up was calculating the probability that someone who had the ace of spades would have a second ace. After the work we did in the last part, this calculation was easier:



Finally, we went to the Futility Closet page to see the numbers and then I asked my son why he thought the surprising result was true.

Definitely a fun project and a neat probability surprise for kids to see.