| What it is | Lightweight R interface to CmdStan | R interface to Stan, for Bayesian inference | Command-line interface to Stan for compiling and running Bayesian models | Probabilistic programming language for Bayesian statistical modelling |
| Features | - compile and run Stan models from R through CmdStan
- no C++ linked into R
- keeps up with Stan releases
- installs CmdStan with install_cmdstan()
| - 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
| - 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++
| - 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
|