Generates a (simulation) instance, a list of multiple datasets to be processed (analyzed) with process_instance. Ground truth parameters (Sensitvity & Specificity) are least-favorable in the sense that the type-I error rate of the subsequently applied multiple test procedures is maximized.
This function is only needed for simulation via batchtools, not relevant in interactive use!
generate_instance_lfc(
nrep = 10,
n = 100,
prev = 0.5,
random = FALSE,
m = 10,
se = 0.8,
sp = 0.8,
L = 1,
rhose = 0,
rhosp = 0,
cortype = "equi",
...,
data = NULL,
job = NULL
)
(list)
a single (LFC) simulation instance of length nrep
(numeric)
integer, number of instances
(numeric)
integer, total sample size
(numeric)
disease prevalence
(logical)
fixed prevalence (FALSE) or simple random sampling (TRUE)
(numeric)
integer, number of candidates
(numeric)
sensitivity
(numeric)
specificity
(numeric)
worst alternative is computed under side condition Acc <= L
(numeric)
correlation parameter for sensitivity
(numeric)
correlation parameter for specificity
(character)
correlation type ("equi" or "ak1")
(any)
further (named) arguments
(NULL)
ignored (for batchtools compatibility)
(NULL)
ignored (for batchtools compatibility)
Utilizes same arguments as draw_data_lfc unless mentioned otherwise above.