Generate combinations of numbers of readers J and numbers of cases K for desired power and specified generalization(s)
SsPowerTable(
dataset,
FOM,
effectSize = NULL,
alpha = 0.05,
desiredPower = 0.8,
method = "DBMH",
option = "ALL"
)
The pilot ROC dataset to be used to extrapolate to the pivotal study.
The figure of merit.
The effect size to be used in the pivotal study,
default value is NULL
. See Details.
The The size of the test, default is 0.05.
The desired statistical power, default is 0.8.
Analysis method, "DBMH" or "ORH", the default is "DBMH".
Desired generalization, "RRRC", "FRRC", "RRFC" or "ALL" (the default).
A list containing up to 3 (depending on options
) dataframes.
Each dataframe contains 3 arrays:
The numbers of readers in the pivotal study.
The numbers of cases in the pivotal study.
The estimated statistical powers.
The default effectSize
uses the observed effect size in the
pilot study. A numeric value over-rides the default value.
# NOT RUN {
## Examples with CPU or elapsed time > 5s
## user system elapsed
## SsPowerTable 20.033 0.037 20.077
## Example of sample size calculation with DBM method
SsPowerTable(dataset02, FOM = "Wilcoxon", method = "DBMH")
## Example of sample size calculation with OR method
SsPowerTable(dataset02, FOM = "Wilcoxon", method = "ORH")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab