Tagged “Lea”

May 4, 2015

Probabilistic programming with Python and Lea

In this post I will cover installation of a probabilistic programming package for Python called Lea and provide some simple examples of using the package to do calculations with joint, conditional and marginal distributions. These examples follow the by-hand calculations done in a previous post.


May 27, 2015

Revisiting the medical tests example with Python and Lea

In this post I will use Python, and the probabilistic programming package Lea, to re-analyze an example of Bayes' Theorem covered in an earlier post. The focus will be on translating the by-hand calculations into Python code.