| styles_exit_sensitivity | R Documentation |
For each style, this helper:
loads the corresponding YAML preset,
perturbs the exit_yield_spread_bps parameter by a grid of deltas,
reruns run_case() for each perturbation,
collects the leveraged equity IRR.
styles_exit_sensitivity(
styles,
delta_bps = c(-50, 0, 50),
config_dir = system.file("extdata", package = "cre.dcf")
)
styles |
Character vector of style identifiers
(e.g. |
delta_bps |
Numeric vector of exit-yield spread shocks in basis points,
applied additively to the |
config_dir |
Directory where preset YAML files are stored.
Defaults to the package's |
Economically, this approximates how sensitive each style's equity IRR is to small shifts in the exit_yield, and therefore to terminal_value risk. Strategies that concentrate value creation at exit (e.g. value_added, opportunistic) should display stronger IRR reactions to a given shock.
A tibble with columns:
style (character),
shock_bps (numeric, the applied spread shock),
irr_equity (numeric, leveraged equity IRR under the shock).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.