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.21.7 |
Depends: | R (≥ 3.4.0), StanHeaders (≥ 2.21.0), ggplot2 (≥ 3.0.0) |
Imports: | methods, stats4, inline, gridExtra (≥ 2.0.0), Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), loo (≥ 2.3.0), pkgbuild |
LinkingTo: | Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), BH (≥ 1.72.0-2), StanHeaders (≥ 2.21.0), RcppParallel |
Suggests: | RUnit, RcppEigen (≥ 0.3.3.3.0), BH (≥ 1.72.0-2), parallel, KernSmooth, shinystan (≥ 2.3.0), bayesplot (≥ 1.5.0), rmarkdown, rstantools, rstudioapi, Matrix, knitr (≥ 1.15.1), V8 |
Published: | 2022-09-08 |
Author: | Jiqiang Guo [aut], Jonah Gabry [aut], Ben Goodrich [cre, aut], Sebastian Weber [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 |
CRAN checks: | rstan results |
Reference manual: | rstan.pdf |
Vignettes: |
Simulation Based Calibration Interfacing with External C++ Code RStan stanfit objects |
Package source: | rstan_2.21.7.tar.gz |
Windows binaries: | r-devel: rstan_2.21.7.zip, r-release: rstan_2.21.7.zip, r-oldrel: rstan_2.21.7.zip |
macOS binaries: | r-release (arm64): rstan_2.21.5.tgz, r-oldrel (arm64): rstan_2.21.5.tgz, r-release (x86_64): rstan_2.21.7.tgz, r-oldrel (x86_64): rstan_2.21.7.tgz |
Old sources: | rstan archive |
Please use the canonical form https://CRAN.R-project.org/package=rstan to link to this page.