a problem with LOGL object

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

doaa
Posts: 19
Joined: Mon Mar 16, 2009 10:04 am

a problem with LOGL object

Postby doaa » Fri May 01, 2009 7:37 am

Hi
I am using LOGL object to estimate my model but I got an error message. The model and the problem are written in details in the attached file. I apologize because you may find it a long one but I appreciate your help as I am in bad need to solve this problem as soon as possible
Attachments
The model.docx
(19.99 KiB) Downloaded 552 times

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: a problem with LOGL object

Postby trubador » Fri May 01, 2009 9:15 am

Could you please also upload your workfile that includes the variables? It may be helpful in tracking the estimation.

doaa
Posts: 19
Joined: Mon Mar 16, 2009 10:04 am

Re: a problem with LOGL object

Postby doaa » Mon May 04, 2009 4:46 am

Hi
Enclosed herewith, please find the attached E-views file that includes data and model.
Attachments
GARCHSK MODEL.wf1
(183.15 KiB) Downloaded 529 times

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: a problem with LOGL object

Postby trubador » Mon May 04, 2009 7:26 am

As you have suspected, you misspecified the likelihood. It seems you confused known E (errors from estimated GARCH model) with unknown R (residuals of the main equation inside the logl object). Although you used the former variable in generating other series, you should specify the latter in the loglikelihood equation. For instance, the conditional skewness should be defined as S = c(18)+c(19)*R(-1)^3+c(20)*S(-1). Residuals should be estimated jointly with these variables according to your parameter set. Other than that, your estimation difficulty seems typical of starting value problem. You can now try different initial values, once you make the necessary adjustments to your likelihood specification.

By the way, you can use @fact(x) function for factorial calculations...

doaa
Posts: 19
Joined: Mon Mar 16, 2009 10:04 am

Re: a problem with LOGL object

Postby doaa » Mon May 04, 2009 7:41 am

Thank you very much for your effort and time. Actually, I found the peroblem is that I have not imposed the nonnegativity conditions on the parameters of variance, skewness, and kurtosis equations. Actually, I got the idea from your reply to one of the questions in the forum and I put the constraints and I got well-estimated model

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: a problem with LOGL object

Postby trubador » Mon May 04, 2009 7:50 am

Glad to hear that. However, I still believe you should revise your likelihood specification, since it does not match to that of original model in the documentation you sent.

doaa
Posts: 19
Joined: Mon Mar 16, 2009 10:04 am

Re: a problem with LOGL object

Postby doaa » Mon May 04, 2009 8:02 am

I am really grateful for advise and I'll take it in my consideration for sure.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests