kstar_MCMCdiag {NPBayesImputeCat} | R Documentation |
Perform MCMC diagnostics for kstar
Description
A helper function to perform MCMC diagnostics for kstar
Usage
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 |
Value
Traceplot |
the traceplot of kstar post burn-in and thinning |
Autocorrplot |
the autocorrelation plot of kstar post burn-in and thinning |
[Package NPBayesImputeCat version 0.5 Index]