Skip to content

fcooper8472/distribution-zoo-v2

Repository files navigation

⚠️ This is a work in progress. Visit the existing zoo instead. ⚠️

Distribution Zoo v2 concept

Link to preview the app

This is the repository for a version of the Distribution Zoo, built in Streamlit.

Distributions supported

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

Testing

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)

Adding a new distribution

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

Testing a new distribution

About

The distribution zoo, rebuilt with Streamlit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published