Skip to content
Snippets Groups Projects
Commit 7c4c0fe4 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

dynrbc_common.inc: decrease number of simulation periods to prevent testsuite crashes

parent c1ed5d0f
No related branches found
No related tags found
No related merge requests found
...@@ -44,13 +44,13 @@ if option==1 ...@@ -44,13 +44,13 @@ if option==1
elseif option==2 elseif option==2
nperiods = 90; nperiods = 40;
randn('seed',1); randn('seed',1);
shockssequence = 1*randn(nperiods,1)*0.02 ; shockssequence = 1*randn(nperiods,1)*0.02 ;
shocks(surprise,overwrite); shocks(surprise,overwrite);
var erra; var erra;
periods 1:90; periods 1:40;
values (shockssequence); values (shockssequence);
end; end;
...@@ -60,7 +60,7 @@ end ...@@ -60,7 +60,7 @@ end
occbin_setup(smoother_debug); 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_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 %% Modify to plot IRFs
titlelist = char('c','lambdak','k','i','a'); titlelist = char('c','lambdak','k','i','a');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment