Exploring and eliciting probability distributions
===================================================
|PyPI version|
|Tests|
|Coverage|
|Ruff|
|DOI|
.. |PyPI version| image:: https://badge.fury.io/py/preliz.svg
:target: https://badge.fury.io/py/preliz
.. |Tests| image:: https://github.com/arviz-devs/preliz/actions/workflows/test.yml/badge.svg
:target: https://github.com/arviz-devs/preliz
.. |Coverage| image:: https://codecov.io/gh/arviz-devs/preliz/branch/main/graph/badge.svg?token=SLJIK2O4C5
:target: https://codecov.io/gh/arviz-devs/preliz
.. |Ruff| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
.. |DOI| image:: https://joss.theoj.org/papers/10.21105/joss.05499/status.svg
:target: https://doi.org/10.21105/joss.05499
Overview
========
Prior elicitation refers to the process of transforming the knowledge of a particular domain into well-defined probability distributions.
Specifying useful priors is a central aspect of Bayesian statistics. PreliZ is a Python package aimed at helping practitioners choose prior
distributions by offering a set of tools for the various facets of prior elicitation. It covers a range of methods, from unidimensional prior
elicitation on the parameter space to predictive elicitation on the observed space. The goal is to be compatible with probabilistic programming
languages (PPL) in the Python ecosystem like PyMC and PyStan, while remaining agnostic of any specific PPL.
A good companion for PreliZ is `PriorDB `_, a database of prior distributions for Bayesian analysis.
It is a community-driven project that aims to provide a comprehensive collection of prior distributions for a wide range of models and applications.
**The Zen of PreliZ**
* Being open source, community-driven, diverse and inclusive.
* Avoid fully-automated solutions, keep the human in the loop.
* Separate tasks between humans and computers, so users can retain control of important decisions while numerically demanding, error-prone or tedious tasks are automatized.
* Prevent users to become overconfident in their own opinions.
* Easily integrate with other tools.
* Allow predictive elicitation.
* Having a simple and intuitive interface suitable for non-specialists in order to minimize cognitive biases and heuristics.
* Switching between different types of visualization such as kernel density estimates plots, quantile dotplots, histograms, etc.
* Being agnostic of the underlying probabilistic programming language.
* Being modular.
.. toctree::
:maxdepth: 2
:hidden:
:caption: Getting Started
Overview
installation
api_reference
.. toctree::
:maxdepth: 2
:hidden:
:caption: Examples
gallery_content
gallery_examples
.. toctree::
:maxdepth: 1
:hidden:
:caption: References
citing
contributing
changelog
Donations
---------
PreliZ, as other ArviZ-devs projects, is a non-profit project under the NumFOCUS umbrella. If you want to support PreliZ financially, you can donate `here `_.