Is it possible, in the logl-object, to estimate an regression with an embedded likelihood-function, as the equation below suggests:
I have always thought so, since the idéa with maximum likelihood is to create a likelihood for the product of all residuals (sum likelihood), well at least that´s what I thought. But now Im not sure anymore, and I don´t know how to write it in code, its always some error. Is there some way to shorten it to several parts?
ML-estimation
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: ML-estimation
I don't think anyone can answer that. I'm not sure what an embedded likelihood is. Also, I don't see any likelihood looking thing in the equation.
Re: ML-estimation
ah, sorry if I didn´t explained the equation properly.
The phi_l squared is the likelihood estimate that people act rationally towards inflation expectations, phi^e. What I meant with an embedded likelihood function is that the parenthesis is just a part of the whole equation (but maybe I described it bad). At first I thought that I would estimate the parenthesis separately, but my supervisor told me otherwise. But now Im stuck with the problem on how to write this in eviews. I don´t know if there is any other way, other than the logl-object, and I would greatly appreciate any help.
The phi_l squared is the likelihood estimate that people act rationally towards inflation expectations, phi^e. What I meant with an embedded likelihood function is that the parenthesis is just a part of the whole equation (but maybe I described it bad). At first I thought that I would estimate the parenthesis separately, but my supervisor told me otherwise. But now Im stuck with the problem on how to write this in eviews. I don´t know if there is any other way, other than the logl-object, and I would greatly appreciate any help.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: ML-estimation
The LogL object is the only chance you have. The main restriction with the LogL object is that you can only optimise something that is the sum of individual observations. Looking at your equation, I see no summation, so I'm not sure if that is the case.
Re: ML-estimation
Thanks for your answer, it helps a lot. At first, I thought exactly the same, and tried to code it in the logl-object. The thing is that phi_l is approximated by several different specifications, as seen in the picture below.
Its just that my supervisor told me that phi_l should be estimated separately, but on the other hand he does not know eviews.
But do you know if its possible to code equation (7) and substitute phi_l with eq. (9) or (10)? I´ve tried that but found it very difficult.
But do you know if its possible to code equation (7) and substitute phi_l with eq. (9) or (10)? I´ve tried that but found it very difficult.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
ML-estimation
I'm reasonably confident that cannot be estimated in EViews yet.
Re: ML-estimation
ah.. ok. Thanks for your help anyway, you are the only one being clear and direct to the point. Thanks!
Who is online
Users browsing this forum: No registered users and 2 guests
