Description Usage Arguments Details Value Author(s)
Compare operating characteristics for a number of one-sample tests
1 | compare_tests_onesample(B, test_funs, n1, n, rule, rdist, ...)
|
test_funs |
list of test functions (see Details) |
n1 |
first stage sample size |
n |
pre-planned total sample size |
rule |
sample size reassessment rule (see Details) |
rdist |
distribution from which to draw observations |
... |
additional arguments to rdist |
test_funs
needs to be a list of functions that take arguments x,n1,n,ne,permutations
and return TRUE
of FALSE
depending on whether the corresponding decision rule rejects the null hypothesis or not.
rule
needs to be a function that takes as argument the vector of first stage observations and return an interger number, which (if larger than n
) will be used as the new total sample size.
let's see
Florian Klinglmueller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.