How allendowney/thinkbayes2 works
Think Bayes 2 is a free, computational introduction to Bayesian statistics. Its documented user workflow is to read a chapter and run its Jupyter notebook examples and exercises; exercise solutions are a separate capability. The visible tree contains analysis scripts and supporting utilities, but not the chapter notebooks or the core Bayesian library, so the graph shows representative analyses rather than claiming a complete execution pipeline. Relationships between analyses and their outputs are omitted where the excerpts do not establish them.
Main entry points: Filist.py File text utility · effect_soln.py Effect solution · hockey.py Hockey analysis · train3.py Train example
Components 16
Book and learning
- Chapter notebooks
- Exercise solutions
Bayesian examples
- BRFSS analysis
scripts/brfss.py - Height variability
scripts/variability.py - Effect solution
scripts/effect_soln.py - Hockey analysis
scripts/hockey.py - Dice example
scripts/dice.py - Train example
scripts/train3.py
Supporting utilities
- CSV row reader
scripts/columns.py - File text utility
book/Filist.py - Book preprocessing
book/preprocess.py - Book postprocessing
book/postprocess.py - Notebook preparation
jb/prep_notebooks.py - Notebook editing tools
jntools.py - Solution scrubbing
soln/scrub_code.py
Other components
- Reader / learner
Connections 7
- Reader / learner → Chapter notebooks: reads and runs
- Reader / learner → Exercise solutions: consults
- Effect solution → Height variability: imports
scripts/effect_soln.py - Hockey analysis → CSV row reader: reads CSV
scripts/hockey.py - Train example → Dice example: imports
scripts/train3.py - Book preprocessing → File text utility: uses
book/preprocess.py - Book postprocessing → File text utility: uses
book/postprocess.py