Learn R Programming

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

rstanarm (version 2.9.0-3)

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

15,417

Version

2.9.0-3

License

GPL (>= 3)

Maintainer

Ben Goodrich

Last Published

February 13th, 2016

Functions in rstanarm (2.9.0-3)

get_y

Extract X, Y or Z from a stanreg object
se

Extract standard errors
stan_aov

Bayesian regularized linear models via Stan
posterior_interval

Posterior uncertainty intervals
priors

Prior distributions and options
predict.stanreg

Predict method for stanreg objects
stan_glm

Bayesian generalized linear models via Stan
rstanarm-datasets

Datasets for rstanarm examples
formula.stanreg

formula method for stanreg objects
pairs.stanreg

Pairs method for stanreg objects
model.matrix.stanreg

model.matrix method for stanreg objects
plot.stanreg

Plot method for stanreg objects
stan_glmer

Bayesian generalized linear models with group-specific terms via Stan
stan_gamm4

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

Methods for stanreg objects
log_lik

Extract pointwise log-likelihood matrix
as.matrix.stanreg

Extract posterior sample
neg_binomial_2

Family function for negative binomial GLMs
rstanarm-package

Applied Regression Modeling via RStan
pp_check

Graphical posterior predictive checks
shinystan

Using the ShinyStan GUI with stanreg objects
example_model

Example model
summary.stanreg

Summary method for stanreg objects
terms.stanreg

terms method for stanreg objects
plots

Plots for rstanarm models
family.stanreg

family method for stanreg objects
adapt_delta

Target average acceptance probability
print.stanreg

Print method for stanreg objects
loo.stanreg

Leave-one-out cross-validation (LOO)
stanreg-objects

Fitted model objects
posterior_predict

Draw from posterior predictive distribution
stan_polr

Bayesian ordinal regression models via Stan
model.frame.stanreg

model.frame method for stanreg objects