Draft: several enhancements to solver, filtering/smoothing
- Dec 16, 2023
-
-
Marco Ratto authored
-
Marco Ratto authored
now use_relaxation is embedded in the new update engine and is extended to work with 2 constraints.
-
Marco Ratto authored
- make name of opts_simul subfield homogeneous for likelihood computation and smoother; - fill the new field opts_regime with init_binding_indicator init_regime_history, to avoid possible conflics with simulations done in realtime filtering steps - in smoother, use init_binding_indicator init_regime_history options set in options_.occbin.smoother - fix bug in guess regime for 2 constraints in kalman_update_algo_1 kalman_update_algo_3
-
- Dec 15, 2023
-
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
-
- Dec 14, 2023
-
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
-
Marco Ratto authored
check for additional solution when guess was slack, exit is binding in first 2 periods (where state uncertainty is largest). don't check existence of initialized option
-
- Dec 13, 2023
-
-
Marco Ratto authored
enhance search of filtered regime, using new kalman_update_engine that also factorizes codes. options brute_force_regime_guess (default) and loss_function_regime_guess (optional, more time consuming) may be used to serch for better solution (i.e. a solution providing better data density)
-
Marco Ratto authored
trap the case where the occbin realtime smoother returns with an error, so we need to rely on inear smoother for first guess
-
Marco Ratto authored
make convergence criteria for periodic solution more precise. also allow periodic loops to be a solution (periodic_solution_strict=false) provided a regime is found that does not violate constraint in expectation AND the number of periods in violation is smaller than max allowed (periodic_solution_threshold= INTEGER)
-
Marco Ratto authored
also store simul.piecewise and simul.linear in oo_.occbin.smoother, for easier post-processing of results
-
Marco Ratto authored
-
Marco Ratto authored
try using smoothed shocks from linear smoother as last resort initialize guess sequence of regimes in smoother
-
Marco Ratto authored
-
Marco Ratto authored
-