Parsing state space gets stuck
Posted: 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))]
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))]