updateParamsTmog: Update parameters for TMoG model

Description Usage Arguments Value

Description

This function updates the cluster parameters in the univariate TMoG model

Usage

1
updateParamsTmog(K, alp, xRejs, wt, niwpr, zRejs)

Arguments

K

max number of clusters

alp

parameter for dirichlet process prior

xRejs

data matrix of rejected proposals

wt

weights of each cluster

niwpr

normal-inverse-wishart prior

zRejs

cluster assignments for rejected proposals

Value

list of new weights, mean, covariance matrix, number of rejected proposals, and number of observations in each cluster


pasudyan/ConstrMixMod documentation built on May 10, 2019, 8:26 a.m.