This is the repository for a version of the Distribution Zoo, built in Streamlit.
| Plots | Formulae | LaTeX | Tips | C++ | Julia | Mathematica | MATLAB | Python | R | Stan | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Continuous Univariate | |||||||||||
| Beta | |||||||||||
| Cauchy | |||||||||||
| Exponential | |||||||||||
| Gamma | 👍 | ||||||||||
| Half-Cauchy | |||||||||||
| Inverse-Chi-Squared | |||||||||||
| Inverse-Gamma | |||||||||||
| Logit-Normal | |||||||||||
| Log-Normal | |||||||||||
| Normal | 👍 | 👍 | 👍 | 👍 | 👍 | 👍 | |||||
| Student-t | |||||||||||
| Uniform | |||||||||||
| Discrete Univariate | |||||||||||
| Bernoulli | |||||||||||
| Beta-Binomial | |||||||||||
| Binomial | |||||||||||
| Discrete-Uniform | |||||||||||
| Negative-Binomial | |||||||||||
| Poisson | 👍 | ||||||||||
| Multivariate | |||||||||||
| Dirichlet | |||||||||||
| Inverse-Wishart | |||||||||||
| LKJ | |||||||||||
| Multinomial | |||||||||||
| Multivariate-Normal | |||||||||||
| Multivariate-Student-t | |||||||||||
| Wishart |
The code relating to each distribution is tested:
- to ensure each code block compiles/runs
- to ensure each code from each language is generating the same distribution (i.e. no mis-parameterisations)
As of now, only Continuous Univariate distributions have been added.
- Copy normal.py and the corresponding data directory normal
- Update parameters, and the methods in the distribution:
sliders,plot,update_code_substitutions - Modify the markdown files describing the static content, and code snippets
- Edit tests/utils.py to add an
AppTestfixture for the distribution - Add a method to tests/extract.py, copying
test_extract_normal - Add a method to tests/validate_code_output.py, copying
test_validate_normal