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
71fa8cac
Commit
71fa8cac
authored
5 years ago
by
Marco Ratto
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug with steady state of annualized variables requiring auxiliary while doing expand
parent
ac511ca7
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1655
utilities + plot shock decompositions + init condition decompositions
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/plot_shock_decomposition.m
+5
-0
5 additions, 0 deletions
matlab/plot_shock_decomposition.m
with
5 additions
and
0 deletions
matlab/plot_shock_decomposition.m
+
5
−
0
View file @
71fa8cac
...
@@ -325,6 +325,11 @@ if options_.plot_shock_decomp.use_shock_groups
...
@@ -325,6 +325,11 @@ if options_.plot_shock_decomp.use_shock_groups
M_
.
endo_names_tex
=
endo_names_tex
;
M_
.
endo_names_tex
=
endo_names_tex
;
else
else
% here we know we only have one variable to handle
% here we know we only have one variable to handle
if
isstruct
(
q2a
.
aux
)
&&
ischar
(
q2a
.
aux
.
y
)
steady_state_aux
=
get_mean
(
q2a
.
aux
.
y
);
q2a
.
aux
.
y
=
repmat
(
steady_state_aux
,
16
,
1
);
q2a
.
aux
.
yss
=
steady_state_aux
;
end
[
~
,
yssa
,
~
,
gyssa
]
=
...
[
~
,
yssa
,
~
,
gyssa
]
=
...
quarterly2annual
(
repmat
(
steady_state
,
16
,
1
),
steady_state
,
q2a
.
GYTREND0
,
q2a
.
type
,
q2a
.
islog
,
q2a
.
aux
);
quarterly2annual
(
repmat
(
steady_state
,
16
,
1
),
steady_state
,
q2a
.
GYTREND0
,
q2a
.
type
,
q2a
.
islog
,
q2a
.
aux
);
if
q2a
.
plot
==
1
if
q2a
.
plot
==
1
...
...
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