Merge branch 'occ_test' of git.dynare.org:JohannesPfeifer/dynare

Ref. !2103
unit-tests
Sébastien Villemot 2022-11-22 11:24:57 +01:00
commit d554b79772
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
1 changed files with 12 additions and 12 deletions

View File

@ -44,13 +44,13 @@ if option==1
elseif option==2
nperiods = 90;
nperiods = 40;
randn('seed',1);
shockssequence = 1*randn(nperiods,1)*0.02 ;
shocks(surprise,overwrite);
var erra;
periods 1:90;
periods 1:40;
values (shockssequence);
end;
@ -60,7 +60,7 @@ end
occbin_setup(smoother_debug);
occbin_solver(simul_debug,simul_periodic_solution,simul_periods=200,simul_maxit=300,simul_curb_retrench,simul_check_ahead_periods=300);
occbin_write_regimes(filename='test',periods=[1:90]);
occbin_write_regimes(filename='test',periods=[1:40]);
%% Modify to plot IRFs
titlelist = char('c','lambdak','k','i','a');