VUROCS-package: Volume under the ROC Surface for Multi-Class ROC Analysis

Description Details Author(s) References Examples

Description

Calculates the volume under the ROC surface and its (co)variance for ordered multi-class ROC analysis as well as certain bivariate ordinal measures of association.

Details

The package VUROCS provides three core functions to determine the volume under the ROC surface (VUS) as well as the variance and covariance of the VUS. The implementation is generally based on the algorithms presented in Waegeman, De Baets and Boullart (2008).

In addition to these three core functions, the package also provides an implementation of the cumulative LGD accuracy ratio (CLAR) suggested by Ozdemir and Miu (2009) specially for the purpose of assessing the discriminatory power of Loss Given Default (LGD) credit risk models. The CLAR as well as an adjusted version are computed by the functions clar and clarAdj. Moreover, the package provides time-efficient implementations of Somers' D , Kruskall's Gamma, Kendall's Tau_b and Kendall's Tau_c in the functions SomersD, Kruskal_Gamma, Kendall_taub and Kendall_tauc. These functions also compute asymptotic standard errors defined by Brown and Benedetti (1977) and Goktas and Oznur (2011).

Author(s)

Kazianka Hannes, Morgenbesser Anna, Nowak Thomas

References

Brown, M.B., Benedetti, J.K., 1977. Sampling Behavior of Tests for Correlation in Two-Way Contingency Tables. Journal of the American Statistical Association 72(358), 309-315

Goktas, A., Oznur, I., 2011. A Comparison of the Most Commonly Used Measures of Association for Doubly Ordered Square Contingency Tables via Simulation. Metodoloski zvezki 8 (1), 17-37

Ozdemir, B., Miu, P., 2009. Basel II Implementation: A Guide to Developing and Validating a Compliant, Internal Risk Rating System. McGraw-Hill, USA.

Waegeman W., De Baets B., Boullart L., 2008. On the scalability of ordered multi-class ROC analysis. Computational Statistics & Data Analysis 52, 3371-3388.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
y  <- rep(1:5,each=3)
fx <- c(3,3,3,rep(2:5,each=3))

VUS(y,fx)
clar(y,fx)
clarAdj(y,fx)
SomersD(y,fx)
Kruskal_Gamma(y,fx)
Kendall_taub(y,fx)
Kendall_tauc(y,fx)

VUSvar(rep(1:5,each=3),c(1,2,3,rep(2:5,each=3)))
VUScov(c(1,2,1,3,2,3),c(1,2,3,4,5,6),c(1,3,2,4,6,5))

Example output

$val
[1] 0

$count
[1] 3 3 3 3 3

[1] 0.84
[1] 0.7333333
$val
[1] 0.7

$ASE0
[1] 0.1505545

$ASE
[1] 0.3146721

$val
[1] 0.7777778

$ASE0
[1] 0.1672828

$ASE
[1] 0.1439741

$val
[1] 0.7378648

$ASE0
[1] 0.1586984

$ASE
[1] 0.1457679

$val
[1] 0.7466667

$ASE
[1] 0.1605915

$ASE0
[1] 0.1605915

$var
[1] 0.07407407

$val
[1] 0.3333333

$cov
[1] 0

$val_f1
[1] 0.5

$val_f2
[1] 0.5

VUROCS documentation built on April 14, 2020, 6:47 p.m.