Hacker Newsnew | comments | show | ask | jobs | submit login

Approximating a normal distribution by summing three uniformly distributed random numbers is pretty clever. And it's a nice visual effect as well.



A nice illustration of the central limit theorem! http://en.wikipedia.org/wiki/Central_limit_theorem

This means there's nothing special about 3 - the more times you add uniforms together, the more normal it becomes. Also it doesn't matter if the uniform isn't uniform.

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: