Package: atRisk 0.1.0

Quentin Lajaunie

atRisk: At-Risk

The at-Risk (aR) approach is based on a two-step parametric estimation procedure that allows to forecast the full conditional distribution of an economic variable at a given horizon, as a function of a set of factors. These density forecasts are then be used to produce coherent forecasts for any downside risk measure, e.g., value-at-risk, expected shortfall, downside entropy. Initially introduced by Adrian et al. (2019) <doi:10.1257/aer.20161923> to reveal the vulnerability of economic growth to financial conditions, the aR approach is currently extensively used by international financial institutions to provide Value-at-Risk (VaR) type forecasts for GDP growth (Growth-at-Risk) or inflation (Inflation-at-Risk). This package provides methods for estimating these models. Datasets for the US and the Eurozone are available to allow testing of the Adrian et al. (2019) model. This package constitutes a useful toolbox (data and functions) for private practitioners, scholars as well as policymakers.

Authors:Quentin Lajaunie [aut, cre], Guillaume Flament [aut, ctb], Christophe Hurlin [aut], Souzan Kazemi [rev]

atRisk_0.1.0.tar.gz
atRisk_0.1.0.tar.gz(r-4.5-noble)atRisk_0.1.0.tar.gz(r-4.4-noble)
atRisk_0.1.0.tgz(r-4.4-emscripten)atRisk_0.1.0.tgz(r-4.3-emscripten)
atRisk.pdf |atRisk.html
atRisk/json (API)

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

Peer review:

Datasets:
  • data_US - Historical data for the US (GDP and Financial Conditions) from 1973:Q1 to 2022:Q3
  • data_euro - Historical data for the eurozone (GDP and Financial Conditions) from 2008:Q4 to 2022:Q3
  • data_param_histo - Historical parameters (skew-t) for the US from 1973:Q1 to 2022:Q3

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 197 downloads 8 exports 37 dependencies

Last updated 1 years agofrom:46dd465d6b. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-linuxOKOct 25 2024

Exports:f_compile_quantilef_distribf_ESf_histo_RMf_param_histof_plot_distrib_2Df_plot_distrib_3Df_VaR

Dependencies:clicolorspacedfoptimfansifarverggplot2ggridgesgluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmgcvmnormtmunsellnlmenumDerivpillarpkgconfigquantregR6RColorBrewerrlangscalessnSparseMsurvivaltibbleutf8vctrsviridisLitewithr