comp.roc.delong {Comp2ROC} | R Documentation |
Calculate areas and stats
Description
This function allows to calculate the areas under the curve for each curve and some statistical measures.
Usage
comp.roc.delong(sim1.ind, sim1.sta, sim2.ind, sim2.sta, related = TRUE)
Arguments
sim1.ind |
Vector with the data for Curve 1 |
sim1.sta |
Vector with the status for Curve 1 |
sim2.ind |
Vector with the data for Curve 2 |
sim2.sta |
Vector with the status for Curve 2 |
related |
Boolean parameter that represents if the two modalities are related or not |
Details
This function calculates the Wilcoxon Mann Whitney matrix for each modality, areas, standard deviations, variances and global correlations.
Value
This function returns a list with:
Z |
Hanley Z calculation |
pvalue |
p-value for this Z |
AUC |
Area under curve for each modality |
SE |
Standard error |
S |
Variance for each modality |
R |
Correlation Coeficient |
Examples
data(zhang)
modality1DataColumn = "modality1"
modality2DataColumn = "modality2"
data = read.manually.introduced(zhang, modality1DataColumn, TRUE,
modality2DataColumn, TRUE, "status", TRUE)
sim1.ind = unlist(data[1])
sim2.ind = unlist(data[2])
sim1.sta = unlist(data[3])
sim2.sta = unlist(data[4])
comp.roc.delong(sim1.ind, sim1.sta, sim2.ind, sim2.sta)
[Package Comp2ROC version 1.1.4 Index]