Learn R Programming

OCA (version 0.5)

cap: Covariance Allocation Principle

Description

This function implements the covariance allocation principle for optimal capital allocation.

Usage

cap(Loss, Capital)

Value

A vector containing each asset and the corresponding capital allocation. If Capital=1, then the returned value will be the proportions of capital required by each loss to be faced.

Arguments

Loss

A matrix containing the individual losses in each column

Capital

A scalar representing the capital to be allocated to each loss.

Author

Jilber Urbina

Details

The Covariance Allocation Principle correspond to the following expression:

K_i = KVar[S] Cov(X_i, S), i=1, ..., n,K_i = KVar[S] Cov(X_i, S), i=1, ..., n,

where K_iK_iK_i is the capital to be allocated to the ith loss, KK is the total capital to be allocated, X_iX_i is the individual unit loss and S is the total (aggretate) loss, this comes from _iX_i_iX_i. Cov(X_i, S)Cov(X_i, S) is the covariance between the individual loss X_iX_i and the aggregate loss S; and Var(S)Var(S) is the variance of the aggregate loss.

References

Dhaene J., Tsanakas A., Valdez E. and Vanduffel S. (2011). Optimal Capital Allocation Principles. The Journal of Risk and Insurance. Vol. 00, No. 0, 1-28.

Urbina, J. (2013) Quantifying Optimal Capital Allocation Principles based on Risk Measures. Master Thesis, Universitat Politècnica de Catalunya.

Urbina, J. and Guillén, M. (2014). An application of capital allocation principles to operational risk and the cost of fraud. Expert Systems with Applications. 41(16):7023-7031.

Examples

Run this code
data(dat1, dat2)
Loss <- cbind(Loss1=dat1[1:400, ], Loss2=unname(dat2))
# Proportions of capital to be allocated to each bussines unit
cap(Loss, Capital=1)

# Capital allocation,
# capital is determined as the empirical VaR of the losses at 99\%
K <- quantile(rowSums(Loss),  probs = 0.99)
cap(Loss, Capital=K)

Run the code above in your browser using DataLab