Some Hacker News Discussions of this:
1. https://news.ycombinator.com/item?id=13735714
2. https://news.ycombinator.com/item?id=13760353
I wish they'd cover the sample space/parameter space distinction "harder", as it seems key to the numerous philosophical divides in the foundations of statistics & probability theory, and it seems like a very good candidate for colorful & animated visualization.
Also, note that the classic coin flipping example used there right in the beginning serves as an extremely bad & misleading analogy, see here for why:
https://econ.ucsb.edu/~doug/240a/Coin%20Flip.htm
I wish we'd stop using it in Stats & Physics 101, or at least add huge disclaimers to it, something like "Coins don't actually behave this way, not even mathematically idealized ones".
Also, there are lots of (abstract) mathematical nuances to explore around coin flipping once you get into stochastic processes (there are special aspects of Bernoulli RVs with p=0.5).
Besides, sometimes an imperfect example is a better one--it can stimulate thought and discussion about how well concepts--like modeling a coin flip with a random variable--map to the real world.
https://www.stat.columbia.edu/~gelman/research/published/dic...
I have some blog posts on developing biased coins and dice, and the results show that any coin with a measurable bias is quite obviously not fair:
https://izbicki.me/blog/how-to-create-an-unfair-coin-and-pro...
whereas you can undetectably bias dice at home with just a bit of water:
https://izbicki.me/blog/how-to-cheat-at-settlers-of-catan-by...
It ALSO does describe this, yes. However, the way you phrased your comment makes it seem like that contradicts what I said whereas it doesn't seem to, as the post I linked also outlines innate issues with fair coin flip protocols:
>Let's assume the coin is fabricated perfectly, down to the last vigintillionth of a yoctometer. And, since it's possible to train one's thumb to flip a coin such that it comes up heads or tails a huge percentage of the time, let's assume the person flipping the coin isn't a magician or a prestidigitator. In other words, let's assume both a perfect coin and an honest toss, such as the kind you might make with a friend to decide who pays for lunch.
>
>In that case there's an absolute right and wrong answer to the age-old question...
>
> Heads or tails?
>
>...because the two outcomes of a typical coin flip are not equally likely.
>
>The 50-50 proposition is actually more of a 51-49 proposition, if not worse. The sacred coin flip exhibits (at minimum) a whopping 1% bias, and possibly much more. 1% may not sound like a lot, but it's more than the typical casino edge in a game of blackjack or slots.
The comments there then further discuss this.
What metaphor for a Bernoulli trial do you prefer?
[1] http://www.cs.cmu.edu/~odonnell/papers/probability-and-compu...
Does anyone know of packages or libraries that can help you do this? Or do I just need to hack my own JavaScript?
[1] https://pudding.cool/process/how-to-implement-scrollytelling...
Scrollytelling is a terrible name! But at least theres a term for it.
But seriously, all of these interactive visualizations are amazing. I wish they had this kind of stuff when I was an undergrad. I remember trying to plot the beta distribution for different alpha and beta parameters in MATLAB trying to get an intuition for it; just dragging the sliders around on the prior and watching it update as each data point comes in is a million times more accessible.
[1] http://varianceexplained.org/statistics/beta_distribution_an...