sampling_Lambda_jj: MCMC sampling of parameter "Lambda_{j,j}" in the...

Description Usage

View source: R/sampling_Lambda_jj.R

Description

Generates a sample from the the posterior distribution of the j-th diagonal element (i,j) of the Λ matrix in the mixdpcluster model for bayesian clustering. The simulation is done via Metropolis-Hastings method.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sampling_Lambda_jj(
  n_sim_mh = 1,
  sigma_jj_ini,
  j,
  d_0_z,
  d_1_z,
  kappa = 1,
  Z,
  mu_Z,
  sigma_Z,
  sampling_prob,
  max.time = 10 * 60,
  n.burn = 0,
  accept_display = T,
  verbose = F,
  USING_CPP = TRUE
)

BNPMIXcluster documentation built on Nov. 30, 2020, 5:07 p.m.