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
Frédéric Karamé
dynare
Commits
4e41ad72
Commit
4e41ad72
authored
13 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
MS-SBVAR: remove unused argument to plot_ms_irf.m
parent
864e0b7c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
matlab/ms-sbvar/ms_irf.m
+3
-3
3 additions, 3 deletions
matlab/ms-sbvar/ms_irf.m
matlab/ms-sbvar/plot_ms_irf.m
+3
-6
3 additions, 6 deletions
matlab/ms-sbvar/plot_ms_irf.m
with
6 additions
and
9 deletions
matlab/ms-sbvar/ms_irf.m
+
3
−
3
View file @
4e41ad72
...
...
@@ -95,8 +95,8 @@ if options_.ms.regimes
irf_data
=
reshape_ascii_irf_data
(
M_
.
endo_nbr
,
percentiles_size
,
...
options_
.
ms
.
horizon
,
irf_data
);
save
([
irfdir
filesep
'irf_state_'
num2str
(
state_i
-
1
)],
'irf_data'
);
plot_ms_irf
(
M_
,
options_
,
irf_data
,
options_
.
varobs
,
...
[
'Impulse Responses, State
...
'
num2str
(
state_i
)],
varlist
);
plot_ms_irf
(
M_
,
options_
,
irf_data
,
...
[
'Impulse Responses, State '
num2str
(
state_i
)],
varlist
);
end
else
if
options_
.
ms
.
regime
...
...
@@ -120,6 +120,6 @@ else
irf_data
=
reshape_ascii_irf_data
(
M_
.
endo_nbr
,
percentiles_size
,
...
options_
.
ms
.
horizon
,
irf_data
);
save
([
irfdir
filesep
save_filename
],
'irf_data'
);
plot_ms_irf
(
M_
,
options_
,
irf_data
,
options_
.
varobs
,
irf_title
,
varlist
);
plot_ms_irf
(
M_
,
options_
,
irf_data
,
irf_title
,
varlist
);
end
end
This diff is collapsed.
Click to expand it.
matlab/ms-sbvar/plot_ms_irf.m
+
3
−
6
View file @
4e41ad72
function
plot_ms_irf
(
M_
,
options_
,
irf
,
names
,
title_
,
varlist
)
% function plot_ms_irf(M_, options_, irf,
names,
title_, varlist)
function
plot_ms_irf
(
M_
,
options_
,
irf
,
title_
,
varlist
)
% function plot_ms_irf(M_, options_, irf, title_, varlist)
% plots the impulse responses from the output from a ms-sbvar
%
% INPUTS
% M_
% irf should be in the form (percentile x horizon x (nvar x nvar)), if banded otherwise
% ( horizon x (nvar x nvar) )
%
% names: character list of the names of the variables
%
% title: optional super title
%
% The element in position (k,i+j*nvars) of ir is the response of the ith
% variable to the jth shock at horizon k. Horizon 0 is the contemporaneous
% response.
% Copyright (C) 2011 Dynare Team
% Copyright (C) 2011
-2012
Dynare Team
%
% This file is part of Dynare.
%
...
...
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