Calculating Probability
Even-Toed Ungulates Stand Back in Amazement
So, even if you tend to faint at the sight of a formula, using the numerical process with a few helper scripts will lead to correct probability calculations for statistical problems that are hard to grasp with intuition alone. If you're interested, you can find more advanced resources (albeit in Python and not Perl) [3] [5] and explore the fascinating world of discrete probability distributions.
Mike Schilli
Mike Schilli works as a software engineer with Yahoo! in Sunnyvale, California. He can be contacted at mailto:mschilli@perlmeister.com. Mike's homepage can be found at http://perlmeister.com.
Infos
- Monty Hall problem: http://en.wikipedia.org/wiki/Monty_Hall_problem
- Bayes' theorem: http://en.wikipedia.org/wiki/Bayes%27_theorem
- Downey, Allen B. Think Bayes. O'Reilly, 2013
- Listings for this article: ftp://ftp.linux-magazin.com/pub/listings/magazine/165
- "Probabilistic Programming & Bayesian Methods for Hackers" by Cameron Davidson-Pilon: http://camdavidsonpilon.github.io/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)