Test that the extended path and stoch_simul (with order equal to 1)
algorithms return the same paths for the endogenous variables if the
RE model is linear.
The third input argument of extended_path Matlab/Octave's routine is the
sequence of shocks (T*n array, where n is the number of exogenous
variables and T is the size of the sample). If the third argument is
empty, the (stochastic) extended path is run with gaussian
innovations (this corresponds to the previous behaviour).
TODO:
- Fix the compatibility with ep.replic_nbr
- Check the 'calibrated' mode.
Simulation of the Smets and Wouters perfect foresight model, with a
productivity shock such that the nominal interest rate hits the
ZLB. Comparison of the solutions returned by a Newton
algorithm (stack_solve_algo==0) and the LMMCP algorithm. AT the time of
this commit, the results are different... Probably an issue with the
LMMCP algorithm.
+ Fixed deprecated require().
+ Changed @dynare macro and added new macro @compile.
The new macro @compile just runs the preprocessor, while the macro
@dynare calls compile and put the generated objects in the
workspace. Note that this macro can take an arbitrary number of mod
files as argument.
*Example*
@dynare "rbc.mod" "nk.mod"
Will run the preprocessor on both models, and the generated
data (model descriptions, options, ...) are available in the
workspace. For instance, to obtain the number of equations:
julia> rbc.model.eq_nbr
6
julia> nk.model.eq_nbr
10
@compile "rbc.mod" "nk.mod"
Will run the preprocessor on both models, but will not load the
generated data in the workspace. This can be done as follows:
julia> using rbc
+ Changed examples (rbc1 has a steady state block but not rbc2), using
new interface.
- handle sub lists of individual samplers
- split checks in dynare_estimation_init.m and before running posterior_sampler.m [invhess checks]
- posterior sampler options checks moved from initial_estimation_checks.m to check_posterior_sampler_options.m
- added use_mh_covariance_matrix to imh and rwmh
- slice re-sets mode_compute=0 cova_compute=0
- updated test function