Bayesian Applied Regression Modeling via Stan

Estimates previously compiled regression models using the 'rstan' package, which provides the R interface to the Stan C++ library for Bayesian estimation. Users specify models via the customary R syntax with a formula and data.frame plus some additional arguments for priors.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rstanarm")

2.32.2 by Ben Goodrich, a year ago


https://mc-stan.org/rstanarm/, https://discourse.mc-stan.org


Report a bug at https://github.com/stan-dev/rstanarm/issues


Browse source code at https://github.com/cran/rstanarm


Authors: Jonah Gabry [aut] , Imad Ali [ctb] , Sam Brilleman [ctb] , Jacqueline Buros Novik [ctb] (R/stan_jm.R) , AstraZeneca [ctb] (R/stan_jm.R) , Trustees of Columbia University [cph] , Simon Wood [cph] (R/stan_gamm4.R) , R Core Deveopment Team [cph] (R/stan_aov.R) , Douglas Bates [cph] (R/pp_data.R) , Martin Maechler [cph] (R/pp_data.R) , Ben Bolker [cph] (R/pp_data.R) , Steve Walker [cph] (R/pp_data.R) , Brian Ripley [cph] (R/stan_aov.R , R/stan_polr.R) , William Venables [cph] (R/stan_polr.R) , Paul-Christian Burkner [cph] (R/misc.R) , Ben Goodrich [cre, aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports bayesplot, ggplot2, lme4, loo, Matrix, nlme, posterior, rstan, rstantools, shinystan, stats, survival, RcppParallel, utils, reformulas

Depends on Rcpp, methods

Suggests biglm, betareg, data.table, digest, gridExtra, HSAUR3, knitr, MASS, mgcv, rmarkdown, roxygen2, StanHeaders, testthat, gamm4, shiny, V8

Linking to StanHeaders, rstan, BH, Rcpp, RcppEigen, RcppParallel

System requirements: GNU make, pandoc (>= 1.12.3), pandoc-citeproc


Imported by BayesERtools, IRexamples, JMbdirect, SIMPLE.REGRESSION, bayesrules, jmBIG, outstandR, tidyposterior, webSDM.

Depended on by AuxSurvey, fbst.

Suggested by BayesPostEst, CLRtools, INLAjoint, RBesT, SAMprior, afex, bayesDiagnostics, bayesMeanScale, bayesics, bayesplot, bayestestR, bridgesampling, broom.helpers, broom.mixed, conformalbayes, correlation, datawizard, effectsize, embed, fastml, gdpar, ggeffects, insight, loo, marginaleffects, mellio, merTools, modelbased, modelsummary, orbital, parameters, performance, poissonreg, projpred, rdss, report, see, shinybrms, shinystan, sjPlot, spicy, tidyAML, tidybayes, valueprhr.

Enhanced by emmeans, interactions, jtools.


See at CRAN