SimulateRocDataset: Simulates a binormal model ROC dataset

View source: R/SimulateRocDataset.R

SimulateRocDatasetR Documentation

Simulates a binormal model ROC dataset

Description

Simulates an uncorrelated binormal model ROC factorial dataset

Usage

SimulateRocDataset(I = 1, J = 1, K1, K2, a, b, seed = NULL)

Arguments

I

The number of modalities, default is 1

J

The number of readers, default is 1

K1

The number of non-diseased cases

K2

The number of diseased cases

a

The a parameter of the binormal model

b

The b parameter of the binormal model

seed

The initial seed, default is NULL, which results in a random seed

Details

See book Chapter 6 for details

Value

An ROC dataset

References

Chakraborty DP (2017) Observer Performance Methods for Diagnostic Imaging - Foundations, Modeling, and Applications with R-Based Examples, CRC Press, Boca Raton, FL. https://www.routledge.com/Observer-Performance-Methods-for-Diagnostic-Imaging-Foundations-Modeling/Chakraborty/p/book/9781482214840

Examples

K1 <- 5;K2 <- 7;a <- 1.5;b <- 0.5
rocDataRaw <- SimulateRocDataset(K1 = K1, K2 = K2, a = a, b = b)
  

RJafroc documentation built on Nov. 10, 2022, 5:45 p.m.