View Source ExStan (ExStan v0.1.1)
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.
Summary
Functions
Builds (compiles) a Stan program.
Functions
Builds (compiles) a Stan program.
Parameters
program_code
: Stan program code describing a Stan model.data
: An Elixir map providing the data for the model. Variable names are the keys and the values are their associated values. Default is an empty map, suitable for Stan programs with nodata
block.random_seed
: Random seed, a positive integer for random number generation. Used to ensure that results can be reproduced.
Returns
Model
: an instance of Model
Notes
C++ reserved words and Stan reserved words may not be used for variable names; see the Stan User's Guide for a complete list.