marginal.d | R Documentation |
It calculates the marginal density (Lewis and Raftery, 1997) from the DIFM sample using R.
marginal.d(
data,
model.attributes,
hyp.parm,
Gibbs,
burnin = NA,
verbose = TRUE
)
data |
The dataset |
model.attributes |
Model attributes generated from |
hyp.parm |
Hyperparameters generated from |
Gibbs |
Result of Gibbs sampler from DIFM function. |
burnin |
Burn-in period. If not specified, one tenths of the iterations will be the burn-in period. |
verbose |
Print out the iteration process. |
Metropolis-Laplace estimator of the Marginal density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.