rstanarm: Bayesian Applied Regression Modeling via Stan

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.

AuthorJonah Gabry [aut], Trustees of Columbia University [cph], R Core Deveopment Team [cph] (R/stan_aov.R), Douglas Bates [cph] (R/pp_data.R), Martin Maechler [cph] (R/pp_data.R), Ben Bolker [cph] (R/pp_data.R), Steve Walker [cph] (R/pp_data.R), Brian Ripley [cph] (R/stan_aov.R, R/stan_polr.R), William Venables [cph] (R/stan_polr.R), Ben Goodrich [cre, aut]
Date of publication2017-01-17 08:36:39
MaintainerBen Goodrich <benjamin.goodrich@columbia.edu>
LicenseGPL (>= 3)
Version2.14.1
https://groups.google.com/forum/#!forum/stan-users, http://mc-stan.org/

View on CRAN

Man pages

adapt_delta: Target average acceptance probability

as.matrix.stanreg: Extract the posterior sample

example_model: Example model

family.stanreg: family method for stanreg objects

formula.stanreg: formula method for stanreg objects

get_y: Extract X, Y or Z from a stanreg object

log_lik.stanreg: Pointwise log-likelihood matrix

loo.stanreg: Leave-one-out (LOO) and K-fold cross-validation

model.frame.stanreg: model.frame method for stanreg objects

model.matrix.stanreg: model.matrix method for stanreg objects

neg_binomial_2: Family function for negative binomial GLMs

pairs.stanreg: Pairs method for stanreg objects

plot.stanreg: Plot method for stanreg objects

posterior_interval.stanreg: Posterior uncertainty intervals

posterior_linpred: Posterior distribution of the linear predictor

posterior_predict.stanreg: Draw from posterior predictive distribution

posterior_vs_prior: Juxtapose prior and posterior

pp_check.stanreg: Graphical posterior predictive checks

pp_validate: Model validation via simulation

predictive_error.stanreg: In-sample or out-of-sample predictive errors

predictive_interval.stanreg: Predictive intervals

predict.stanreg: Predict method for stanreg objects

print.kfold: Print method for kfold

print.stanreg: Print method for stanreg objects

priors: Prior distributions and options

prior_summary.stanreg: Summarize the priors used for an rstanarm model

rstanarm-datasets: Datasets for rstanarm examples

rstanarm-deprecated: Deprecated functions

rstanarm-package: Applied Regression Modeling via RStan

se: Extract standard errors

shinystan: Using the ShinyStan GUI with rstanarm models

stan_betareg: Bayesian beta regression models via Stan

stan_biglm: Bayesian regularized linear but big models via Stan

stan_gamm4: Bayesian generalized linear additive models with...

stan_glm: Bayesian generalized linear models via Stan

stan_glmer: Bayesian generalized linear models with group-specific terms...

stan_lm: Bayesian regularized linear models via Stan

stan_polr: Bayesian ordinal regression models via Stan

stanreg-methods: Methods for stanreg objects

stanreg-objects: Fitted model objects

summary.stanreg: Summary method for stanreg objects

terms.stanreg: terms method for stanreg objects

Files in this package

