Page 1 of 1

getting out of an overflow

Posted: Sun Sep 25, 2022 11:39 pm
by lukeroom
Hello, I was running non-linear least squares and I got an overflow.
Since then, all other maximization routines that were estimating other equations (and were working before the overflow) got stuck and I kept on obtaining overflows also in equations that i was able to estimate without any problems.
I guess that the overflow affects the maximization routines overall... so my question is if there is a way to restart the routines in order to get rid of the problem caused by the overflow.
Thank you!

Re: getting out of an overflow

Posted: Mon Sep 26, 2022 6:06 am
by startz
You probably want to change the starting values (in the C vector).

Re: getting out of an overflow

Posted: Mon Sep 26, 2022 6:26 am
by lukeroom
yes... indeed!
the starting values are those appearing in the vector c?
should I go to the vector c and change one by one the values?

Re: getting out of an overflow

Posted: Mon Sep 26, 2022 7:45 am
by startz
yes... indeed!
the starting values are those appearing in the vector c?
should I go to the vector c and change one by one the values?
It's very hard to know which starting value is causing the problem. You might want to set them all at values you think are reasonable. If that doesn't work then, yes, experimenting with the values makes sense.

Re: getting out of an overflow

Posted: Wed Sep 28, 2022 7:07 am
by lukeroom
very useful, thank you! Finally I know where starting values are stored.