A practical guide to Bayesian experimentation using Quarto.
Focus:
- Intuitive examples and explanations
- Hands-on simulations
- Pragmatic approach to real-world problems
Currently a collection of posts that may evolve into a comprehensive book.
Contributions welcome.
*.qmdor*.ipynb- Book chapters_quarto.yml- Book configuration_book/- Generated HTML output
This project requires Quarto to build and preview the book.
This project uses uv for Python dependency management.
The project uses Python 3.12. To set up the virtual environment with relevant packages:
uv sync# Add a new dependency
uv add package-name
# Add a development dependency
uv add --dev package-name
# Update dependencies
uv sync --upgrade
# Remove a dependency
uv remove package-nameAdd new chapters by creating .qmd or .ipynb files and updating _quarto.yml.
To render (or preview) only your file, use:
uv run quarto render filename.qmduv run quarto preview filename.qmdFor the whole book:
uv run quarto previewor
uv run quarto renderYou can work in Jupyter Notebook / Lab and then convert the file to quarto:
uv run quarto convert basics-jupyter.ipynb # converts to qmd
uv run quarto convert basics-jupyter.qmd # converts to ipynb