Simulates a binormal model ROC dataset for a single treatment and reader
SimulateRocDataset(K1, K2, a, b, seed = NULL)
The number of non-diseased cases
The number of diseased cases
The
The
The initial seed, default is NULL
An ROC dataset
See book Chapter 6 for details
Chakraborty DP (2017) Observer Performance Methods for Diagnostic Imaging - Foundations, Modeling, and Applications with R-Based Examples, CRC Press, Boca Raton, FL. https://www.crcpress.com/Observer-Performance-Methods-for-Diagnostic-Imaging-Foundations-Modeling/Chakraborty/p/book/9781482214840
# NOT RUN {
K1 <- 5;K2 <- 7;
a <- 1.5;b <- 0.5
rocDataRaw <- SimulateRocDataset(K1 = K1, K2 = K2,
a = a, b = b)
## plot the data
ret <- PlotEmpiricalOperatingCharacteristics(rocDataRaw, trts= 1, rdrs = 1, opChType = "ROC")
print(ret$Plot)
# }
Run the code above in your browser using DataLab