Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynare
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Ratto
dynare
Commits
fa6997ae
Commit
fa6997ae
authored
3 years ago
by
Marco Ratto
Browse files
Options
Downloads
Patches
Plain Diff
cosmethic changes
parent
60cb0a25
Branches
dyn_occbin
No related tags found
No related merge requests found
Pipeline
#5368
passed
3 years ago
Stage: build
Stage: test
Stage: pkg
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/occbin/model_irrcap_twoconstraints/dynrbc.mod
+7
-12
7 additions, 12 deletions
tests/occbin/model_irrcap_twoconstraints/dynrbc.mod
with
7 additions
and
12 deletions
tests/occbin/model_irrcap_twoconstraints/dynrbc.mod
+
7
−
12
View file @
fa6997ae
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment