@logl error

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

petimi
Posts: 9
Joined: Wed Apr 08, 2009 9:17 am

@logl error

Postby petimi » Wed Apr 08, 2009 9:55 am

Hi,

I'm currently trying to estimate the CKLS continuous time model in EVIEWS 6, but keep getting an error and was wondering if anyone would be good enough to give me a few pointers.

The data I'm using is the 1 Month Interbank rate from August 2001 up to March 2009, at daily intervals. (I named this series 'r')

The Logl object I have declared in EVIEWS is the following:

@logl logl1

res = r - (exp(c(2)))*r(-1) - (c(1)/c(2))*(exp(c(2)) -1) // error term

var = (c(3)^2 / 2*c(2))*(exp(2*c(2)) -1)*(r(-1)^(2*c(4))) // variance term

logl1 = -(2*log(sqr(var)) + res^2 / var) // logl function with a -ve sign because EVIEWS maximises the function


where c(1) is alpha, c(2) is beta, c(3) is sigma and c(4) is gamma

The syntax seem to pass ok after I click on 'Estimate', but after this an annoying message pops up declaring, "Missing values in @LOGL series at current coefficients at observation 1" and the estimation procedure stops immediately.

Any pointers from EVIEWS specialists would be greatly appreciated.

Thanks in advance.

Petimi

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

Re: @logl error

Postby EViews Gareth » Wed Apr 08, 2009 9:58 am



Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests