pvaltprc: p-value for the Test for a Proper ROC Curve

Description Usage Arguments Value Examples

View source: R/ROCProper.R

Description

Calculate the p-value for the TPRC test statistic. Test the departure from a proper ROC model using a Monte Carlo simulation. The test might take some minutes to be completed

Usage

1
pvaltprc(roctab, numiter = 200L)

Arguments

roctab

A ROC Table (S3 object derived from a S3 matrix)

numiter

The number of Monte Carlo simulations

Value

pval, the p-value for the Test for a Proper ROC Curve (TPRC)

Examples

1
2
3
4
ROCGene1 <- roctable(OvarianData$Gene1, OvarianData$Status)
pvalROCGene1 <- pvaltprc(ROCGene1)
print(paste("Test for a Proper ROC curve for Gene1: p = ",
      round(pvalROCGene1,4)))

parodistefano/properROC documentation built on May 24, 2019, 6:16 p.m.