Function that gives the maximum likelihood estimate of the covariance matrix.
covML(Y, cor = FALSE)
Data matrix
. Variables assumed to be represented by columns.
A logical
indicating if the correlation matrix should be
returned
Function returns the maximum likelihood estimate of the covariance
matrix
. In case cor = TRUE
, the correlation matrix is
returned.
The function gives the maximum likelihood (ML) estimate of the covariance
matrix. The input matrix Y
assumes that the variables are represented
by the columns. Note that when the input data is standardized, the ML
covariance matrix of the scaled data is computed. If a correlation matrix is
desired, use cor = TRUE
.