Manual versus built in Maximum Likelihood: Different results

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

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Manual versus built in Maximum Likelihood: Different results

Postby strypste » Thu Sep 18, 2014 11:50 am

Hi

I would like to estimate an AR(1)ARCH(1) model. The program I attached does this in two ways. One way is with the built in command and the other is by creating an LogL object. I set the options of these procedures so that they are exactly the same. Unfortunately I do get slightly different results and I do not see why. Does somebody have an idea?

Best
s
Attachments
ar1arch1.prg
Program
(1.41 KiB) Downloaded 345 times
ar1arch1.wf1
Workfile
(40.75 KiB) Downloaded 291 times

strypste
Posts: 53
Joined: Tue Jan 24, 2012 8:54 am

Re: Manual versus built in Maximum Likelihood: Different res

Postby strypste » Thu Sep 18, 2014 12:03 pm

Oh I forgot to mention the following.

One difference I can see in the output is the derivs option. For the built in command it says "accurate mixed (linear)" and for the manual method it says "accurate numeric". For the built in command I have set the derivs option to accurate numeric derivatives and always use numeric. For the manual built in I use the default.

Hope this helps..

Best
s

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Manual versus built in Maximum Likelihood: Different res

Postby EViews Gareth » Thu Sep 18, 2014 1:11 pm

I think the most likely cause is presample variance issues. If you change your estimation command to this:

Code: Select all

equation eq1.arch(1,0,showopts,m=1000,c=1e-8,s=0,z,derivs="an", backcast=0.000001) y c ar(1)
you get much closer to the logl.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests