sampling_b: MCMC sampling of parameter "b" in the _mixdpcluster_ model...

Description Usage

View source: R/sampling_b.R

Description

Generates a sample from the posterior distribution of b 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
sampling_b(
  n_sim_mh = 1,
  b_ini,
  a,
  d_0_b,
  d_1_b,
  eta = 1,
  mu_star_n_r,
  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.