various bug fixes and enhancements of occbin
- Aug 26, 2024
-
-
Marco Ratto authored
-
Marco Ratto authored
the error in reconstructing the k-step ahead forecasts with occbin smoother redux, should only occur in the first occbin smoother interation for non-stationary models (with diffuse filter), where tstart>1. if k>tstart, the same simulation should have been done already in occbin.kalman_update, so it should never give an error if k<=tstart, the simulation may crash, since we ignore OBC in the first (diffuse) steps and it may happen that, given the linear updated states, the occbin simulation does not converge. Indeed, I never got a simulation failure in line 474, where this possibility is properly taken into account.
-
Marco Ratto authored
-
Marco Ratto authored
-
- Aug 18, 2024
-
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
- new option use_relaxation_tol_period (default=1): if new regime different from guess by more than use_relaxation_tol_period, relaxation is applied
-
Marco Ratto authored
-
Marco Ratto authored
- trap the case when the occbin simulation does not converge (should only happen when first_period_occbin_update>1)
-
Marco Ratto authored
-
Marco Ratto authored
-