XMarkovBasis_Gibbs: Front ends for Xsampler

XMarkovBasis_GibbsR Documentation

Front ends for Xsampler

Description

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.

Usage

XMarkovBasis_Gibbs(
  y,
  A,
  lambda,
  U,
  x.ini = NULL,
  Model = "Poisson",
  NB.alpha = 0,
  ndraws = 10000,
  burnin = 2000,
  verbose = 0,
  THIN = 1
)

Arguments

...

As for Xsampler

Value

A list as for Xsampler

Examples

data(BXno3way)
XGibbs(BXno3way$y,BXno3way$A,BXno3way$lambda,combine=T,tune.par=0.5)

MartinLHazelton/DynamicLatticeBasis documentation built on March 1, 2024, 3:14 a.m.