Project Status | Documentation | Build Status |
---|---|---|
A package to run Stan's cmdstan executable from Julia.
CmdStan.jl will be deprecated in 2022. Please switch to StanSample.jl. Time permitting, Pull Requests will be merged if all tests pass and new fuctionality is tested.
For more info on Stan, please go to http://mc-stan.org.
The Julia package CmdStan.jl is based on Stan's command line interface, 'cmdstan'.
The 'cmdstan' interface needs to be installed separatedly. Please see cmdstan installation for further details.
The location of the cmdstan executable and related programs is now obtained from the environment variable JULIA_CMDSTAN_HOME. This used to be CMDSTAN_HOME.
Right now versioninfo()
will show its setting (if defined).
Release 6.2.0 - Thanks to @Byrth.
Switch from using
cd(dir) do
# stuff
run(cmd)
end
to
run(setenv(cmd, ENV; dir=dir))
in main functions.
Release 6.0.9
- Switch to GitHub actions.
Release 6.0.8
- Thanks to @yiyuezhuo, a function
extract
has been added to simplify grouping variables into a NamedTuple. - Stanmodel's output_format argument has been extended with an option to request conversion to a NamedTuple.
- Updated CSV.read to specify Dataframe argument
Release 6.0.7
- Compatibility updates
- Cmdstan version updates.
Release 6.0.2-6
- Fixed an issue related to naming of created files. Thanks to mkshirazi.
- Several bumps to deal with package versions.
- Re-enabling Coverage.
Release 6.0.2
- Init files were not properly included in cmd. Thanks to ueliwechsler and andrstef.
Release 6.0.1
- Removed dependency on Documenter.
Release 6.0.0 contains:
- Revert back to output an array by default.
- Switch to Requires.jl to delay/prevent loading of MCMCChains if not needed (thanks to suggestions by @Byrth and Stijn de Waele).
- Updates to documentation.
Release 6.0.0 is a breaking release.
To revert back to v5.x behavior a script needs to include using MCMCChains
(which thus must be installed) and specify output_format=:mcmcchains
in the call to stanmodel()
. This option is not tested on Travis. A sub-directory examples_mcmcchains has been added which demonstrate this usage pattern.
CmdStan.jl tested on cmdstan v2.21.0.
- STABLE — documentation of the most recently tagged version.
- DEVEL — documentation of the in-development version.
Question and contributions are very welcome, as are feature requests and suggestions. Please open an issue if you encounter any problems or have a question.
There is no shortage of good books on Bayesian statistics. A few of my favorites are: