| scr_el | R Documentation |
The primitive every other function of the module uses: pd * lgd * ead
for performing exposures and elbe * ead for defaulted ones, elbe
being the best estimate of expected loss. A defaulted exposure without
elbe uses lgd (PD equal to one). Arguments are recycled to a common
length.
scr_el(pd, lgd, ead, defaulted = NULL, elbe = NULL)
pd, lgd, ead |
Numeric vectors: probability of default, loss given default (decimals) and exposure at default (currency). |
defaulted |
Optional 0/1 or logical vector. |
elbe |
Optional vector with the best estimate of expected loss of
the defaulted rows (decimal of |
A numeric vector with the expected loss in currency.
Other irb-capital:
scr_capital(),
scr_ecl(),
scr_irb_rw(),
scr_pd_stress(),
scr_sa_rw()
scr_el(c(0.01, 0.02), 0.45, c(1000, 2000))
scr_el(0.02, 0.45, 1000, defaulted = TRUE, elbe = 0.6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.