extract method for brmsfit objects created by the
brm function in the brms package.
Usage
# S4 method for class 'brmsfit'
extract(
model,
use.HDI = TRUE,
level = 0.9,
include.random = TRUE,
include.rsquared = TRUE,
include.nobs = TRUE,
include.loo.ic = TRUE,
reloo = FALSE,
include.waic = TRUE,
...
)Arguments
- model
A statistical model object.
- use.HDI
Report highest posterior density (HPD) intervals (HDI) using the
HPDintervalfunction in the coda package, with the probability given in thelevelargument, instead of the default 95 percent posterior quantiles?- level
Significance level (
1 - alpha) for HPDs (in combination with theuse.HDIargument).- include.random
Include random effects (standard deviations) in the GOF block of the table?
- include.rsquared
Report R^2 in the GOF block?
- include.nobs
Report the number of observations in the GOF block?
- include.loo.ic
Report Leave-One-Out Information Criterion?
- reloo
Recompute exact cross-validation for problematic observations for which approximate leave-one-out cross-validation may return incorrect results? This is done using the
reloo.brmsfitfunction and may take some time to compute.- include.waic
Report Widely Applicable Information Criterion (WAIC)?
- ...
Custom parameters, which are handed over to subroutines, in this case to the
summarymethod for the object.