Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

ecmnobj

Multivariate normal negative log-likelihood function

Syntax

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

Arguments

Data

NUMSAMPLES-by-NUMSERIES matrix of observed multivariate normal data

Mean

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

Covariance

NUMSERIES-by-NUMSERIES matrix with covariance estimate of Data

CholCovariance

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

Description

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

Was this topic helpful?