Skip to content

arviz-devs/arviz-stats

arviz-stats

Run tests codecov Powered by NumFOCUS

ArviZ (pronounced "AR-vees") is a Python package for exploratory analysis of Bayesian models. It includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.

arviz-stats is the subpackage in charge of the statistical and diagnostics computations.

ArviZ in other languages

ArviZ also has a Julia wrapper available ArviZ.jl.

Documentation

The ArviZ documentation can be found in the official docs. Here are some quick links for common scenarios:

Installation

Stable

ArviZ is available for installation from PyPI. The latest stable version can be installed using pip:

pip install "arviz-stats[xarray]"

Note that it is also possible to install arviz-stats without the [xarray]. Doing that will install a minimal package, which only depends on numpy and scipy. Consequently, the functions that take arrays as inputs will be available, but many features won’t be available.

This is mostly aimed at advanced users or libraries that want to use ArviZ to compute diagnostics and statistical summaries but don’t want to depend on xarray.

Development

The latest development version can be installed from the main branch using pip:

pip install git+git://github.com/arviz-devs/arviz-stats.git

Another option is to clone the repository and install using git and setuptools:

git clone https://github.com/arviz-devs/arviz-stats.git
cd arviz-stats
python setup.py install

Citation

If you use ArviZ and want to cite it please use DOI

Here is the citation in BibTeX format

@article{Martin2026,
doi = {10.21105/joss.09889},
url = {https://doi.org/10.21105/joss.09889},
year = {2026},
publisher = {The Open Journal},
volume = {11},
number = {119},
pages = {9889},
author = {Martin, Osvaldo A. and Abril-Pla, Oriol and Deklerk, Jordan and Axen, Seth D. and Carroll, Colin and Hartikainen, Ari and Vehtari, Aki},
title = {ArviZ: a modular and flexible library for exploratory analysis of Bayesian models},
journal = {Journal of Open Source Software}}

Contributions

ArviZ is a community project and welcomes contributions. Additional information can be found in the contributing guide

Code of Conduct

ArviZ wishes to maintain a positive community. Additional details can be found in the Code of Conduct

Donations

ArviZ is a non-profit project under NumFOCUS umbrella. If you want to support ArviZ financially, you can donate here.

Sponsors and Institutional Partners

Aalto University FCAI NumFOCUS

The ArviZ project website has more information about each sponsor and the support they provide.

About

Statistical computation and diagnostics for ArviZ.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors

Languages