Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.31 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.31 KB

ExStan

ExStan is a Elixir interface to Stan, a package for Bayesian inference.

Stan® is a state-of-the-art platform for statistical modeling and high-performance statistical computation. Thousands of users rely on Stan for statistical modeling, data analysis, and prediction in the social, biological, and physical sciences, engineering, and business.

This project is primarily based on the PyStan repository.

Installation

The package can be installed by adding ex_stan to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_stan, "~> 0.1.0"}
  ]
end

ExStan requires the httpstan package to facilitate communication with the Stan compiler via the httpstan server. Installation methods vary by operating system: for most systems, httpstan can be installed using pip, while MacOS users must compile it from the source code.

Follow the tutorial in the file Iris: Linear Regression to get started with ExStan!

Status

While the core APIs have been implemented, this library is not yet production-grade, as it's missing many utility functions. We aim to add suport for them in the future releases.

Credits

This package is based entirely on the PyStan and RStan SDKs.