SsFrocSampleSize: RSM fitted model for FROC sample size

SsFrocSampleSizeR Documentation

RSM fitted model for FROC sample size

Description

RSM fitted model for FROC sample size

Usage

SsFrocSampleSize(dataset, effectSizeROC, JPivot, KPivot, lesDistr)

Arguments

dataset

The pilot dataset.

effectSizeROC

The effect size in ROC-AUC units

JPivot

The number of readers in the pivotal study

KPivot

The number of cases in the pivotal study

lesDistr

A 1D array containing the probability mass function of number of lesions per diseased case in the pivotal FROC study.

Details

See https://dpc10ster.github.io/RJafrocQuickStart/froc-sample-size.html for explanation of the FROC sample size estimation procedure.

Value

A list containing:

  • effectSizeROC, the specified ROC effect size.

  • scaleFactor, the factor by which the ROC effect size must by multiplied to get the wAFROC effect size.

  • powerRoc, the ROC power.

  • powerFroc, the wAFROC power.

Examples



## Examples with CPU or elapsed time > 5s
## user system elapsed
## SsFrocSampleSize 8.102  0.023   8.135

## SsFrocSampleSize(DfExtractDataset(dataset04, trts = c(1,2)), 
## effectSizeROC = 0.03, JPivot = 5, KPivot = 100, lesDistr = c(0.69, 0.2, 0.11))



dpc10ster/rjafroc documentation built on Jan. 18, 2024, 4:37 a.m.