Change point model (Section 11.4)

R code with NIMBLE

ChangePoint.R
ChangePointOut.txt
ChangePointPlot.pdf