Package: MultiATSM 1.2.0

MultiATSM: Multicountry Term Structure of Interest Rates Models

Estimation routines for several classes of affine term structure of interest rates models. All the models are based on the single-country unspanned macroeconomic risk framework from Joslin, Priebsch, and Singleton (2014, JF) <doi:10.1111/jofi.12131>. Multicountry extensions such as the ones of Jotikasthira, Le, and Lundblad (2015, JFE) <doi:10.1016/j.jfineco.2014.09.004>, Candelon and Moura (2023, EM) <doi:10.1016/j.econmod.2023.106453>, and Candelon and Moura (Forthcoming, JFEC) <doi:10.1093/jjfinec/nbae008> are also available.

Authors:Rubens Moura [aut, cre]

MultiATSM_1.2.0.tar.gz
MultiATSM_1.2.0.zip(r-4.5)MultiATSM_1.2.0.zip(r-4.4)MultiATSM_1.2.0.zip(r-4.3)
MultiATSM_1.2.0.tgz(r-4.5-any)MultiATSM_1.2.0.tgz(r-4.4-any)MultiATSM_1.2.0.tgz(r-4.3-any)
MultiATSM_1.2.0.tar.gz(r-4.5-noble)MultiATSM_1.2.0.tar.gz(r-4.4-noble)
MultiATSM_1.2.0.tgz(r-4.4-emscripten)MultiATSM_1.2.0.tgz(r-4.3-emscripten)
MultiATSM.pdf |MultiATSM.html
MultiATSM/json (API)

# Install 'MultiATSM' in R:
install.packages('MultiATSM', repos = c('https://rubensmoura87.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/rubensmoura87/multiatsm/issues

Datasets:
  • BR_jps_out - Replications of the JPS
  • DomMacro - Data: Risk Factors for the GVAR - Candelon and Moura
  • DomesticMacroVar - Data: Risk Factors - Candelon and Moura
  • FactorsGVAR - Data: Risk Factors for the GVAR - Candelon and Moura
  • GlobalMacro - Data: Risk Factors - Candelon and Moura
  • GlobalMacroVar - Data: Risk Factors - Candelon and Moura
  • ModelPara - Replications of the JPS (2014) outputs by the MultiATSM package
  • RiskFactors - Data: Risk Factors - Candelon and Moura
  • RiskFactors - Data: Risk Factors - Candelon and Moura
  • TradeFlows - Data: Trade Flows - Candelon and Moura
  • Trade_Flows - Data: Trade Flows - Candelon and Moura
  • Yields - Data: Yields - Candelon and Moura
  • Yields - Data: Yields - Candelon and Moura

On CRAN:

3.60 score 8 scripts 495 downloads 18 exports 29 dependencies

Last updated 8 days agofrom:f1d2547f6c. Checks:1 OK, 7 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 12 2025
R-4.5-winWARNINGFeb 12 2025
R-4.5-macWARNINGFeb 12 2025
R-4.5-linuxWARNINGFeb 12 2025
R-4.4-winWARNINGFeb 12 2025
R-4.4-macWARNINGFeb 12 2025
R-4.3-winWARNINGFeb 12 2025
R-4.3-macWARNINGFeb 12 2025

Exports:Bias_Correc_VARBootstrapDatabasePrepDataForEstimationForecastYieldsGVARInputsForOptInputsForOutputsJLLLabFacLoadDataNumOutputsOptimizationpca_weights_one_countrySpanned_FactorsStarFactorsTransition_MatrixVAR

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpracmaR6RColorBrewerrlangscalestibbleutf8vctrsviridisLitewithr

MultiATSM package - General Guidelines

Rendered fromGuidelines.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-01-29
Started: 2025-01-29

Paper Replications

Rendered fromPaper-Replications.Rmdusingknitr::rmarkdownon Feb 12 2025.

Last update: 2025-02-12
Started: 2025-01-29

Readme and manuals

Help Manual

Help pageTopics
Estimates an unbiased VAR(1) using stochastic approximation (Bauer, Rudebusch and Wu, 2012)Bias_Correc_VAR
Generates the bootstrap-related outputsBootstrap
Replications of the JPS (2014) outputs by Bauer and Rudebusch (2017)BR_jps_out
Gather data of several countries in a list. Particularly useful for GVAR-based setups (Compute "GVARFactors")DatabasePrep
Retrieves data from Excel and build the database used in the model estimationDataForEstimation
Data: Risk Factors - Candelon and Moura (2024, JFEC)DomesticMacroVar
Data: Risk Factors for the GVAR - Candelon and Moura (2023)DomMacro
Data: Risk Factors for the GVAR - Candelon and Moura (2024, JFEC)FactorsGVAR
Generates forecasts of bond yields for all model typesForecastYields
Data: Risk Factors - Candelon and Moura (2023)GlobalMacro
Data: Risk Factors - Candelon and Moura (2024, JFEC)GlobalMacroVar
Estimates a GVAR(1) and a VARX(1,1,1) modelsGVAR
Generates inputs necessary to build the likelihood function for the ATSM modelInputsForOpt
Collects the inputs that are used to construct the numerical and the graphical outputsInputsForOutputs
Estimates the P-dynamics from JLL-based modelsJLL
Generates the labels factorsLabFac
Loads data sets from several papersLoadData
Replications of the JPS (2014) outputs by the MultiATSM packageModelPara
ATSM PackageMultiATSM-package MultiATSM
Constructs the model numerical outputs (model fit, IRFs, GIRFs, FEVDs, GFEVDs, and risk premia decomposition)NumOutputs
Perform the optimization of the log-likelihood function of the chosen ATSMOptimization
Computes the PCA weights for a single countrypca_weights_one_country
Print method for ATSMModelInputs objectsprint.ATSMModelInputs
Data: Risk Factors - Candelon and Moura (2024, JFEC)RiskFactors
Computes the country-specific spanned factorsSpanned_Factors
Generates the star variables necessary for the GVAR estimationStarFactors
Summary method for ATSMModelInputs objectssummary.ATSMModelInputs
Data: Trade Flows - Candelon and Moura (2023)Trade_Flows
Data: Trade Flows - Candelon and Moura (2024, JFEC)TradeFlows
Computes the transition matrix required in the estimation of the GVAR modelTransition_Matrix
Estimates a standard VAR(1)VAR
Data: Yields - Candelon and Moura (2024, JFEC)Yields