XMH | R Documentation |
Front ends for Xsampler, for quick implementation of dynamic lattice basis and full Markov basis samplers. XGibbs and XMH are Gibbs and Metropolis-Hastings versions of Xsampler using dynamic lattice bases. XMarkovBasis_Gibbs and XMarkovBasis_MH are versions using a full Markov basis.
XMH(
y,
A,
lambda,
Reorder = TRUE,
tune.par = 0.5,
combine = F,
Proposal = "NonUnif",
x.order = NULL,
x.ini = NULL,
Model = "Poisson",
NB.alpha = 0,
ndraws = 10000,
burnin = 2000,
verbose = 0,
THIN = 1
)
... |
As for Xsampler |
A list as for Xsampler
data(BXno3way)
XGibbs(BXno3way$y,BXno3way$A,BXno3way$lambda,combine=T,tune.par=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.