This is C++ function to initialse a DMC sample with multiple participants. The user usually should not directly use it.
1 2 3 |
nmc |
number of Markov Chain Monte Carlo iteration |
pList |
prior distribution setting. This is R's p.prior |
data |
a model data instance created by |
samples |
a DMC posterior sample |
theta1 |
A user supplied initial theta cube |
startPList |
A user supplied (different) prior distribution setting. This is R's start.prior. |
phi1 |
A user supplied initial phi cube |
ppList |
prior distribution setting, hyper level |
hStartPList |
A user supplied (different) hyper-prior distribution setting |
setting |
a list container to store all DMC setting |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.