This function implements the Metropolis-Hastings MCMC sampler for individual time-series.
mcmcSampler(myData, nIter, finalIterationPdf, modelVariance, mhPropRange,
mhSinglePropRange, movesRange, startPoint, postPar, dName, timeScale,
burn, iterPerPlotPrefix, priorParameters, L = 3, LRange, tau,
gammaParameter, saveTheta, Prior = "complexity")
observed data.
number of mcmc iterations
output folder
null
positive integer
positive integer
null
positive integer
list of emprirically estimated parameters
subject ID
null
burn-in period.
null
prior parameters.
null
range of possible values of the number of change-points.
real.
real.
TRUE.
character.
MCMC output.