Snippets tagged bayestheorem

  • Bayesian Monte Carlo of Let's Make a Deal

    This code illustrates Bayes' Theorem in action on the Let's Make a Deal problem (aka Monty Hall Problem), which several authors have used to illustrate Bayes' Theorem. (It's easy to search the internet for further explanation.) Run with the audit option to audit up to the first 100 games. Running without audit is faster and can simulate a couple billion games.

    5 people like this

    Posted: 11 years ago by Jack Fox

  • Bayesian Inference with Infer.Net: M&M problem

    Solve a sample problem from the book "Think Bayes" by Allen B. Downey. Shows how the problem can be modeled with Infer.Net and also provide the manual solution as presented in the book. The code relies on the Infer.Net "FSharpWrapper" project which is not included in the nuget package (as of now).

    4 people like this

    Posted: 2 years ago by Faisal Waris