imputeRejections: Imputation of rejected samples

Description Usage Arguments Value

Description

This function samples the rejected proposals for the Truncated Mixture of Gaussian (TMoG) model

Usage

1
imputeRejections(K, params, N, constr, thr, ceilRej)

Arguments

K

total number of clusters

params

list of parameters which includes the weight (wt), mean (mu), and covariance matrix (cv)

N

total number of observations

constr

function for the constraint of the space

thr

maximum number of rejections per observation

ceilRej

max number of observations in total

Value

rejected samples and indices to which observation it belongs to


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