kstar_MCMCdiag function

Perform MCMC diagnostics for kstar

Perform MCMC diagnostics for kstar

A helper function to perform MCMC diagnostics for kstar

kstar_MCMCdiag(kstar, nrun, burn, thin)

Arguments

  • kstar: the vector output of kstar from running the DPMPM model
  • nrun: number of MCMC iterations used in running the DPMPM model
  • burn: number of burn-in iterations used in running the DPMPM model
  • thin: number of thinning used in running the DPMPM model

Returns

  • Traceplot: the traceplot of kstar post burn-in and thinning

  • Autocorrplot: the autocorrelation plot of kstar post burn-in and thinning

  • Maintainer: Jingchen Hu
  • License: GPL (>= 3)
  • Last published: 2022-10-03

Useful links