The Central Limit Theorem Visualized with D3
41–50 of 80 posts
Re: The Central Limit Theorem Visualized with D3
#42Earlier quoted context omitted.
Why isn't it the central limit theorem? It is taking random results and building a distribution which looks normal.
Imagine you have a population that is NOT normally distributed. Take a large sample of it, and calculate the mean of your sample. Then take another large sample of that population and calculate its mean. Keep doing this. Think of each sample mean as a data point that gives you an estimate of the mean of the whole population. The Central Limit Theorem says (approximately, and there are conditions) that those sample-me…
Re: The Central Limit Theorem Visualized with D3
#43Kind of a misleading animation, since n is the number of switches (4) and not the number of balls (which diverges to infinity). Setting the bins to 500 froze the browser, unfortunately. The physical machines that do this are undeniably cool, but especially when they have the curve painted on beforehand; this is the best I could find right now, but I remember seeing a pretty big one as part of a traveling mathematics…
When I worked at DEKA, I met a guy who designed and built an invertible Galton Box. The ball-holder was circular and if you spun it one way, the balls would fall into the expected bell curve. But if you turned it the other way, the pins would shift very subtly - so little you wouldn't really notice - but the balls would fall in a perfect inverse bell curve, with most of the balls on the outside and very few in the mi…
Re: The Central Limit Theorem Visualized with D3
#44Kind of a misleading animation, since n is the number of switches (4) and not the number of balls (which diverges to infinity). Setting the bins to 500 froze the browser, unfortunately. The physical machines that do this are undeniably cool, but especially when they have the curve painted on beforehand; this is the best I could find right now, but I remember seeing a pretty big one as part of a traveling mathematics…
what browser are you using? the bins tag has a max value set to 25
Re: The Central Limit Theorem Visualized with D3
#45Earlier quoted context omitted.
Why isn't it the central limit theorem? It is taking random results and building a distribution which looks normal.
Imagine you have a population that is NOT normally distributed. Take a large sample of it, and calculate the mean of your sample. Then take another large sample of that population and calculate its mean. Keep doing this. Think of each sample mean as a data point that gives you an estimate of the mean of the whole population. The Central Limit Theorem says (approximately, and there are conditions) that those sample-me…
Re: The Central Limit Theorem Visualized with D3
#46Kind of a misleading animation, since n is the number of switches (4) and not the number of balls (which diverges to infinity). Setting the bins to 500 froze the browser, unfortunately. The physical machines that do this are undeniably cool, but especially when they have the curve painted on beforehand; this is the best I could find right now, but I remember seeing a pretty big one as part of a traveling mathematics…
what browser are you using? the bins tag has a max value set to 25
Re: The Central Limit Theorem Visualized with D3
#47while i have the attention of HN, does anyone have suggestions on any other types of statistic visualizations?
Re: The Central Limit Theorem Visualized with D3
#48[1]: http://en.wikipedia.org/wiki/Binomial_distribution
Re: The Central Limit Theorem Visualized with D3
#49Re: The Central Limit Theorem Visualized with D3
#50Earlier quoted context omitted.
Imagine you have a population that is NOT normally distributed. Take a large sample of it, and calculate the mean of your sample. Then take another large sample of that population and calculate its mean. Keep doing this. Think of each sample mean as a data point that gives you an estimate of the mean of the whole population. The Central Limit Theorem says (approximately, and there are conditions) that those sample-me…
No, it does show multiple sample means. Each landing spot is the sum (scaled average) of the n - 1 bernoulli rvs, where n is the number of bins. The issue is that n is small.
As btilly points out elsewhere, to actually obtain the correct limit, you have to normalize the sum correctly. Because of the way the scaling is done in this graphic, as you increase the number of levels, it's in effect normalizing the sum by dividing by "n". To get the right limit, you need to divide by sqrt(n).
In this sense, the CLT is a high-resolution version of the SLLN ("law of averages"). If you normalize the sums by 1/n, the resulting average converges to a number, the mean.
But if instead you subtract this mean, and normalize by 1/sqrt(n) rather than 1/n, the result converges in distribution, and looks like a normal random variable.
By less aggressive normalization, you get information about the fluctuations rather than just pounding it down to a number, as the SLLN does.
I used to TA a probability class for undergrads, and I found the demo to be perfectly reasonable.