A web app to visualize distributions in Stan. It uses Stan Math C++ code to evaluate the log probability density/mass functions. The Stan Math C++ is compiled to Webassembly using Emscripten. d3.js is used for visualizations.
This was inspired by the distribution zoo. The main differences of this approach are:
This currently supports the majority of Stan’s univariate continuous distributions. Missing discrete distributions will be added shortly.
Contributed by @noejn2.
git clone https://github.com/rok-cesnovar/stan-distributions/
This is required in order to serve the .wasm files. The actual computation still happens in the browser.
python3 -m http.server 8000