A Question on mode_compute=4
Posted: Thu Jul 10, 2014 8:39 am
Dear all,
In the optimizer when mode_compute=4 (Sims's csminwel), there is a indicator for convergence called retcodehat. It has several possible values, which are 0 (normal step); 1 (zero gradient); 3 (smallest stepsize still improves too slow); 4,2 (back and forth adjustment of stepsize didn't finish); 5 (largest step still improves too fast); 6 (no improvement found); 7 ('warning: possible inaccuracy in H matrix').
In my experience, 0 and 6 are the most frequent ones I got. I have been puzzling which one indicates convergence?
Thanks a lot!
Bing
In the optimizer when mode_compute=4 (Sims's csminwel), there is a indicator for convergence called retcodehat. It has several possible values, which are 0 (normal step); 1 (zero gradient); 3 (smallest stepsize still improves too slow); 4,2 (back and forth adjustment of stepsize didn't finish); 5 (largest step still improves too fast); 6 (no improvement found); 7 ('warning: possible inaccuracy in H matrix').
In my experience, 0 and 6 are the most frequent ones I got. I have been puzzling which one indicates convergence?
Thanks a lot!
Bing