Description Usage Arguments References See Also Examples
A nonparametric test for comparing AUC of two or more correlated ROC curves.
1 | deLong.test(x, labels, labpos, ref=NULL, conf.level=0.95)
|
x |
at least 2 dimensional matrix containing the observations of numeric predictors. |
labels |
a vector containing the true class labels. It can be a factor or character vector. |
labpos |
a character string of the variable |
ref |
an index of reference predictors. Relevant only by pairwise comparisons. |
conf.level |
confidence level of the interval. |
DeLong, E.R., DeLong, D.M., and Clarke-Pearson, D.L. (1988).
Comparing the Areas Under Two or More Correlated Receiver Operating Characteristics Curves: A Nonparametric Approach.
Biometrics, 44, 837–845.
roc
, Daim
, plot.Daim
, performDaim
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | y <- rbinom(100, 1, .5)
x1 <- rnorm(100) + 1.5 * y
x2 <- rnorm(100) + .5 * y
x3 <- rnorm(100) + 2.5 * y
x <- data.frame(x1,x2,x3)
y <- as.factor(y)
(M1 <- deLong.test(x, labels=y, labpos="1"))
## Not run:
## just because of checking time on CRAN
data(iris)
(M2 <- deLong.test(iris[,1:4], labels=iris[,5], labpos="versicolor"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.