On Tue, 24 Feb 2009 andreas.rosenblad(a)ltv.se wrote:
I am trying to run a gretl script with quantile regression estimation
bootstrapped data. However, for some bootstrap resamples the quantile
regression estimation fails, resulting in the script ending with error.
First, is it possible to instead of ending the script with an error in some
way get an exitflag with an error code, e.g. exitflag = 1 if success, 0 if
no convergence, -1 if not enough iterations to reach convergence?
Secondly, if it is not possibly yet, I would appreciate if it could be
I'm not sure if this will do the job for you, but please try
set halt_on_error off
and see if it's helpful. We probably ought to have some sort of
"catch" mechanism whereby the user can trap specific errors that
are considered non-fatal.