Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
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
Dynare
dynare
Commits
988e79b5
Commit
988e79b5
authored
9 years ago
by
Stéphane Adjemian
Browse files
Options
Downloads
Plain Diff
Merge pull request #1027 from JohannesPfeifer/irf_plot_threshold
Make irf_plot_threshold consistent with manual
parents
de9f5cd8
9b6d7dc6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
matlab/PosteriorIRF.m
+1
-1
1 addition, 1 deletion
matlab/PosteriorIRF.m
matlab/PosteriorIRF_core2.m
+1
-1
1 addition, 1 deletion
matlab/PosteriorIRF_core2.m
matlab/stoch_simul.m
+1
-1
1 addition, 1 deletion
matlab/stoch_simul.m
with
3 additions
and
3 deletions
matlab/PosteriorIRF.m
+
1
−
1
View file @
988e79b5
...
...
@@ -398,7 +398,7 @@ if options_.TeX && any(strcmp('eps',cellstr(options_.graph_format)))
figunumber
=
0
;
for
jj
=
1
:
nvar
if
max
(
abs
(
MeanIRF
(:,
jj
,
ii
)))
>
options_
.
impulse_responses
.
plot_threshold
if
max
(
abs
(
MeanIRF
(:,
jj
,
ii
)))
>
=
options_
.
impulse_responses
.
plot_threshold
subplotnum
=
subplotnum
+
1
;
if
subplotnum
==
1
...
...
This diff is collapsed.
Click to expand it.
matlab/PosteriorIRF_core2.m
+
1
−
1
View file @
988e79b5
...
...
@@ -100,7 +100,7 @@ for i=fpar:npar,
figunumber
=
0
;
for
j
=
1
:
nvar
if
max
(
abs
(
MeanIRF
(:,
j
,
i
)))
>
options_
.
impulse_responses
.
plot_threshold
if
max
(
abs
(
MeanIRF
(:,
j
,
i
)))
>
=
options_
.
impulse_responses
.
plot_threshold
subplotnum
=
subplotnum
+
1
;
if
subplotnum
==
1
&&
options_
.
relative_irf
hh
=
dyn_figure
(
options_
,
'Name'
,[
'Relative response to orthogonalized shock to '
tit
(
i
,:)]);
...
...
This diff is collapsed.
Click to expand it.
matlab/stoch_simul.m
+
1
−
1
View file @
988e79b5
...
...
@@ -215,7 +215,7 @@ if options_.irf
y
(
i_var
(
j
),:)
'
);
eval
([
'oo_.irfs.'
deblank
(
M_
.
endo_names
(
i_var
(
j
),:))
'_'
...
deblank
(
M_
.
exo_names
(
i
,:))
' = y(i_var(j),:);'
]);
if
max
(
abs
(
y
(
i_var
(
j
),:)))
>
options_
.
impulse_responses
.
plot_threshold
if
max
(
abs
(
y
(
i_var
(
j
),:)))
>
=
options_
.
impulse_responses
.
plot_threshold
irfs
=
cat
(
1
,
irfs
,
y
(
i_var
(
j
),:));
if
isempty
(
mylist
)
mylist
=
deblank
(
var_list
(
j
,:));
...
...
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