Search found 10 matches

by liumartin
Mon Oct 18, 2010 1:26 pm
Forum: Estimation
Topic: A problem for Multivariate Garch-mean > three variables
Replies: 6
Views: 5257

Re: A problem for Multivariate Garch-mean > three variables

There are several problems with your code, but the most crucial one concerns the likelihood function. Since the matrix operations are not allowed in LogL object, you need to write out the expression for the determinants, not the result itself. @det() function only gives you a fixed number, the expr...
by liumartin
Mon Oct 18, 2010 12:37 pm
Forum: Estimation
Topic: A problem for Multivariate Garch-mean > three variables
Replies: 6
Views: 5257

Re: A problem for Multivariate Garch-mean > three variables

Is there a way to not use matrix in my code for logl? I cannot figure out how to do my code if I do not use loops or matrix? Thanks
by liumartin
Mon Oct 18, 2010 12:36 pm
Forum: Programming
Topic: a programming error for matrix in logl
Replies: 4
Views: 4257

Re: a programming error for matrix in logl

Is there a way to not use matrix in my code for logl? I cannot figure out how to do my code if I do not use loops or matrix? Thanks
by liumartin
Mon Oct 18, 2010 9:39 am
Forum: Programming
Topic: a programming error for matrix in logl
Replies: 4
Views: 4257

Re: a programming error for matrix in logl

Is there any way to work out this matrix loop? something like writing a function or subroutine, then call the subroutine from logl.............
by liumartin
Mon Oct 18, 2010 9:37 am
Forum: Estimation
Topic: A problem for Multivariate Garch-mean > three variables
Replies: 6
Views: 5257

Re: A problem for Multivariate Garch-mean > three variables

Thanks trubador. Now I know Matrix cannot be used in logl.

However, for higher dimensional GARCH, to write out expression for determinants is really tedious. Is there any way to work this out? something like writing a function or subroutine, then call the subroutine from logl.............
by liumartin
Sun Oct 17, 2010 9:53 am
Forum: Estimation
Topic: A problem for Multivariate Garch-mean > three variables
Replies: 6
Views: 5257

Re: A problem for Multivariate Garch-mean > three variables

sorry, I forgot to say I only add one variance (var_y1) into this 7 variable GARCH-mean model as a test purpose.
by liumartin
Sun Oct 17, 2010 9:50 am
Forum: Estimation
Topic: A problem for Multivariate Garch-mean > three variables
Replies: 6
Views: 5257

A problem for Multivariate Garch-mean > three variables

Dear I have seen the discussion in the following link for programming Multivariate GARCH-mean model. http://forums.eviews.com/viewtopic.php?f=4&t=273#p971 However, the discussion is about bi/trivariate GARCH. In these cases, we could spread out the var-covariance matrix to compute the matrix det...
by liumartin
Sun Oct 17, 2010 9:12 am
Forum: Programming
Topic: a programming error for matrix in logl
Replies: 4
Views: 4257

a programming error for matrix in logl

Dear there Recently I am trying to programming a Kalman filter in Eviews 6.0. In this programming, I use matrix and vector operation in logl for likelihood function. However, when I am running it, it always report some errors regarding the matrix and vector as in the following picture. I am wonderin...
by liumartin
Tue Mar 16, 2010 7:10 pm
Forum: Estimation
Topic: Regime Switching Model Estimation in Eviews 7
Replies: 3
Views: 4755

Re: Regime Switching Model Estimation in Eviews 7

Could we program the regime switching model in Eviews 7? If yes, is there any sample code?

thanks
by liumartin
Mon Mar 15, 2010 7:15 pm
Forum: Estimation
Topic: Regime Switching Model Estimation in Eviews 7
Replies: 3
Views: 4755

Regime Switching Model Estimation in Eviews 7

Dear

I am wondering if the new version of Eviews 7 could run Regime switching regression.

Thanks :lol:

Martin

Go to advanced search