Perform MCMC diagnostics for kstar
A helper function to perform MCMC diagnostics for kstar
kstar_MCMCdiag(kstar, nrun, burn, thin)
kstar
: the vector output of kstar from running the DPMPM modelnrun
: number of MCMC iterations used in running the DPMPM modelburn
: number of burn-in iterations used in running the DPMPM modelthin
: number of thinning used in running the DPMPM modelTraceplot: the traceplot of kstar post burn-in and thinning
Autocorrplot: the autocorrelation plot of kstar post burn-in and thinning
Useful links