README.md
1<img src="https://arviz-devs.github.io/arviz/_static/logo.png" height=100></img>
2
3[![PyPI version](https://badge.fury.io/py/arviz.svg)](https://badge.fury.io/py/arviz)
4[![Azure Build Status](https://dev.azure.com/ArviZ/ArviZ/_apis/build/status/arviz-devs.arviz?branchName=main)](https://dev.azure.com/ArviZ/ArviZ/_build/latest?definitionId=1&branchName=main)
5[![codecov](https://codecov.io/gh/arviz-devs/arviz/branch/main/graph/badge.svg)](https://codecov.io/gh/arviz-devs/arviz)
6[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
7[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/arviz-devs/community)
8[![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2540945.svg)](https://doi.org/10.5281/zenodo.2540945)
9[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)](https://numfocus.org)
10# ArviZ
11
12ArviZ (pronounced "AR-_vees_") is a Python package for exploratory analysis of Bayesian models.
13Includes functions for posterior analysis, data storage, model checking, comparison and diagnostics.
14
15### ArviZ in other languages
16ArviZ also has a Julia wrapper available [ArviZ.jl](https://arviz-devs.github.io/ArviZ.jl/stable/).
17
18## Documentation
19
20The ArviZ documentation can be found in the [official docs](https://arviz-devs.github.io/arviz/index.html).
21First time users may find the [quickstart](https://arviz-devs.github.io/arviz/getting_started/Introduction.html)
22to be helpful. Additional guidance can be found in the
23[usage documentation](https://arviz-devs.github.io/arviz/usage.html).
24
25
26## Installation
27
28### Stable
29ArviZ is available for installation from [PyPI](https://pypi.org/project/arviz/).
30The latest stable version can be installed using pip:
31
32```
33pip install arviz
34```
35
36ArviZ is also available through [conda-forge](https://anaconda.org/conda-forge/arviz).
37
38```
39conda install -c conda-forge arviz
40```
41
42### Development
43The latest development version can be installed from the main branch using pip:
44
45```
46pip install git+git://github.com/arviz-devs/arviz.git
47```
48
49Another option is to clone the repository and install using git and setuptools:
50
51```
52git clone https://github.com/arviz-devs/arviz.git
53cd arviz
54python setup.py install
55```
56
57-------------------------------------------------------------------------------
58## [Gallery](https://arviz-devs.github.io/arviz/examples/index.html)
59
60<p>
61<table>
62<tr>
63
64 <td>
65 <a href="https://arviz-devs.github.io/arviz/examples/plot_forest_ridge.html">
66 <img alt="Ridge plot"
67 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_forest_ridge_thumb.png" />
68 </a>
69 </td>
70
71 <td>
72 <a href="https://arviz-devs.github.io/arviz/examples/plot_parallel.html">
73 <img alt="Parallel plot"
74 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_parallel_minmax_thumb.png" />
75 </a>
76 </td>
77
78 <td>
79 <a href="https://arviz-devs.github.io/arviz/examples/plot_trace.html">
80 <img alt="Trace plot"
81 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_trace_bars_thumb.png" />
82 </a>
83 </td>
84
85 <td>
86 <a href="https://arviz-devs.github.io/arviz/examples/plot_density.html">
87 <img alt="Density plot"
88 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_density_thumb.png" />
89 </a>
90 </td>
91
92 </tr>
93 <tr>
94
95 <td>
96 <a href="https://arviz-devs.github.io/arviz/examples/plot_posterior.html">
97 <img alt="Posterior plot"
98 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_posterior_thumb.png" />
99 </a>
100 </td>
101
102 <td>
103 <a href="https://arviz-devs.github.io/arviz/examples/plot_joint.html">
104 <img alt="Joint plot"
105 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_joint_thumb.png" />
106 </a>
107 </td>
108
109 <td>
110 <a href="https://arviz-devs.github.io/arviz/examples/plot_ppc.html">
111 <img alt="Posterior predictive plot"
112 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_ppc_thumb.png" />
113 </a>
114 </td>
115
116 <td>
117 <a href="https://arviz-devs.github.io/arviz/examples/plot_pair.html">
118 <img alt="Pair plot"
119 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_pair_thumb.png" />
120 </a>
121 </td>
122
123 </tr>
124 <tr>
125
126 <td>
127 <a href="https://arviz-devs.github.io/arviz/examples/plot_energy.html">
128 <img alt="Energy Plot"
129 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_pair_hex_thumb.png" />
130 </a>
131 </td>
132
133 <td>
134 <a href="https://arviz-devs.github.io/arviz/examples/plot_violin.html">
135 <img alt="Violin Plot"
136 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_violin_thumb.png" />
137 </a>
138 </td>
139
140 <td>
141 <a href="https://arviz-devs.github.io/arviz/examples/plot_forest.html">
142 <img alt="Forest Plot"
143 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_forest_thumb.png" />
144 </a>
145 </td>
146
147 <td>
148 <a href="https://arviz-devs.github.io/arviz/examples/plot_autocorr.html">
149 <img alt="Autocorrelation Plot"
150 src="https://raw.githubusercontent.com/arviz-devs/arviz/gh-pages/_static/plot_autocorr_thumb.png" />
151 </a>
152 </td>
153
154</tr>
155</table>
156
157## Dependencies
158
159ArviZ is tested on Python 3.6, 3.7 and 3.8, and depends on NumPy, SciPy, xarray, and Matplotlib.
160
161
162## Citation
163
164
165If you use ArviZ and want to cite it please use [![DOI](http://joss.theoj.org/papers/10.21105/joss.01143/status.svg)](https://doi.org/10.21105/joss.01143)
166
167Here is the citation in BibTeX format
168
169```
170@article{arviz_2019,
171 doi = {10.21105/joss.01143},
172 url = {https://doi.org/10.21105/joss.01143},
173 year = {2019},
174 publisher = {The Open Journal},
175 volume = {4},
176 number = {33},
177 pages = {1143},
178 author = {Ravin Kumar and Colin Carroll and Ari Hartikainen and Osvaldo Martin},
179 title = {ArviZ a unified library for exploratory analysis of Bayesian models in Python},
180 journal = {Journal of Open Source Software}
181}
182```
183
184
185## Contributions
186ArviZ is a community project and welcomes contributions.
187Additional information can be found in the [Contributing Readme](https://github.com/arviz-devs/arviz/blob/main/CONTRIBUTING.md)
188
189
190## Code of Conduct
191ArviZ wishes to maintain a positive community. Additional details
192can be found in the [Code of Conduct](https://github.com/arviz-devs/arviz/blob/main/CODE_OF_CONDUCT.md)
193
194## Donations
195ArviZ is a non-profit project under NumFOCUS umbrella. If you want to support ArviZ financially, you can donate [here](https://numfocus.org/donate-to-arviz).
196
197## Sponsors
198[![NumFOCUS](https://www.numfocus.org/wp-content/uploads/2017/07/NumFocus_LRG.png)](https://numfocus.org)
199