mcmc_diagnostics function

Diagnostic Values of a dynamite Model

Diagnostic Values of a dynamite Model

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.

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

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.

Returns

Returns x (invisibly).

Examples

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

See Also

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