"overflow of analytical derivatives" error

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

purdued
Posts: 8
Joined: Tue Nov 19, 2013 10:30 am

"overflow of analytical derivatives" error

Postby purdued » Fri Nov 22, 2013 5:30 am

Hi all,

I'm currently trying to estimate an non-linear STR with the following:

smpl @all

series dr_uk = r_uk - r_uk(-1)
series ldr_uk = dr_uk(-1)
series t = @trend + 1

coef(1) gamma
coef(1) lambda
coef(7) beta
coef(7) theta


LS R_UK = (1 - 1/(1 + @exp(-gamma(1)*(t - lambda(1)))))*(BETA(1) + BETA(2)*R_UK(-1) + BETA(3)*LDR_UK + BETA(4)*PI_GUK + BETA(5)*Y_GUK + BETA(6)*PI_UK + BETA(7)*CLI_UK) + (1/(1 + @exp(-gamma(1)*(t - lambda(1)))))*(THETA(1) + THETA(2)*R_UK(-1) + THETA(3)*LDR_UK + THETA(4)*PI_GUK + THETA(5)*Y_GUK + THETA(6)*PI_UK + THETA(7)*CLI_UK)

I get an error saying "overflow of analytical derivatives" although I get estimates for my coefficients. What I don't get is a equation object.

Anyone knows what's happening here?

I'm new to eviews so I'm hoping its something stupid.

Thanks
Dave

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: "overflow of analytical derivatives" error

Postby EViews Glenn » Fri Nov 22, 2013 2:54 pm

Can you post your workfile?

purdued
Posts: 8
Joined: Tue Nov 19, 2013 10:30 am

Re: "overflow of analytical derivatives" error

Postby purdued » Tue Nov 26, 2013 9:19 am

Hi Glenn,

Here's the workfile, sorry for the delay.

I have a feeling all this is due to the spec of the pc I'm working on.
str_data.WF1
(123.58 KiB) Downloaded 740 times

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

Re: "overflow of analytical derivatives" error

Postby trubador » Thu Nov 28, 2013 1:54 am

Try assigning initial values to coefficients other than zero:

Code: Select all

coef(1) gamma = .1 coef(1) lambda = .1 coef(7) beta = .1 coef(7) theta = .1

purdued
Posts: 8
Joined: Tue Nov 19, 2013 10:30 am

Re: "overflow of analytical derivatives" error

Postby purdued » Fri Nov 29, 2013 10:41 am

Thanks Trubador.

Changing initial values helps alright. the model is very sensitive to what you set them to though.

I can set the initial values to non-zero numbers and have gotten equation objects while other non-zero numbers will result in the error will pop up.

Is it possible a figure is tending to zero or infinity in the iterative process and that cuts it off (i'm not sure - just throwing ideas out there).

Dave

dsokhi
Posts: 3
Joined: Fri Sep 13, 2013 3:25 am

Re: "overflow of analytical derivatives" error

Postby dsokhi » Mon Jul 07, 2014 4:34 am

Hi,

I am getting the same "overflow in analytical derivatives" error as soon as I add a dummy variable. Number of observations is greater than the number of variables on RHS. Also I tried to set the initial values of coefficients in 'c' to non-zero numbers (1 and -1).

Could you please let me know the reason why I get this error and how can I overcome it?

Thanks.

Note: Sorry I can't post the eviews file due to confidentiality of data!

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: "overflow of analytical derivatives" error

Postby EViews Glenn » Tue Jul 08, 2014 8:16 am

Can you look at the Derivatives display to see the analytic derivatives? You can try to evaluate these expressions one by one to see which one is giving you problems.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests