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
Johannes Pfeifer
dynare
Commits
6737d9f8
Commit
6737d9f8
authored
2 years ago
by
Marco Ratto
Browse files
Options
Downloads
Patches
Plain Diff
truncate stochastic shocks to 90 periods, to avoid no convergence in period 91
parent
e31b3137
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/occbin/model_irrcap_twoconstraints/dynrbc_common.inc
+3
-3
3 additions, 3 deletions
tests/occbin/model_irrcap_twoconstraints/dynrbc_common.inc
with
3 additions
and
3 deletions
tests/occbin/model_irrcap_twoconstraints/dynrbc_common.inc
+
3
−
3
View file @
6737d9f8
...
@@ -44,13 +44,13 @@ if option==1
...
@@ -44,13 +44,13 @@ if option==1
elseif
option
==
2
elseif
option
==
2
nperiods
=
10
0
;
nperiods
=
9
0
;
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
:
10
0
;
periods
1
:
9
0
;
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
:
10
0
]);
occbin_write_regimes
(
filename
=
'test'
,
periods
=
[
1
:
9
0
]);
%%
Modify
to
plot
IRFs
%%
Modify
to
plot
IRFs
titlelist
=
char
(
'c'
,
'lambdak'
,
'k'
,
'i'
,
'a'
);
titlelist
=
char
(
'c'
,
'lambdak'
,
'k'
,
'i'
,
'a'
);
...
...
This diff is collapsed.
Click to expand it.
Marco Ratto
@rattoma
mentioned in commit
e0d4472d
·
2 years ago
mentioned in commit
e0d4472d
mentioned in commit e0d4472d7c71abf4f2bce6d598d79d6d3c8d2fee
Toggle commit list
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