riskContribution
Generate risk contributions for each counterparty in portfolio
Description
returns a table of risk contributions for each counterparty in the portfolio.
The risk Contributions
= riskContribution(cdc
)Contributions
table allocates the full portfolio
risk measures to each counterparty, such that the counterparty risk
contributions sum to the portfolio risks reported by portfolioRisk
.
Note
When creating a creditDefaultCopula
object,
you can set the 'UseParallel'
property if you have
Parallel Computing Toolbox™. Once the 'UseParallel'
property is
set, parallel processing is used to compute
riskContribution
.
The simulate
function must be run
before riskContribution
is used. For more information on
using a creditDefaultCopula
object, see creditDefaultCopula
.
adds an optional name-value pair argument for Contributions
= riskContribution(cdc
,Name,Value
)VaRWindow
.
Examples
Input Arguments
Output Arguments
More About
References
[1] Glasserman, P. “Measuring Marginal Risk Contributions in Credit Portfolios.” Journal of Computational Finance. Vol. 9, No. 2, Winter 2005/2006.
[2] Gupton, G., Finger, C., and Bhatia, M. “CreditMetrics – Technical Document.” J. P. Morgan, New York, 1997.
Version History
Introduced in R2017a