All functions

adapt_delta

Target average acceptance probability

as.matrix as.array as.data.frame

Extract the posterior sample

bayes_R2

Compute a Bayesian version of R-squared for regression models

example_model

Example model

launch_shinystan

Using the ShinyStan GUI with rstanarm models

log_lik

Pointwise log-likelihood matrix

loo_predict loo_linpred loo_predictive_interval

Compute weighted expectations using LOO

loo waic kfold compare_models

Information criteria and cross-validation

neg_binomial_2

Family function for negative binomial GLMs

pairs

Pairs method for stanreg objects

plot

Plot method for stanreg objects

posterior_interval

Posterior uncertainty intervals

posterior_linpred

Posterior distribution of the linear predictor

posterior_predict

Draw from posterior predictive distribution

posterior_vs_prior

Juxtapose prior and posterior

pp_check

Graphical posterior predictive checks

pp_validate

Model validation via simulation

predict

Predict method for stanreg objects

predictive_error

In-sample or out-of-sample predictive errors

predictive_interval

Predictive intervals

print

Print method for stanreg objects

prior_summary

Summarize the priors used for an rstanarm model

normal student_t cauchy hs hs_plus laplace lasso product_normal exponential decov dirichlet R2

Prior distributions and options

rstanarm-datasets

Datasets for rstanarm examples

prior_options

Deprecated functions

rstanarm-package

Applied Regression Modeling via RStan

stan_betareg stan_betareg.fit

Bayesian beta regression models via Stan

stan_biglm stan_biglm.fit

Bayesian regularized linear but big models via Stan

stan_gamm4 plot_nonlinear

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

stan_glm stan_glm.nb stan_glm.fit

Bayesian generalized linear models via Stan

stan_glmer stan_lmer stan_glmer.nb

Bayesian generalized linear models with group-specific terms via Stan

stan_aov stan_lm stan_lm.wfit stan_lm.fit

Bayesian regularized linear models via Stan

stan_nlmer

Bayesian nonlinear models with group-specific terms via Stan

stan_polr stan_polr.fit

Bayesian ordinal regression models via Stan

coef confint fitted nobs residuals se update vcov fixef ngrps ranef sigma VarCorr

Methods for stanreg objects

stanreg-objects

Fitted model objects

summary print as.data.frame

Summary method for stanreg objects