rstanarm
rstanarm/inst
rstanarm/inst/CITATION
rstanarm/inst/NEWS
rstanarm/inst/doc
rstanarm/inst/doc/pooling.Rmd
rstanarm/inst/doc/continuous.Rmd
rstanarm/inst/doc/binomial.html
rstanarm/inst/doc/aov.html
rstanarm/inst/doc/count.Rmd
rstanarm/inst/doc/pooling.R
rstanarm/inst/doc/count.R
rstanarm/inst/doc/glmer.R
rstanarm/inst/doc/betareg.Rmd
rstanarm/inst/doc/glmer.Rmd
rstanarm/inst/doc/polr.html
rstanarm/inst/doc/polr.Rmd
rstanarm/inst/doc/lm.R
rstanarm/inst/doc/glmer.html
rstanarm/inst/doc/rstanarm.html
rstanarm/inst/doc/lm.Rmd
rstanarm/inst/doc/rstanarm.Rmd
rstanarm/inst/doc/continuous.html
rstanarm/inst/doc/rstanarm.R
rstanarm/inst/doc/continuous.R
rstanarm/inst/doc/lm.html
rstanarm/inst/doc/binomial.Rmd
rstanarm/inst/doc/aov.R
rstanarm/inst/doc/polr.R
rstanarm/inst/doc/children
rstanarm/inst/doc/children/SETTINGS-knitr.txt
rstanarm/inst/doc/children/stan_glm_priors.txt
rstanarm/inst/doc/children/SETTINGS-rstan.txt
rstanarm/inst/doc/children/SETTINGS-loo.txt
rstanarm/inst/doc/children/four_steps.txt
rstanarm/inst/doc/children/SETTINGS-gg.txt
rstanarm/inst/doc/betareg.html
rstanarm/inst/doc/betareg.R
rstanarm/inst/doc/count.html
rstanarm/inst/doc/binomial.R
rstanarm/inst/doc/aov.Rmd
rstanarm/inst/doc/pooling.html
rstanarm/inst/chunks
rstanarm/inst/chunks/tparameters_betareg.stan
rstanarm/inst/chunks/data_glm.stan
rstanarm/inst/chunks/continuous_likelihoods.stan
rstanarm/inst/chunks/Columbia_copyright.stan
rstanarm/inst/chunks/eta_z_no_intercept.stan
rstanarm/inst/chunks/hyperparameters.stan
rstanarm/inst/chunks/tdata_glm.stan
rstanarm/inst/chunks/make_eta_bern.stan
rstanarm/inst/chunks/license.stan
rstanarm/inst/chunks/binomial_likelihoods.stan
rstanarm/inst/chunks/make_eta.stan
rstanarm/inst/chunks/common_functions.stan
rstanarm/inst/chunks/eta_no_intercept.stan
rstanarm/inst/chunks/data_betareg.stan
rstanarm/inst/chunks/count_likelihoods.stan
rstanarm/inst/chunks/parameters_betareg.stan
rstanarm/inst/chunks/priors_betareg.stan
rstanarm/inst/chunks/glmer_stuff2.stan
rstanarm/inst/chunks/eta_add_Zb.stan
rstanarm/inst/chunks/make_eta_z.stan
rstanarm/inst/chunks/tparameters_glm.stan
rstanarm/inst/chunks/glmer_stuff.stan
rstanarm/inst/chunks/parameters_glm.stan
rstanarm/inst/chunks/weights_offset.stan
rstanarm/inst/chunks/NKX.stan
rstanarm/inst/chunks/bernoulli_likelihoods.stan
rstanarm/inst/chunks/tdata_betareg.stan
rstanarm/inst/chunks/priors_glm.stan
rstanarm/exec
rstanarm/exec/binomial.stan
rstanarm/exec/lm.stan
rstanarm/exec/polr.stan
rstanarm/exec/continuous.stan
rstanarm/exec/count.stan
rstanarm/exec/bernoulli.stan
rstanarm/tests
rstanarm/tests/testthat.R
rstanarm/tests/testthat
rstanarm/tests/testthat/test_methods.R
rstanarm/tests/testthat/test_pp_check.R
rstanarm/tests/testthat/test_pp_validate.R
rstanarm/tests/testthat/test_loo.R
rstanarm/tests/testthat/test_stan_lm.R
rstanarm/tests/testthat/test_misc.R
rstanarm/tests/testthat/test_plots.R
rstanarm/tests/testthat/test_predict.R
rstanarm/tests/testthat/test_stan_betareg.R
rstanarm/tests/testthat/test_posterior_predict.R
rstanarm/tests/testthat/test_stan_glm.R
rstanarm/tests/testthat/test_stan_functions.R
rstanarm/tests/testthat/test_stan_glmer.R
rstanarm/tests/testthat/test_stan_polr.R
rstanarm/src
rstanarm/src/Makevars
rstanarm/src/Makevars.win
rstanarm/src/Modules.cpp
rstanarm/src/include
rstanarm/src/include/models.hpp
rstanarm/NAMESPACE
rstanarm/demo
rstanarm/demo/ARM_Ch03.R
rstanarm/demo/ARM_Ch08.R
rstanarm/demo/ARM_Ch09.R
rstanarm/demo/ARM_Ch05.R
rstanarm/demo/00Index
rstanarm/demo/CLEANUP.R
rstanarm/demo/ARM_Ch04.R
rstanarm/demo/SETUP.R
rstanarm/demo/ARM_Ch07.R
rstanarm/demo/ARM_Ch14.R
rstanarm/demo/ARM_Ch12_13.R
rstanarm/data
rstanarm/data/bball2006.rda
rstanarm/data/kidiq.rda
rstanarm/data/tumors.rda
rstanarm/data/wells.rda
rstanarm/data/radon.rda
rstanarm/data/mortality.rda
rstanarm/data/roaches.rda
rstanarm/data/bball1970.rda
rstanarm/R
rstanarm/R/pp_validate.R rstanarm/R/adapt_delta.R rstanarm/R/shinystan.R rstanarm/R/stan_betareg.fit.R rstanarm/R/pp_check.R rstanarm/R/posterior_interval.R rstanarm/R/gamm4_to_glmer.R rstanarm/R/prior_summary.R rstanarm/R/loo.R rstanarm/R/predictive_interval.R rstanarm/R/neg_binomial_2.R rstanarm/R/data_block.R rstanarm/R/priors.R rstanarm/R/rstanarm-deprecated.R rstanarm/R/as.matrix.stanreg.R rstanarm/R/predictive_error.R rstanarm/R/stanreg-objects.R rstanarm/R/stan_biglm.R rstanarm/R/predict.R rstanarm/R/posterior_predict.R rstanarm/R/stan_polr.fit.R rstanarm/R/stan_lm.fit.R rstanarm/R/stan_glm.R rstanarm/R/rstanarm-package.R rstanarm/R/stanmodels.R rstanarm/R/stan_gamm4.R rstanarm/R/plots.R rstanarm/R/log_lik.R rstanarm/R/stan_glmer.R rstanarm/R/pp_data.R rstanarm/R/example_model.R rstanarm/R/posterior_linpred.R rstanarm/R/stanreg-methods.R rstanarm/R/print-and-summary.R rstanarm/R/stan_polr.R rstanarm/R/stanreg.R rstanarm/R/posterior_vs_prior.R rstanarm/R/stan_glm.fit.R rstanarm/R/stan_lm.R rstanarm/R/misc.R rstanarm/R/stan_aov.R rstanarm/R/datasets.R rstanarm/R/zzz.R rstanarm/R/stan_biglm.fit.R rstanarm/R/stan_betareg.R
rstanarm/vignettes
rstanarm/vignettes/pooling.Rmd
rstanarm/vignettes/continuous.Rmd
rstanarm/vignettes/count.Rmd
rstanarm/vignettes/betareg.Rmd
rstanarm/vignettes/.install_extras
rstanarm/vignettes/glmer.Rmd
rstanarm/vignettes/polr.Rmd
rstanarm/vignettes/lm.Rmd
rstanarm/vignettes/rstanarm.Rmd
rstanarm/vignettes/binomial.Rmd
rstanarm/vignettes/children
rstanarm/vignettes/children/SETTINGS-knitr.txt
rstanarm/vignettes/children/stan_glm_priors.txt
rstanarm/vignettes/children/SETTINGS-rstan.txt
rstanarm/vignettes/children/SETTINGS-loo.txt
rstanarm/vignettes/children/four_steps.txt
rstanarm/vignettes/children/SETTINGS-gg.txt
rstanarm/vignettes/aov.Rmd
rstanarm/MD5
rstanarm/build
rstanarm/build/vignette.rds
rstanarm/DESCRIPTION
rstanarm/man
rstanarm/man/predictive_error.stanreg.Rd rstanarm/man/rstanarm-package.Rd rstanarm/man/posterior_vs_prior.Rd
rstanarm/man/figures
rstanarm/man/figures/stanlogo.png
rstanarm/man/stan_biglm.Rd rstanarm/man/rstanarm-deprecated.Rd rstanarm/man/family.stanreg.Rd rstanarm/man/posterior_linpred.Rd rstanarm/man/rstanarm-datasets.Rd rstanarm/man/predictive_interval.stanreg.Rd rstanarm/man/stan_polr.Rd rstanarm/man/predict.stanreg.Rd rstanarm/man/stan_glm.Rd rstanarm/man/summary.stanreg.Rd rstanarm/man/stan_gamm4.Rd rstanarm/man/example_model.Rd rstanarm/man/model.matrix.stanreg.Rd rstanarm/man/pp_validate.Rd rstanarm/man/log_lik.stanreg.Rd rstanarm/man/terms.stanreg.Rd rstanarm/man/as.matrix.stanreg.Rd rstanarm/man/se.Rd rstanarm/man/print.stanreg.Rd rstanarm/man/stan_lm.Rd rstanarm/man/neg_binomial_2.Rd rstanarm/man/prior_summary.stanreg.Rd rstanarm/man/loo.stanreg.Rd rstanarm/man/adapt_delta.Rd rstanarm/man/pp_check.stanreg.Rd rstanarm/man/formula.stanreg.Rd rstanarm/man/pairs.stanreg.Rd rstanarm/man/print.kfold.Rd rstanarm/man/posterior_interval.stanreg.Rd rstanarm/man/priors.Rd rstanarm/man/stan_betareg.Rd rstanarm/man/get_y.Rd rstanarm/man/stan_glmer.Rd rstanarm/man/model.frame.stanreg.Rd rstanarm/man/plot.stanreg.Rd rstanarm/man/posterior_predict.stanreg.Rd rstanarm/man/stanreg-objects.Rd rstanarm/man/shinystan.Rd rstanarm/man/stanreg-methods.Rd
rstanarm/cleanup
rstanarm/tools
rstanarm/tools/make_cpp.R
rstanarm/cleanup.win

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.