MS-SBVAR: remove unused argument to plot_ms_irf.m
parent
864e0b7c7e
commit
4e41ad7285
|
@ -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
|
||||
|
|
|
@ -1,21 +1,18 @@
|
|||
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.
|
||||
%
|
||||
|
|
Loading…
Reference in New Issue