Learn R Programming

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

rstanarm (version 2.15.3)

Bayesian Applied Regression Modeling via Stan

Description

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.

Copy Link

Version

Install

install.packages('rstanarm')

Monthly Downloads

15,417

Version

2.15.3

License

GPL (>= 3)

Maintainer

Ben Goodrich

Last Published

April 29th, 2017

Functions in rstanarm (2.15.3)

loo_predict.stanreg

Compute weighted expectations using LOO
model.frame.stanreg

model.frame method for stanreg objects
adapt_delta

Target average acceptance probability
as.matrix.stanreg

Extract the posterior sample
formula.stanreg

formula method for stanreg objects
get_y

Extract X, Y or Z from a stanreg object
pp_check.stanreg

Graphical posterior predictive checks
pp_validate

Model validation via simulation
pairs.stanreg

Pairs method for stanreg objects
plot.stanreg

Plot method for stanreg objects
posterior_predict.stanreg

Draw from posterior predictive distribution
posterior_vs_prior

Juxtapose prior and posterior
print.stanreg

Print method for stanreg objects
prior_summary.stanreg

Summarize the priors used for an rstanarm model
predict.stanreg

Predict method for stanreg objects
predictive_error.stanreg

In-sample or out-of-sample predictive errors
model.matrix.stanreg

model.matrix method for stanreg objects
neg_binomial_2

Family function for negative binomial GLMs
rstanarm-deprecated

Deprecated functions
rstanarm-package

Applied Regression Modeling via RStan
priors

Prior distributions and options
rstanarm-datasets

Datasets for rstanarm examples
stan_polr

Bayesian ordinal regression models via Stan
stanreg-methods

Methods for stanreg objects
se

Extract standard errors
shinystan

Using the ShinyStan GUI with rstanarm models
stan_glmer

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

Bayesian regularized linear models via Stan
stanreg-objects

Fitted model objects
summary.stanreg

Summary method for stanreg objects
stan_betareg

Bayesian beta regression models via Stan
stan_biglm

Bayesian regularized linear but big models via Stan
example_model

Example model
family.stanreg

family method for stanreg objects
stan_gamm4

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

Bayesian generalized linear models via Stan
terms.stanreg

terms method for stanreg objects
log_lik.stanreg

Pointwise log-likelihood matrix
loo.stanreg

Information criteria and cross-validation
posterior_interval.stanreg

Posterior uncertainty intervals
posterior_linpred.stanreg

Posterior distribution of the linear predictor
predictive_interval.stanreg

Predictive intervals
print.kfold

Print method for kfold