Learn R Programming

⚠️There's a newer version (2.32.1) of this package.Take me there.

rstanarm (version 2.9.0-1)

Bayesian Applied Regression Modeling via Stan

Description

Estimates pre-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.

Copy Link

Version

Install

install.packages('rstanarm')

Monthly Downloads

12,100

Version

2.9.0-1

License

GPL (>= 3)

Maintainer

Ben Goodrich

Last Published

January 9th, 2016

Functions in rstanarm (2.9.0-1)

plot.stanreg

Plot method for stanreg objects
formula.stanreg

formula method for stanreg objects
summary.stanreg

Summary method for stanreg objects
print.stanreg

Print method for stanreg objects
terms.stanreg

terms method
pairs.stanreg

Pairs method for stanreg objects
stanreg-methods

Methods for stanreg objects
shinystan

Using the ShinyStan GUI with stanreg objects
loo.stanreg

Leave-one-out cross-validation (LOO)
as.matrix.stanreg

Extract posterior sample
adapt_delta

Target average acceptance probability
stan_polr

Bayesian ordinal regression models via Stan
ppcheck

ppcheck (deprecated)
predict.stanreg

Predict method for stanreg objects
plots

Plots
rstanarm-package

Applied Regression Modeling via RStan
neg_binomial_2

Family function for negative binomial GLMs
se

Extract standard errors
stan_glmer

Bayesian generalized linear models with group-specific terms via Stan
stanreg-objects

Fitted model objects
stan_aov

Bayesian regularized linear models via Stan
model.frame.stanreg

model.frame method for stanreg objects
get_y

Extract X, Y or Z from a stanreg object
stan_glm

Bayesian generalized linear models via Stan
posterior_predict

Draw from posterior predictive distribution
example_model

Example model
pp_check

Graphical posterior predictive checks
priors

Prior distributions and options
log_lik

Extract pointwise log-likelihood matrix
stan_gamm4

Bayesian generalized linear additive models with group-specific terms via Stan
model.matrix.stanreg

model.matrix method for stanreg objects
posterior_interval

Posterior uncertainty intervals
sigma

Extract residual standard deviation