mathellinger | R Documentation |
Computes the matrix of the Hellinger distances between several multivariate (p > 1
) or univariate (p = 1
) Gaussian densities given samples and using hellinger
.
mathellinger(x)
x |
object of class "folder" containing the data. Its elements have only numeric variables (observations of the probability densities). If there are non numeric variables, there is an error. |
Positive symmetric matrix whose order is equal to the number of densities, consisting of the pairwise Hellinger distances between the probability densities.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
hellinger
.
mathellingerpar
when the probability densities are Gaussian, given the parameters (means and variances).
data(roses)
# Multivariate:
X <- as.folder(roses[,c("Sha","Den","Sym","rose")], groups = "rose")
summary(X)
mathellinger(X)
# Univariate :
X1 <- as.folder(roses[,c("Sha","rose")], groups = "rose")
summary(X1)
mathellinger(X1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.