Learn R Programming

dynamite (version 1.5.6)

mcmc_diagnostics: Diagnostic Values of a dynamite Model

Description

Prints HMC diagnostics and lists parameters with smallest effective sample sizes and largest Rhat values. See hmc_diagnostics() and posterior::default_convergence_measures() for details.

Usage

mcmc_diagnostics(x, ...)

# S3 method for dynamitefit mcmc_diagnostics(x, n = 3L, ...)

Value

Returns x (invisibly).

Arguments

x

[dynamitefit]
The model fit object.

...

Ignored.

n

[integer(1)]
How many rows to print in parameter-specific convergence measures. The default is 3. Should be a positive (unrestricted) integer.

See Also

Model diagnostics hmc_diagnostics(), lfo(), loo.dynamitefit()

Examples

Run this code
data.table::setDTthreads(1) # For CRAN
mcmc_diagnostics(gaussian_example_fit)

Run the code above in your browser using DataLab