Search All of the Math Forum:

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

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

 Messages: [ Previous | Next ]
 Alessandro Beretta Posts: 3 Registered: 10/28/13
MLE biivariate multiple regression
Posted: Oct 28, 2013 6:50 AM

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!

Best

Alessandro

Date Subject Author
10/28/13 Alessandro Beretta
10/30/13 Alessandro Beretta
10/30/13 Alessandro Beretta