This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Multivariate normal negative log-likelihood function


Objective = ecmnobj(Data,Mean,Covariance,CholCovariance)



NUMSAMPLES-by-NUMSERIES matrix of observed multivariate normal data


NUMSERIES-by-1 column vector with mean estimate of Data


NUMSERIES-by-NUMSERIES matrix with covariance estimate of Data


(Optional) Cholesky decomposition of covariance matrix: chol(Covariance)


Objective = ecmnobj(Data,Mean,Covariance,CholCovariance) computes the value of the observed negative log-likelihood function over the data given current estimates for the mean and covariance of the data.

The data matrix has NaNs for missing observations. The inputs Mean and Covariance are current estimates for model parameters.

This routine expects the Cholesky decomposition of the covariance matrix as an input. The routine computes the Cholesky decomposition if you do not explicitly specify it.

Introduced before R2006a