mvnrobj
Log-likelihood function for multivariate normal regression without missing data
Syntax
Objective = mvnrobj(Data,Design,Parameters,Covariance,CovarFormat)
Arguments
|
|
|
A matrix or a cell array that handles two model structures:
|
|
|
|
|
|
(Optional) Character vector that specifies the format for the covariance matrix. The choices are:
|
Description
Objective = mvnrobj(Data,Design,Parameters,Covariance,CovarFormat)
computes the log-likelihood function based on current maximum likelihood parameter estimates without missing data.Objective
is a scalar that contains the log-likelihood function.
Notes
You can configureDesign
as a matrix ifNUMSERIES = 1
or as a cell array ifNUMSERIES
≥1
.
If
Design
is a cell array andNUMSERIES
=1
, each cell contains aNUMPARAMS
row vector.If
Design
is a cell array andNUMSERIES
>1
, each cell contains aNUMSERIES
-by-NUMPARAMS
matrix.
AlthoughDesign
should not haveNaN
values, ignored samples due toNaN
values inData
are also ignored in the correspondingDesign
array.
Examples
SeeMultivariate Normal Regression,Least-Squares Regression,Covariance-Weighted Least Squares,Feasible Generalized Least Squares, and看似不相关的注册ression.