run.benchmark: Establish the Positive Rate

Description Usage Arguments Value

View source: R/9-run.R

Description

Establish the Positive Rate

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
run.benchmark(
  scheduler,
  simulator,
  N.trials = 10,
  N.allocate = scheduler@N.burn.in,
  alpha = 0.05,
  repititions = 1000,
  fast = FALSE,
  how.stats = "stats.empiric",
  ...
)

Arguments

scheduler

A scheduler object.

simulator

A simulator object.

N.trials

An integer. The total number of times to allocate patients.

N.allocate

An integer. The total number of patients to allocate next. By default, N.allocate is set equal to N.burn.in.

alpha

The Type I error to control.

repititions

An integer. The number of times to repeat the trial.

fast

If TRUE, measure p-value at final time step only.

how.stats

A string. The statistical method used to compute a p-value.

...

Named arguments passed to how.stats method.

Value

A data.frame of false positive rates.


tpq/rarsim documentation built on April 4, 2020, 3:49 a.m.