cSLI: C++ function to estimate Pitman-Yor univariate mixtures via...

View source: R/RcppExports.R

cSLIR Documentation

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION SCALE

Description

C++ function to estimate Pitman-Yor univariate mixtures via slice sampler - LOCATION SCALE

Arguments

data

a vector of observations

grid

vector to evaluate the density

niter

number of iterations

nburn

number of burn-in iterations

m0

expectation of location component

k0

tuning parameter of variance of location component

a0

parameter of scale component

b0

parameter of scale component

m1

mean of hyperdistribution of m0

s21

variance of hyperdistribution of m0

tau1

shape parameter of hyperdistribution of k0

tau2

rate parameter of hyperdistribution of k0

a1

shape parameter of hyperdistribution of b0

b1

rate parameter of hyperdistribution of b0

mass

parameter

nupd

number of iterations to show current updating

out_param

if TRUE, return also the location and scale paramteres lists

out_dens

if TRUE, return also the estimated density (default TRUE)

sigma_PY

second parameter of PY

print_message

print the status

hyper,

if TRUE use hyperpriors, default TRUE

indep,

if TRUE use the independent slice efficient


BNPmix documentation built on July 16, 2022, 1:04 a.m.