quad_disc: quad_disc

Description Usage Arguments Value

View source: R/quad_disc.R

Description

Computes the quadratic discriminant of each mixture component,

Usage

1
quad_disc(Y, theta.alpha, theta.mu, theta.sigma)

Arguments

Y

A matrix of size n x p.

theta.alpha

The alpha values: An array of K positive real numbers they must verify the condition sum(thetaOld.mu)== 1.

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


RMBC documentation built on July 22, 2021, 9:07 a.m.

Related to quad_disc in RMBC...