SsPowerTable {RJafroc} | R Documentation |
Generate a power table using the OR method
Description
Generate combinations of numbers of readers J and numbers of cases K for desired power and specified generalization(s)
Usage
SsPowerTable(
dataset,
FOM,
effectSize = NULL,
alpha = 0.05,
desiredPower = 0.8,
analysisOption = "RRRC"
)
Arguments
dataset |
The pilot ROC dataset to be used to extrapolate to the pivotal study. |
FOM |
The figure of merit. |
effectSize |
The effect size to be used in the pivotal study,
default value is |
alpha |
The The size of the test, default is 0.05. |
desiredPower |
The desired statistical power, default is 0.8. |
analysisOption |
Desired generalization, "RRRC" (the default), "FRRC", "RRFC" or "ALL". |
Details
The default effectSize
uses the observed effect size in the
pilot study. A supplied numeric value over-rides the default value.
Value
A list containing up to 3 (depending on analysisOption
) dataframes.
Each dataframe contains 3 arrays:
numReaders |
The numbers of readers in the pivotal study. |
numCases |
The numbers of cases in the pivotal study. |
power |
The estimated statistical powers. |
Note
The procedure is valid for ROC studies only; for FROC studies see Vignettes 19.
Examples
## Examples with CPU or elapsed time > 5s
## user system elapsed
## SsPowerTable 20.033 0.037 20.077
## Example of sample size calculation with OR method
## SsPowerTable(dataset02, FOM = "Wilcoxon", method = "OR")