Plot the posterior density of regime change.
plotHDPChangepoint(
mcmcout,
main = "Posterior Changepoint Probabilities",
xlab = "Time",
ylab = "",
start = 1
)
The mcmc
object containing the posterior density
sample from a changepoint model. Note that this must be from a
HDP-HMM sampler.
Title of the plot
Label for the x-axis.
Label for the y-axis.
The time of the first observation to be shown in the time series plot.
HDPHMMpoisson
, HDPHMMnegbin
, HDPHSMMnegbin