Created a Poisson Distribution that didn't quite fit the data.
Kevin Pledger
The first animation implied a data-to-curve link it never showed. At 0:12 it shows a count of how many for each window, and at 0:15, the disappear the counts graph and created a 2D distribution of a Poisson distribution. There was no connection between the two and so I ran its numbers. It was close, but not quite.
The mean is 23 ÷ 8 = 2.875, and Mathify rounded that to 3.0.
The steps:
- Total windows: n = 1 + 2 + 0 + 1 + 2 + 2 = 8
- Total events: (0·1) + (1·2) + (2·0) + (3·1) + (4·2) + (5·2) = 23
- Estimate λ: 23 / 8 = 2.875. The sample mean is the maximum-likelihood estimate for Poisson.
- Compute P(k) = λᵏe^(−λ) / k!, starting from e^(−2.875) ≈ 0.0564. Each next term is the previous one × λ/k:
k P(k) at λ=2.875 Expected (×8) Observed Mathify (λ=3)
0 0.056 0.45 1 0.050
1 0.162 1.30 2 0.149
2 0.233 1.87 0 0.224
3 0.223 1.79 1 0.224
4 0.161 1.28 2 0.168
5 0.092 0.74 2 0.101
6+ 0.072 0.57 0 0.084
What Mathify skipped:
- The λ calculation. It jumped straight to "λ = 3.0" without showing 23/8. It also rounded, so its second graph doesn’t show the fit to this data. It shows a neat textbook case.
- The bridge between the two graphs. The first graph is the data. The second is a theoretical curve. With n = 8 they shouldn’t look alike: your data has no 2s, and 2 is the most likely value. That gap is just small-sample noise, but the animation never puts the two side by side, so you can’t see it.
- A sanity check. Poisson implies variance ≈ mean. Its sample variance is about 3.8 against a mean of 2.875. That’s somewhat overdispersed, but with 8 windows there isn’t enough data to call it.
Photo Viewer
View photos in a modal
J

Jose Alvarez Cabrera
Hi Kevin,
Thank you for checking the numbers and writing all of this up. You're right, and your table helped us find the cause.
What happened: the λ = 3 wasn't 2.875 rounded. To explain the distribution, the animation made up 8 random windows from a Poisson process with λ = 3, and then drew the curve for that same λ. So both scenes used λ = 3, but the video said so in only one caption that disappeared within a few seconds. After that it showed the counts, asked "P(count = k)?", faded the data out and drew the curve. That suggests the curve fits your 8 windows, and as you showed, it doesn't. With n = 8 it can't: no windows with 2 events, sample variance about 3.8. The video should either have estimated λ from the data it showed or said clearly that the data was simulated, and either way put the two side by side. It did neither.
What we changed: we added a set of rules the animation generator now follows for any statistics or probability request, even when the request doesn't mention data:
- Say on screen where the data comes from: yours, simulated, or none.
- Never show data and then a textbook curve without connecting them. Either estimate the parameter from the data shown, with the arithmetic and no silent rounding (λ = 23/8 = 2.875), or label the data as simulated and show its estimate next to the true value.
- Overlay observed and expected counts (n · P(k)) on the same chart, without fading the data out first.
- With a small sample, say that the mismatch is sampling noise.
- Present "mean = variance" as a property of the model, and compute the sample's mean and variance if data is on screen.
Your two follow-up prompts, with the frequency table, the exact λ, the overlay and the 100-window comparison, were the clearest description of what the animation should have done. We used your 8 windows as the worked example. It reproduces your expected counts exactly, including the 6+ row.
If you try a statistics animation again, I'd like to know whether it holds up to the same check.
Thanks again,
José
Founder
Kevin Pledger
Jose Alvarez Cabrera Hi José. Wow, thank you for getting back to me. I am sorry for the delay. Thank you for the explanation. I just started a new statistics animation, and I left it purposely vague: "Can you make a video explanation of what makes the log-normal distribution different from the normal distribution?"
I just want to see what it makes of that, literally. It's in progress.
---
It's done. https://mathify.dev/m/dd443d3a-d036-473f-a550-71f4d1d2f954
Hey, that was pretty good once the voiceover came into effect. It didn't use numbers to show what it meant by "summing steps" and "multiplying steps", and so that will probably be my next ask of it.
Also, just from a pedagogical standpoint (since I can never take my teacher hat off even after these several years outside the classroom), I would have led with the examples, segued into the differences, and THEN noted how one of the distributions can be "changed" into the other (i.e., showing the similarities between the two).
But that last part wouldn't be a fair criticism on my part since, as I said, I purposely asked a vague question. I didn't give it any criteria to include or any structure for the video or lay out any pedagogical guidelines.
Still. It was pretty darn good three-minute explainer