Parsing state space gets stuck

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

JamesK
Posts: 3
Joined: Mon Oct 21, 2013 3:00 am

Parsing state space gets stuck

Postby JamesK » Mon Oct 21, 2013 3:54 am

Hi,

I enter a specification which models the behavior of futures with growth at different horizons as state variables (similar to Jegadeesh & Pennacchi 1996). Running the model results in Eviews displaying "parsing specification", but essentially it gets stuck and non-responsive right away. Only by switching Eviews off can this be resolved. I varied the convergence criteria and the number of observations - to no avail.

Could anyone please help out?

The model specification is as follows:

param c(1) 0.01 c(2) 0.01 c(3) 0.01 c(4) 0.001

@signal f11 = c(1)+(z1-(c(3)+c(2)*z2)/(c(2)-c(3)))*exp(-c(2))+(1+z2)*c(2)/(c(2)-c(3))*exp(-c(3))+[var = exp(c(4))]
@signal f12 = 2*c(1)+(z1-(c(3)+c(2)*z2)/(c(2)-c(3)))*(exp(-c(2))+exp(-2*c(2)))+(1+z2)*c(2)/(c(2)-c(3))*(exp(-c(3))+exp(-2*c(3)))+[var = exp(c(4))]
@signal f13 = 3*c(1)+(z1-(c(3)+c(2)*z2)/(c(2)-c(3)))*(exp(-c(2))+exp(-2*c(2))+exp(-3*c(2)))+(1+z2)*c(2)/(c(2)-c(3))*(exp(-c(3))+exp(-2*c(3))+exp(-3*c(3)))+[var = exp(c(4))]
@signal f14 = 4*c(1)+(z1-(c(3)+c(2)*z2)/(c(2)-c(3)))*(exp(-c(2))+exp(-2*c(2))+exp(-3*c(2))+exp(-4*c(2)))+(1+z2)*c(2)/(c(2)-c(3))*(exp(-c(3))+exp(-2*c(3))+exp(-3*c(3))+exp(-4*c(3)))+[var = exp(c(4))]

@state z1=(1+(c(3)*exp(-c(2))-c(2)*exp(-c(3)))/(c(2)-c(3)))*c(1)+exp(-c(2))*z1(-1)+c(2)/(c(2)-c(3))*(exp(-c(3))-exp(-c(2)))*z2(-1)+[var = exp(c(4))]
@state z2=(1-exp(-c(3)))*c(1)+0*z1(-1)+exp(-c(3))*z2(-1)+[var = exp(c(4))]

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

Re: Parsing state space gets stuck

Postby trubador » Mon Oct 21, 2013 5:40 am

It is difficult to detect the source of the problem without seeing the data (or workfile). Try assigning different (also from each other) starting values for coefficients, since you perform arithmetic operations that yield to division by zero at the very beginning of iteration. And make sure that whether all signal and state variables have the same variance.

JamesK
Posts: 3
Joined: Mon Oct 21, 2013 3:00 am

Re: Parsing state space gets stuck

Postby JamesK » Mon Oct 21, 2013 6:12 am

Thank you.

I have uploaded the file with the data (only f11-f14 are used)

Different starting values always results in the same problem: Eviews gets jammed straight away. And all variables do indeed have the same variance.

Since the system gets jammed and there is no error message, does this signify anything?
Last edited by JamesK on Mon Oct 21, 2013 8:36 am, edited 1 time in total.

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

Re: Parsing state space gets stuck

Postby trubador » Mon Oct 21, 2013 6:50 am

The following starting values work fine:

Code: Select all

param c(1) 0.03 c(2) 0.02 c(3) 0.01 c(4) 0.001
Please also check the build date of your copy of EViews and update if necessary.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests