| What it is | Just Another Gibbs Sampler: MCMC for Bayesian hierarchical models | Probabilistic programming language for Bayesian statistical modelling | Command-line interface to Stan for compiling and running Bayesian models | R interface to Stan, for Bayesian inference |
| Features | - MCMC (Gibbs sampling) for Bayesian hierarchical models
- BUGS modelling language
- extensible with custom functions, distributions and samplers
- rjags R interface
| - Stan modelling language
- NUTS Hamiltonian Monte Carlo sampling
- ADVI variational inference and L-BFGS optimisation
- Stan Math automatic differentiation library
- interfaces for the command line, Python, R, Julia, MATLAB, Mathematica and Stata
| - MCMC sampling with NUTS (Hamiltonian Monte Carlo)
- optimization with BFGS, L-BFGS and Newton
- Pathfinder and ADVI variational inference
- Laplace sampling
- stansummary and diagnose for MCMC output
- stanc3 compiler from Stan to C++
| - compile and fit Stan models from R
- MCMC sampling for full Bayesian inference
- variational inference and penalised maximum likelihood
- automatic differentiation of the model's gradients
|