User-facing R functions are provided to parse, compile, test, estimate, and analyze Stan models by accessing the header-only Stan library provided by the 'StanHeaders' package. The Stan project develops a probabilistic programming language that implements full Bayesian statistical inference via Markov Chain Monte Carlo, rough Bayesian inference via 'variational' approximation, and (optionally penalized) maximum likelihood estimation via optimization. In all three cases, automatic differentiation is used to quickly and accurately evaluate gradients without burdening the user with the need to derive the partial derivatives.
Version: | 2.32.6 |
Depends: | R (≥ 3.4.0), StanHeaders (≥ 2.32.0) |
Imports: | methods, stats4, inline (≥ 0.3.19), gridExtra (≥ 2.3), Rcpp (≥ 1.0.7), RcppParallel (≥ 5.1.4), loo (≥ 2.4.1), pkgbuild (≥ 1.2.0), QuickJSR, ggplot2 (≥ 3.3.5) |
LinkingTo: | Rcpp (≥ 1.0.7), RcppEigen (≥ 0.3.4.0.0), BH (≥ 1.75.0-0), StanHeaders (≥ 2.32.0), RcppParallel (≥ 5.1.4) |
Suggests: | testthat (≥ 3.0.4), parallel, KernSmooth, shinystan, bayesplot, rmarkdown, rstantools, rstudioapi, Matrix, knitr, coda, V8 |
Published: | 2024-03-05 |
DOI: | 10.32614/CRAN.package.rstan |
Author: | Jiqiang Guo [aut], Jonah Gabry [aut], Ben Goodrich [cre, aut], Andrew Johnson [aut], Sebastian Weber [aut], Hamada S. Badr [aut], Daniel Lee [ctb], Krzysztof Sakrejda [ctb], Modrak Martin [ctb], Trustees of Columbia University [cph], Oleg Sklyar [cph] (R/cxxfunplus.R), The R Core Team [cph] (R/pairs.R, R/dynGet.R), Jens Oehlschlaegel-Akiyoshi [cph] (R/pairs.R), John Maddock [cph] (gamma.hpp), Paul Bristow [cph] (gamma.hpp), Nikhar Agrawal [cph] (gamma.hpp), Christopher Kormanyos [cph] (gamma.hpp), Bronder Steve [ctb] |
Maintainer: | Ben Goodrich <benjamin.goodrich at columbia.edu> |
BugReports: | https://github.com/stan-dev/rstan/issues/ |
License: | GPL (≥ 3) |
URL: | https://mc-stan.org/rstan/, https://discourse.mc-stan.org |
NeedsCompilation: | yes |
SystemRequirements: | GNU make, pandoc |
Citation: | rstan citation info |
Materials: | NEWS |
In views: | Bayesian, MixedModels |
CRAN checks: | rstan results |
Reference manual: | rstan.pdf |
Vignettes: |
Simulation Based Calibration Interfacing with External C++ Code RStan stanfit objects |
Package source: | rstan_2.32.6.tar.gz |
Windows binaries: | r-devel: rstan_2.32.6.zip, r-release: rstan_2.32.6.zip, r-oldrel: rstan_2.32.6.zip |
macOS binaries: | r-release (arm64): rstan_2.32.6.tgz, r-oldrel (arm64): rstan_2.32.6.tgz, r-release (x86_64): rstan_2.32.6.tgz, r-oldrel (x86_64): rstan_2.32.6.tgz |
Old sources: | rstan archive |
Please use the canonical form https://CRAN.R-project.org/package=rstan to link to this page.