All Projects → StanJulia → Cmdstan.jl

StanJulia / Cmdstan.jl

Licence: mit
CmdStan.jl v6 provides an alternative, older Julia wrapper to Stan's `cmdstan` executable.

Programming Languages

julia
2034 projects

Labels

Projects that are alternatives of or similar to Cmdstan.jl

Bda r demos
Bayesian Data Analysis demos for R
Stars: ✭ 409 (+1263.33%)
Mutual labels:  mcmc, stan
Shinystan
shinystan R package and ShinyStan GUI
Stars: ✭ 172 (+473.33%)
Mutual labels:  mcmc, stan
Ggmcmc
Graphical tools for analyzing Markov Chain Monte Carlo simulations from Bayesian inference
Stars: ✭ 95 (+216.67%)
Mutual labels:  mcmc, stan
covidestim
Bayesian nowcasting with adjustment for delayed and incomplete reporting to estimate COVID-19 infections in the United States
Stars: ✭ 20 (-33.33%)
Mutual labels:  stan, mcmc
cmdstanr
CmdStanR: the R interface to CmdStan
Stars: ✭ 82 (+173.33%)
Mutual labels:  stan, mcmc
Bayesplot
bayesplot R package for plotting Bayesian models
Stars: ✭ 276 (+820%)
Mutual labels:  mcmc, stan
Stan.jl
Stan.jl illustrates the usage of the 'single method' packages, e.g. StanSample, StanOptimize, etc.
Stars: ✭ 163 (+443.33%)
Mutual labels:  mcmc, stan
walker
Bayesian Generalized Linear Models with Time-Varying Coefficients
Stars: ✭ 38 (+26.67%)
Mutual labels:  stan, mcmc
Rstan
RStan, the R interface to Stan
Stars: ✭ 760 (+2433.33%)
Mutual labels:  mcmc, stan
Torsten
library of C++ functions that support applications of Stan in Pharmacometrics
Stars: ✭ 38 (+26.67%)
Mutual labels:  stan, mcmc
Bda py demos
Bayesian Data Analysis demos for Python
Stars: ✭ 781 (+2503.33%)
Mutual labels:  mcmc, stan
Brms
brms R package for Bayesian generalized multivariate non-linear multilevel models using Stan
Stars: ✭ 825 (+2650%)
Mutual labels:  stan
Dbda Python
Doing Bayesian Data Analysis, 2nd Edition (Kruschke, 2015): Python/PyMC3 code
Stars: ✭ 502 (+1573.33%)
Mutual labels:  mcmc
Math
The Stan Math Library is a C++ template library for automatic differentiation of any order using forward, reverse, and mixed modes. It includes a range of built-in functions for probabilistic modeling, linear algebra, and equation solving.
Stars: ✭ 494 (+1546.67%)
Mutual labels:  stan
Deepbayes
Bayesian methods in deep learning Summer School
Stars: ✭ 15 (-50%)
Mutual labels:  mcmc
Gpmicrobiome
A novel probabilistic approach to explicitly model overdispersion and sampling zeros in 16S rRNA sequencing data by considering the temporal correlation between nearby time points using Gaussian Processes
Stars: ✭ 5 (-83.33%)
Mutual labels:  stan
Orbit
A Python package for Bayesian forecasting with object-oriented design and probabilistic models under the hood.
Stars: ✭ 346 (+1053.33%)
Mutual labels:  stan
Bayadera
High-performance Bayesian Data Analysis on the GPU in Clojure
Stars: ✭ 342 (+1040%)
Mutual labels:  mcmc
Rstanarm
rstanarm R package for Bayesian applied regression modeling
Stars: ✭ 285 (+850%)
Mutual labels:  stan
Covid19model
Code for modelling estimated deaths and cases for COVID19.
Stars: ✭ 913 (+2943.33%)
Mutual labels:  stan

CmdStan

Project Status Documentation Build Status

Purpose

A package to run Stan's cmdstan executable from Julia.

Prerequisites

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).

Versions

Release 6.0.9

  1. Switch to GitHub actions.

Release 6.0.8

  1. Thanks to @yiyuezhuo, a function extract has been added to simplify grouping variables into a NamedTuple.
  2. Stanmodel's output_format argument has been extended with an option to request conversion to a NamedTuple.
  3. Updated CSV.read to specify Dataframe argument

Release 6.0.7

  1. Compatibility updates
  2. Cmdstan version updates.

Release 6.0.2-6

  1. Fixed an issue related to naming of created files. Thanks to mkshirazi.
  2. Several bumps to deal with package versions.
  3. Re-enabling Coverage.

Release 6.0.2

  1. Init files were not properly included in cmd. Thanks to ueliwechsler and andrstef.

Release 6.0.1

  1. Removed dependency on Documenter.

Release 6.0.0 contains:

  1. Revert back to output an array by default.
  2. Switch to Requires.jl to delay/prevent loading of MCMCChains if not needed (thanks to suggestions by @Byrth and Stijn de Waele).
  3. 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.

Documentation

  • STABLEdocumentation of the most recently tagged version.
  • DEVELdocumentation of the in-development version.

Questions and issues

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.

References

There is no shortage of good books on Bayesian statistics. A few of my favorites are:

  1. Bolstad: Introduction to Bayesian statistics

  2. Bolstad: Understanding Computational Bayesian Statistics

  3. Gelman, Hill: Data Analysis using regression and multileve,/hierachical models

  4. McElreath: Statistical Rethinking

  5. Gelman, Carlin, and others: Bayesian Data Analysis

  6. Lee, Wagenmakers: Bayesian Cognitive Modeling

  7. Kruschke:Doing Bayesian Data Analysis

  8. Betancourt: A Conceptual Introduction to Hamiltonian Monte Carlo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].