rstanarm is an R package that emulates other R model-fitting functions but uses Stan (via the rstan package) for the back-end estimation. The primary target audience is people who would be open to Bayesian inference if using Bayesian software were easier but would use frequentist software otherwise.

Fitting models with rstanarm is also useful for experienced Bayesian software users who want to take advantage of the pre-compiled Stan programs that are written by Stan developers and carefully implemented to prioritize numerical stability and the avoidance of sampling problems.

Getting started

If you are new to rstanarm we recommend starting with the tutorial vignettes.

Installation

Install the latest release from CRAN

install.packages("rstanarm")

Instructions for installing the latest development version from GitHub can be found in the rstanarm Readme.

Contributing

If you are interested in contributing to the development of rstanarm please see the Developer notes.