Greetings.
I am attempting to use MLE to estimate an equation, however I am getting "missing values in @LOGL series at current coefficients at observation NNNN". Is there a way Eviews can show which variable is causing the problem? I use OLS to compute starting values for the coefficients and the OLS runs properly, but the MLE does not. Why would this be? If the OLS runs properly, shouldn't the MLE?
Any advice will be much appreciated. Thanks.
Missing Values @logl
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Missing Values @logl
An equation object will automatically drop observations for which there are NAs in any of the variables. A LogL object will no do this, which will cause the error message.
-
CharlesLogan
- Posts: 12
- Joined: Fri Dec 17, 2010 3:31 pm
Re: Missing Values @logl
OK - Thanks. Is there a way to find out which variable is causing the problem? There should be an easier way to find the problem than sifting through all 50 regressors one-by-one.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Missing Values @logl
Unfortunately not. The problem is that it might not be an NA in a variable at all - rather it could be part of the calculation involving multiple variables that gives an NA. For example you might have
log(x1-x2)
as part of the LogL object. Neither X1 nor X2 have NAs, but any observation for which X2 is bigger than X1 will yield an NA for that expression.
log(x1-x2)
as part of the LogL object. Neither X1 nor X2 have NAs, but any observation for which X2 is bigger than X1 will yield an NA for that expression.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Missing Values @logl
What you can do is to look at the contents of the series that you generate inside of the logl to see where you might have a problem. I'd start at the first expression in the logl and look at the contents of the series. If that looks okay, go to the next expression, and so on until you find the problem. If you need to, you can break apart a single expression into multiple lines. Once you find the series that looks wonky, that should give you some idea of how to fix the problem.
One other thing. If your MLE is based on an OLS type model, the problem is probably in your variance specification...
One other thing. If your MLE is based on an OLS type model, the problem is probably in your variance specification...
Who is online
Users browsing this forum: No registered users and 2 guests
