MS-SBVAR: normalize comments in headers
parent
c73d179f4d
commit
7764a6a14d
|
@ -1,5 +1,5 @@
|
|||
function clean_files_for_second_type_of_mex(M_, options_, type)
|
||||
%function clean_files_for_second_type_of_mex()
|
||||
% function clean_files_for_second_type_of_mex(M_, options_, type)
|
||||
% clean the files for the appropriate file tag and mex function
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_estimation_files(file_tag)
|
||||
% function clean_ms_estimation_files()
|
||||
% function clean_ms_estimation_files(file_tag)
|
||||
% removes MS estimation files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_forecast_files(file_tag)
|
||||
% function clean_ms_forecast_files()
|
||||
% function clean_ms_forecast_files(file_tag)
|
||||
% removes MS forecast files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_init_files(file_tag)
|
||||
% function clean_ms_init_files()
|
||||
% function clean_ms_init_files(file_tag)
|
||||
% removes MS initialization files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_irf_files(file_tag)
|
||||
% function clean_ms_irf_files()
|
||||
% function clean_ms_irf_files(file_tag)
|
||||
% removes MS irf files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_mdd_files(file_tag, pt)
|
||||
% function clean_ms_mdd_files()
|
||||
% function clean_ms_mdd_files(file_tag, pt)
|
||||
% removes MS mdd files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_probabilities_files(file_tag)
|
||||
% function clean_ms_probabilities_files()
|
||||
% function clean_ms_probabilities_files(file_tag)
|
||||
% removes MS probabilities files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_simulation_files(file_tag)
|
||||
% function clean_ms_simulation_files()
|
||||
% function clean_ms_simulation_files(file_tag)
|
||||
% removes MS simulation files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_ms_variance_decomposition_files(file_tag)
|
||||
% function clean_ms_variance_decomposition_files()
|
||||
% function clean_ms_variance_decomposition_files(file_tag)
|
||||
% removes MS variance decomposition files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function clean_sbvar_files()
|
||||
%function clean_sbvar_files()
|
||||
% function clean_sbvar_files()
|
||||
% Remove files created by sbvar
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function create_dir(dirname)
|
||||
% function create_dir()
|
||||
% function create_dir(dirname)
|
||||
% creates directory if it doesn't exist
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function delete_dir_if_exists(dirname)
|
||||
% function delete_dir_if_exists()
|
||||
% function delete_dir_if_exists(dirname)
|
||||
% removes directory if it exists
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function delete_if_exists(fname)
|
||||
% function delete_if_exists()
|
||||
% function delete_if_exists(fname)
|
||||
% removes MS intermediary files
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function dyn_save_graph(dirname,graph_name,graph_formats,TeX,names,texnames,caption)
|
||||
% function dyn_graph_save(graph_name,graph_formats,TeX)
|
||||
% function dyn_save_graph(dirname,graph_name,graph_formats,TeX,names,texnames,caption)
|
||||
% saves Dynare graphs
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function options_=initialize_ms_sbvar_options(M_, options_)
|
||||
%function initialize_ms_sbvar_options()
|
||||
% function options_=initialize_ms_sbvar_options(M_, options_)
|
||||
% sets ms sbvar options back to their default values
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_compute_mdd(M_, options_, oo_)
|
||||
%function ms_compute_mdd()
|
||||
% MS Sbvar Compute Marginal Data Density
|
||||
% function [options_, oo_]=ms_compute_mdd(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Compute Marginal Data Density
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_compute_probabilities(M_, options_, oo_)
|
||||
%function ms_simulation()
|
||||
% MS Sbvar Compute Posterior Mode Regime Probabilities
|
||||
% function [options_, oo_]=ms_compute_probabilities(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Compute Posterior Mode Regime Probabilities
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_estimation(M_, options_, oo_)
|
||||
%function ms_estimation()
|
||||
% MS Sbvar Estimation
|
||||
% function [options_, oo_]=ms_estimation(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Estimation
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_forecast(M_, options_, oo_)
|
||||
%function ms_forecast()
|
||||
% MS-SBVAR Forecast
|
||||
% function [options_, oo_]=ms_forecast(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Forecast
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_irf(varlist,M_, options_, oo_)
|
||||
%function ms_irf()
|
||||
% MS-SBVAR Impulse Response Function
|
||||
function [options_, oo_]=ms_irf(varlist, M_, options_, oo_)
|
||||
% function [options_, oo_]=ms_irf(varlist, M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Impulse Response Function
|
||||
%
|
||||
% INPUTS
|
||||
% varlist: (chararray) list of selected endogenous variables
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function ms_sbvar_setup(options_)
|
||||
%function ms_sbvar_setup()
|
||||
% function ms_sbvar_setup(options_)
|
||||
% does the general file initialization for ms sbvar
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_simulation(M_, options_, oo_)
|
||||
%function ms_simulation()
|
||||
% MS Sbvar Simulation
|
||||
% function [options_, oo_]=ms_simulation(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Simulation
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
function [options_, oo_]=ms_variance_decomposition(M_, options_, oo_)
|
||||
%function ms_variance_decomposition()
|
||||
% MS-SBVAR Variance Decomposition
|
||||
% function [options_, oo_]=ms_variance_decomposition(M_, options_, oo_)
|
||||
% Markov-switching SBVAR: Variance Decomposition
|
||||
%
|
||||
% INPUTS
|
||||
% M_: (struct) model structure
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function plot_ms_forecast(M_,options_,forecast,title_,save_graph_formats,TeX)
|
||||
% function [] = plot_ms_forecast(forecast,names)
|
||||
% function plot_ms_forecast(M_,options_,forecast,title_,save_graph_formats,TeX)
|
||||
% plots the forecast from the output from a ms-sbvar
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function plot_ms_irf(M_, options_, irf, names, title_, varlist)
|
||||
% function [] = plot_ms_irf(irf,names)
|
||||
% function plot_ms_irf(M_, options_, irf, names, title_, varlist)
|
||||
% plots the impulse responses from the output from a ms-sbvar
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function plot_ms_probabilities(computed_probabilities, options_)
|
||||
% function plot_ms_probabilities(computed_probabilities)
|
||||
% function plot_ms_probabilities(computed_probabilities, options_)
|
||||
% Plots the regime probablities for each graph
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function plot_ms_variance_decomposition(M_, options_, vd, title_, graph_save_formats, ...
|
||||
TeX, varargin)
|
||||
function plot_ms_variance_decomposition(M_, options_, vd, title_, graph_save_formats, TeX, varargin)
|
||||
% function plot_ms_variance_decomposition(M_, options_, vd, title_, graph_save_formats, TeX, varargin)
|
||||
% plot the variance decomposition of shocks
|
||||
%
|
||||
% Inputs
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function [options_]=set_file_tags(options_)
|
||||
%function set_file_tags()
|
||||
% function [options_]=set_file_tags(options_)
|
||||
% Sets the appropriate file tags for first type of mex function
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function [options_, oo_]=set_ms_estimation_file(file_tag, options_, oo_)
|
||||
%function set_ms_estimation_file()
|
||||
% function [options_, oo_]=set_ms_estimation_file(file_tag, options_, oo_)
|
||||
% Set options_.ms.free_param_file based on user input
|
||||
%
|
||||
% INPUTS
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function options_=set_ms_simulation_file(options_)
|
||||
%function set_ms_simulation_file()
|
||||
% function options_=set_ms_simulation_file(options_)
|
||||
% Set options_.ms.mh_file based on user input
|
||||
%
|
||||
% INPUTS
|
||||
|
|
Loading…
Reference in New Issue