XGibbs: Front ends for Xsampler

XGibbsR 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

XGibbs(
  y,
  A,
  lambda,
  Reorder = TRUE,
  tune.par = 0.5,
  combine = F,
  x.order = NULL,
  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.