Description Usage Arguments Details Value See Also
View source: R/mcmc_postproc.R
Extract and reshape MCMC samples from the posteriors for theta and W
.
Can be used to post-process outputs from marginalLikelihood
when output.mcmc
is TRUE.
Notice that it performs matrix inversions on every sample of W.
1 | mcmc_postproc(mcmc.output, compute.ML = FALSE, cumulative = TRUE)
|
mcmc.output |
The coda object |
compute.ML |
if TRUE, also compute the posterior means |
cumulative |
if TRUE, also compute cumulative posterior means to assess precision |
It is also possible to compute ML estimators for the posterior means, as well as the cumulated estimates. The results will be appended to the returned list.
a named list with multidimensional arrays for W, theta, and ML estimates
Other core functions:
bayessource-package
,
get_minimum_nw_IW()
,
make_priors_and_init()
,
marginalLikelihood_internal()
,
marginalLikelihood()
,
samesource_C()
,
two.level.multivariate.calculate.UC()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.