plot_cvg: Plot for Convergence Diagnosis

plot_cvgR Documentation

Plot for Convergence Diagnosis

Description

Plot of the parameter draw for MCMC iterations after burn-in.

Usage

plot_cvg(
  object,
  index,
  type = "o",
  col = "blue",
  pch = 16,
  lty = 1,
  xlab = "Number of iterations",
  ylab = "Estimation",
  main = "Predictor",
  cex.axis = 1.15
)

## S4 method for signature 'mbsts'
plot_cvg(
  object,
  index,
  type = "o",
  col = "blue",
  pch = 16,
  lty = 1,
  xlab = "Number of iterations",
  ylab = "Estimation",
  main = "Predictor",
  cex.axis = 1.15
)

Arguments

object

An object of the mbsts class created by a call to the mbsts_function function.

index

A numerical value indicating which predictor to analyze. The index can be generated by a call to the para.est function

type

NULL or a character vector whose entries are titles for the plots of target series' posterior state components, such as c("Posterior State Components of y1", "Posterior State Components of y2"). The default is c("y1","y2",...).

col

The same setting as that of the plot function in the base package.

pch

The same setting as that of the plot function in the base package.

lty

The same setting as that of the plot function in the base package.

xlab

The same setting as that of the plot function in the base package.

ylab

The same setting as that of the plot function in the base package.

main

The same setting as that of the plot function in the base package.

cex.axis

The same setting as that of the plot function in the base package.

Author(s)

Ning Ning patricianing@gmail.com

References

\Qiu

2018

\Ning

2021

\Jammalamadaka

2019


mbsts documentation built on Jan. 7, 2023, 9:07 a.m.