I'm studying Allen B. Downey's "Think Bayes: Bayesian Statistics Made Simple", version 1.0.1. This repository is for tracking exploratory code I write as I study.
I've placed commented demos in the test cases defined in "irrealis_bayes/tests.py".
I've also placed a Matplotlib plotting demo in the "examples/" subdirectory.
See test FunctionalTestPMF.test_dice_problem() in "irrealis_bayes/tests.py" for discussion:
- Choose a representation for the hypotheses.
- Choose a representation for the data.
- Write the likelihood function.
To run tests, type "python -m irrealis_bayes.tests". If you have "nose" and "coverage" installed, type "nosetests --with-coverage --cover-package=irrealis_orm".