Use function f to generate the outputs from a ATSM
Functionf_vectorized(
x,
sizex,
f,
con,
ListInputSet,
ModelType,
FactorLabels,
Economies,
JLLinputs,
GVARinputs,
WithEstimation
)
vector containing all the vectorized auxiliary parameters
matrix (6x2) containing the size information of all parameters
vector-valued objective function (function)
if con = 'concentration', then set the value of the parameter whose name contains @ to empty
variable inputs used in the optimization (see inputs from "optimization" function)
string-vector containing the label of the model to be estimated
string-list based which contains the labels of all the variables present in the model
string-vector containing the names of the economies which are part of the economic system
Set of necessary inputs used in the estimation of the JLL-based models (see "JLL" function)
Set of necessary inputs used in the estimation of the GVAR-based models (see "GVAR" function)
if TRUE, returns only the values of the likelihood function, else generates the entire set of outputs
This function is modified version of the "f_with_vectorized_parameters" function by Le and Singleton (2018).
"A Small Package of Matlab Routines for the Estimation of Some Term Structure Models."
(Euro Area Business Cycle Network Training School - Term Structure Modelling).
Available at: https://cepr.org/40029