Maximum likelihood discriminant analysis using the multivariate Cauchy distribution {mvcauchy} | R Documentation |
Maximum likelihood discriminant analysis using the multivariate Cauchy distribution.
mvcauchy.da(xnew, x, ina, mod = NULL)
xnew |
A numerical matrix with the new data whose class is to predicted. The rows correspond to observations and the columns to variables. |
x |
A numerical matrix with the data. The rows correspond to observations and the columns to variables. |
ina |
Should the logarithm of the density be returned (TRUE) or not (FALSE)? |
mod |
This is a list with the estimated parameters of each class obtained from the function |
Maximum likelihood discriminant analysis using the multivariate Cauchy distribution is performed.
A list including:
mod |
A list with the output produced by |
prob |
The estimated probabilities of the new data of belonging to each group. |
est |
he estimated group membership of the new data. |
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Kanti V. Mardia, John T. Kent and John M. Bibby (1979). Multivariate analysis. Academic Press, London.
x <- as.matrix(iris[, 1:4])
ina <- iris[, 5]
a <- mvcauchy.da(x, x, ina)