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
)
Metropolis-Laplace estimator of the Marginal density
The dataset
Model attributes generated from difm.model.attributes
.
Hyperparameters generated from difm.hyp.parm
.
Result of Gibbs sampler from DIFM function.
Burn-in period. If not specified, one tenths of the iterations will be the burn-in period.
Print out the iteration process.