Calculates for a vector of realized categories y and a vector of predicted categories hx the cumulative LGD accuarcy ratio (CLAR) according to Ozdemir and Miu 2009.
Usage
clar(y, hx)
Arguments
y
a vector of realized values.
hx
a vector of predicted values.
Value
The function returns the CLAR for a vector of realized categories y and a vector of predicted categories hx.
References
Ozdemir, B., Miu, P., 2009. Basel II Implementation. A Guide to Developing and Validating a Compliant Internal Risk Rating System. McGraw-Hill, USA.