SsPowerTable | R Documentation |
Generate combinations of numbers of readers J and numbers of cases K for desired power and specified random factor(s)
SsPowerTable(
dataset,
FOM,
effectSize = NULL,
alpha = 0.05,
desiredPower = 0.8,
analysisOption = "RRRC"
)
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 |
Specification of random factor(s): "RRRC" (the default), "FRRC", or "RRFC". |
The default effectSize
uses the observed effect size in the
pilot study. A supplied numeric value over-rides the default value.
A list containing up to 3 (depending on analysisOption
)
data frames.
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. |
The procedure is valid for ROC studies only; for FROC studies see online books.
## 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.