Skip to content
Snippets Groups Projects
Commit fa6997ae authored by Marco Ratto's avatar Marco Ratto
Browse files

cosmethic changes

parent 60cb0a25
Branches dyn_occbin
No related tags found
No related merge requests found
Pipeline #5368 passed
......@@ -82,16 +82,6 @@ stoch_simul(order=1,nocorr,nomoments,irf=0,noprint);
// run occbin simulations
opts_simul = options_.occbin.simul;
% Pick innovation for IRFs
opts_simul.irfshock={'erra'}; % label for innovation for IRFs
% needs to be an exogenous variable in the
% dynare .mod files
opts_simul.maxiter = 200;
opts_simul.tol0 = 1e-8;
% Option=1: impulse responses
% Option=2: random simulation
......@@ -124,11 +114,16 @@ if option==2
shockssequence = 1*randn(nperiods,1)*0.02 ;
end
%%
% Solve model, generate model IRFs
% set inputs
opts_simul = options_.occbin.simul;
opts_simul.irfshock={'erra'}; % label for innovation for IRFs
% needs to be an exogenous variable in the
% dynare .mod files
opts_simul.SHOCKS=shockssequence;
opts_simul.maxiter = 200;
opts_simul.tol0 = 1e-8;
out = runsim_occbin_fn(opts_simul,M_,oo_,options_);
%% Modify to plot IRFs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment