rstanarm v2.17.3


Monthly downloads



Bayesian Applied Regression Modeling via Stan

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.

Functions in rstanarm

Name Description
get_y Extract X, Y or Z from a stanreg object
model.frame.stanmvreg model.frame method for stanmvreg objects
plot.survfit.stanjm Plot the estimated subject-specific or marginal survival function
posterior_interval.stanreg Posterior uncertainty intervals
reexports Objects exported from other packages
rstanarm-datasets Datasets for rstanarm examples
stan_gamm4 Bayesian generalized linear additive models with optional group-specific terms via Stan
bayes_R2.stanreg Compute a Bayesian version of R-squared for regression models
stan_glm Bayesian generalized linear models via Stan
example_jm Example joint longitudinal and time-to-event model
terms.stanmvreg terms method for stanmvreg objects
terms.stanreg terms method for stanreg objects
log_lik.stanreg Pointwise log-likelihood matrix
loo.stanreg Information criteria and cross-validation
pp_validate Model validation via simulation
predict.stanreg Predict method for stanreg objects
priors Prior distributions and options
ps_check Graphical checks of the estimated survival function
adapt_delta Target average acceptance probability
se Extract standard errors
stan_betareg Bayesian beta regression models via Stan
stanreg-objects Fitted model objects
summary.stanreg Summary method for stanreg objects
as.matrix.stanreg Extract the posterior sample
neg_binomial_2 Family function for negative binomial GLMs
pairs.stanreg Pairs method for stanreg objects
posterior_survfit Estimate subject-specific or standardised survival probabilities
posterior_traj Estimate the subject-specific or marginal longitudinal trajectory
rstanarm-deprecated Deprecated functions
prior_summary.stanreg Summarize the priors used for an rstanarm model
print.survfit.stanjm Generic print method for survfit.stanjm objects
rstanarm-package Applied Regression Modeling via RStan
stanmvreg-methods Methods for stanmvreg objects
stanreg-methods Methods for stanreg objects
family.stanreg family method for stanreg objects
formula.stanreg formula method for stanreg objects
model.frame.stanreg model.frame method for stanreg objects
model.matrix.stanreg model.matrix method for stanreg objects
posterior_vs_prior Juxtapose prior and posterior
pp_check.stanreg Graphical posterior predictive checks
predictive_error.stanreg In-sample or out-of-sample predictive errors
predictive_interval.stanreg Predictive intervals
stan_biglm Bayesian regularized linear but big models via Stan
example_model Example model
stan_clogit Conditional logistic (clogit) models via Stan
stan_aov Bayesian regularized linear models via Stan
family.stanmvreg family method for stanmvreg objects
stan_mvmer Bayesian multivariate generalized linear models with correlated group-specific terms via Stan
plot.predict.stanjm Plot the estimated subject-specific or marginal longitudinal trajectory
plot.stanreg Plot method for stanreg objects
posterior_linpred.stanreg Posterior distribution of the linear predictor
posterior_predict.stanreg Draw from posterior predictive distribution
print.kfold Print method for kfold
print.stanreg Print method for stanreg objects
stan_glmer Bayesian generalized linear models with group-specific terms via Stan
stan_jm Bayesian joint longitudinal and time-to-event models via Stan
stan_polr Bayesian ordinal regression models via Stan
stan_nlmer Bayesian nonlinear models with group-specific terms via Stan
loo_predict.stanreg Compute weighted expectations using LOO
launch_shinystan.stanreg Using the ShinyStan GUI with rstanarm models
No Results!

Vignettes of rstanarm

No Results!

Last month downloads


Type Package
Date 2018-02-17
License GPL (>= 3)
LinkingTo StanHeaders (>= 2.17.1), rstan (>= 2.17.2), BH (>= 1.65.0), Rcpp (>= 0.12.0), RcppEigen (>=
SystemRequirements GNU make, pandoc (>= 1.12.3), pandoc-citeproc
VignetteBuilder knitr
LazyData true
NeedsCompilation yes
RoxygenNote 5.0.1
Packaged 2018-02-17 05:11:16 UTC; goodrich
Repository CRAN
Date/Publication 2018-02-18 04:48:42 UTC

Include our badge in your README