Learn R Programming

MultiATSM (version 0.3.6)

InputsForMLEdensity_BS: Generates several inputs that are necessary to build the likelihood function - Bootstrap version

Description

Generates several inputs that are necessary to build the likelihood function - Bootstrap version

Usage

InputsForMLEdensity_BS(
  ModelType,
  Y_artificial,
  Z_artificial,
  FactorLabels,
  mat,
  Economies,
  DataFrequency,
  JLLinputs = NULL,
  GVARinputs = NULL,
  BRWinputs = NULL
)

Arguments

ModelType

string-vector containing the label of the model to be estimated

Y_artificial

time series of yields (CJ x T or JxT)

Z_artificial

time series of the risk factors (F x T)

FactorLabels

string-list based which contains the labels of all the variables present in the model

mat

vector of maturities (in years) used in the estimation

Economies

string-vector containing the names of the economies of the system.
If the ModelType selected is "JPS", "JPS jointP", "GVAR sepQ", then only one economy can be selected.
For the other models, more than one economy must be selected.

DataFrequency

character-based-vector. Avaialable options are: "Daily All Days", "Daily Business Days", "Weekly", "Monthly", "Quarterly", "Annually"

JLLinputs

list of necessary inputs for the estimation of JLL-based models (see "JLL" function)

GVARinputs

list of necessary inputs for the estimation of GVAR-based models (see "GVAR" function)

BRWinputs

list of necessary inputs for performing the bias-corrected estimation (see "Bias_Correc_VAR" function)