generate_instance_lfc {cases}R Documentation

Generate data sets under least favorable parameter configurations

Description

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.

Usage

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
)

Arguments

nrep

integer, number of instances

n

integer, total sample size

prev

numeric, disease prevalence

random

logical, fixed prevalence (FALSE) or simple random sampling (TRUE)

m

integer, number of candidates

se

numeric

sp

numeric

L

numeric

rhose

numeric

rhosp

numeric

cortype

character, "equi" or "ak1"

...

further arguments

data

ignored (for batchtools compatibility)

job

ignored (for batchtools compatibility)

Details

Utilizes same arguments as draw_data_lfc unless mentioned above.

Value

a list, a single (LFC) simulation instance


[Package cases version 0.1.1 Index]