bhattacharyya {immunoClust} | R Documentation

## Bhattacharyya Distance, Coefficient and Probability

### Description

Calculates the Bhattacharyya Distance, Coefficient and Probability

### Usage

    bhattacharyya.prob(gM,gS, cM,cS, alpha=1)

    bhattacharyya.dist(gM, gS, cM, cS)

    bhattacharyya.coeff(gM,gS, cM,cS, alpha=1)

### Arguments

`gM, cM` | `P`-dimensional vector of cluster means
`gS, cS` | `PxP`-dimensinal matrix of clusters co-variances
`alpha` | A value between 0 and 1 used to balance the bhattacharrya probabilities, coefficients calculated with either the full covariance matrices or using only the diagonal elements of it.

### Details

Calculates the bhattacharyya probabilty, distance or coefficient of the clusters, i.e. Gaussian distributions. Distance and Coefficient are symetric for both clusters, whereas the probabity is not.

### Value

The Bhattacharyya probability, distance or coefficient

### Author(s)

Till Sörensen till-antoni.soerensen@charite.de

[Package immunoClust version 1.22.0 Index]