Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Generate risk contributions for each counterparty in portfolio

`Contributions = riskContribution(cdc)`

`Contributions = riskContribution(cdc,Name,Value)`

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`

.

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`

.

[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.

`confidenceBands`

| `creditDefaultCopula`

| `getScenarios`

| `portfolioRisk`

| `simulate`

| `table`