Description Usage Arguments Value Author(s)
View source: R/fullMCMC_complexityPrior.R
This function implements the Metropolis-Hastings MCMC sampler for individual time-series.
1 2 3 4 | mcmcSampler(myData, nIter, finalIterationPdf, modelVariance, mhPropRange,
mhSinglePropRange, movesRange, startPoint, postPar, dName, timeScale,
burn, iterPerPlotPrefix, priorParameters, L = 3, LRange, tau,
gammaParameter, saveTheta, Prior = "complexity")
|
myData |
observed data. |
nIter |
number of mcmc iterations |
finalIterationPdf |
output folder |
modelVariance |
null |
mhPropRange |
positive integer |
mhSinglePropRange |
positive integer |
movesRange |
null |
startPoint |
positive integer |
postPar |
list of emprirically estimated parameters |
dName |
subject ID |
timeScale |
null |
burn |
burn-in period. |
iterPerPlotPrefix |
null |
priorParameters |
prior parameters. |
L |
null |
LRange |
range of possible values of the number of change-points. |
tau |
real. |
gammaParameter |
real. |
saveTheta |
TRUE. |
Prior |
character. |
MCMC output.
Panagiotis Papastamoulis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.