Learn R Programming

brms (version 2.1.0)

summary.brmsfit: Create a summary of a fitted model represented by a brmsfit object

Description

Create a summary of a fitted model represented by a brmsfit object

Usage

# S3 method for brmsfit
summary(object, waic = FALSE, loo = FALSE, R2 = FALSE,
  priors = FALSE, prob = 0.95, mc_se = FALSE, use_cache = TRUE, ...)

Arguments

object

An object of class brmsfit

waic, loo

Logical; Indicating if the LOO or WAIC information criteria should be computed and shown in the summary. Defaults to FALSE.

R2

Logical; Indicating if the Bayesian R-squared should be computed and shown in the summary. Defaults to FALSE.

priors

Logical; Indicating if priors should be included in the summary. Default is FALSE.

prob

A value between 0 and 1 indicating the desired probability to be covered by the uncertainty intervals. The default is 0.95.

mc_se

Logical; Indicating if the uncertainty caused by the MCMC sampling should be shown in the summary. Defaults to FALSE.

use_cache

Logical; Indicating if summary results should be cached for future use by rstan. Defaults to TRUE. For models fitted with earlier versions of brms, it may be necessary to set use_cache to FALSE in order to get the summary method working correctly.

...

Other potential arguments