Learn R Programming

bssm (version 1.0.0)

summary.mcmc_output: Summary of MCMC object

Description

This functions returns a list containing mean, standard deviations, standard errors, and effective sample size estimates for parameters and states.

Usage

# S3 method for mcmc_output
summary(object, return_se = FALSE, variable = "theta", only_theta = FALSE, ...)

Arguments

object

Output from run_mcmc

return_se

if FALSE (default), computation of standard errors and effective sample sizes is omitted.

variable

Are the summary statistics computed for either "theta" (default), "states", or "both"?

only_theta

Deprecated. If TRUE, summaries are computed only for hyperparameters theta.

...

Ignored.