knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Reading and understanding the output files

This vignette gives a brief overview of the files that are generated by the climate transition risk stress test provided in r2dii.climate.stress.test and proceeds to explain in depth how to read the data in each of the files.

Overview of output files

The source code generates three result (output) files after completing the transition or litigation risk stress test for a given set of parameters. They principally contain estimates of the market risk of companies in the portfolio and of the credit risk of said companies in a corporate loan book. The source code additionally outputs a log file which holds information on the settings of the current transition risk stress test run.

If the user follows the recommended data folder structure the output files will be found here:

The output files are:

Log file

Crispy output

Company trajectories

Content of output files

In this section, we look at each result file and what each of the variables they contain mean. The set of input parameters, common to all result files, is described at the end of the following list. Special attention at the end is also dedicated to the slight differences in the format of results created from a sensitivity analysis.

log_file_\<suffix>

This is a text file that contains information on the settings of the stress test run that created the results files. The user can check on the:

crispy_output_\<suffix>

This file contains

company_trajectories_\<suffix>

This result file contains

While there may be some redundancy to this information, it is there to ensure the results remain reproducible and straightforward for the user to understand given magnitudes in the model results. In the standard run of the stress test, with a single value specified for each input parameter, this implies that the argument columns just contain one value each (as opposed to sensitivity analysis where the user can set multiples values of input parameters).

Sensitivity Analyses

Running a sensitivity analysis produces as many sets of results as the number of input parameters selected for the variable of interest.To keep the ensuing analysis as simple as possible, the results files are named with a suffix indicating the parameter that was varied in the particular run and saved in a new output folder. Apart from the indicative naming suffix the sensitivity analysis results files produced have the same format as described above but contain the results of multiple runs in a single file.

The variation is observed in the argument column of the parameter that was iterated over. Instead of just one value, it will contain values for every iteration of the sensitivity analysis, be it two or more.



2DegreesInvesting/r2dii.climate.stress.test documentation built on June 6, 2024, 8:23 a.m.