`SsFrocSampleSize.Rd`

RSM fitted model for FROC sample size

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

- 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.

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.

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

```
# \donttest{
## 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))
# }
```