diagnostic-quantities: Extract Diagnostic Quantities of 'MVBeliefUpdatr' Models

diagnostic-quantitiesR Documentation

Extract Diagnostic Quantities of MVBeliefUpdatr Models

Description

Extract quantities that can be used to diagnose sampling behavior of the algorithms applied by Stan at the back-end of MVBeliefUpdatr. These diagnostic functions are all copied and modified from brms.

Usage

## S3 method for class 'ideal_adaptor_stanfit'
log_posterior(x, ...)

## S3 method for class 'ideal_adaptor_stanfit'
nuts_params(x, pars = NULL, ...)

## S3 method for class 'ideal_adaptor_stanfit'
rhat(x, pars = NULL, ...)

## S3 method for class 'ideal_adaptor_stanfit'
neff_ratio(x, pars = NULL, ...)

Arguments

x

An MVBeliefUpdatr object.

...

Arguments passed to individual methods.

pars

An optional character vector of parameter names. For nuts_params these will be NUTS sampler parameter names rather than model parameters. If pars is omitted all parameters are included.

Details

For more details see bayesplot-extractors.

Value

The exact form of the output depends on the method.


hlplab/MVBeliefUpdatr documentation built on July 5, 2025, 6:42 a.m.