is_in_gr: is_in_gr

Description Usage Arguments Value

View source: R/is_in_gr.R

Description

Given Y data and a set of mixture parameters, this function return a boolean vector B whose lentght is equal than Y length. B[i] is TRUE if only if Y[i] not belong to the union of confidence ellipsoids of level given by the level

Usage

1
is_in_gr(Y, cutoff = 0.999, theta.mu, theta.sigma)

Arguments

Y

A matrix of size n x p.

cutoff

quantiles of chi-square to be used as a threshold for outliers detection, defaults to 0.999

theta.mu

The estimated centers: A list with K elements, each of them is an array of length p.

theta.sigma

The estimated scatter matrices: A list with K matrices, each of them has dimension p x p

Value

A n x K matrix, where each row has the values of the quadratic discriminant with regarding to the j-th mixture component, j = 1,...,K


jdgonzalezwork/RMBC documentation built on April 5, 2021, 2:55 p.m.