The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: MLE biivariate multiple regression
Replies: 2   Last Post: Oct 30, 2013 4:06 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alessandro Beretta

Posts: 3
Registered: 10/28/13
MLE biivariate multiple regression
Posted: Oct 28, 2013 6:50 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,

I'm trying to develop a function in order to estimate the parameter of a bivariate multiple regression via maximum-likelihood estimation method.

The model is as follows:

Y = X*b + a

where Y and a are nx2 matrices, X is a nx5 matrix and b is 5x2 matrix with the coefficients that I need to estimate (n is the number of observation in the dataset).

What I need is a function in order to minimize the negative log likelihood function:

sum(for i=1:n) of [0.5*log|cov| + 0.5*(Yi-Xi*b)'*cov^-1*(Yi-Xi*b)]

I know that I'll need also 1 function for the optimization constraints and 1 function for the variance covariance matrix (cov) estimation.

Does anybody could help me coding this function???

Thanks a lot!



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.