distrib_diff_gmm {outlierMBC}R Documentation

Compute the dissimilarity for a Gaussian mixture model and identify the lowest density observation.

Description

At each iteration of ombc_gmm, distrib_diff_gmm computes the dissimilarity value of the current Gaussian mixture model. It also identifies the observation with the lowest mixture density.

Usage

distrib_diff_gmm(x, z, prop, mu, sigma, logdet)

Arguments

x

Data.

z

Component assignment probability matrix.

prop

Vector of component proportions.

mu

List of component mean vectors.

sigma

List of component covariance matrices.

logdet

Vector of log-determinants for covariance matrices.

Value

distrib_diff_gmm returns a list with the following elements:

distrib_diff

Aggregated dissimilarity across components.

distrib_diff_vec

Vector containing dissimilarity value for each component.

choice_id

Index of observation with lowest mixture density.

removal_dens

Value of the lowest mixture density.


[Package outlierMBC version 0.0.1 Index]